]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_evpn_mh.h
zebra: allocate one nexthop id per-VTEP instead of one per-ES-VTEP
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Wed, 27 May 2020 01:42:00 +0000 (18:42 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Tue, 1 Dec 2020 17:46:28 +0000 (09:46 -0800)
commit5de10c37052a32bb20a077194a7544f4153c7734
treef33cd8812d4e9025e071db3008a29cd5825d3074
parent15400f95b77f95012e7676f14105ab9280e52c3d
zebra: allocate one nexthop id per-VTEP instead of one per-ES-VTEP

This is an optimization to reduce the number of L2 nexthops. A
l2 or fdb nexthop simply provides the dataplane with a nexthop ip-
torm-12:mgmt:~# ip nexthop
id 268435461 via 27.0.0.20 scope link fdb
id 268435463 via 27.0.0.20 scope link fdb
id 268435465 via 27.0.0.20 scope link fdb

So there is no need to allocate a nexthop per-ES/per-VTEP. There
can be 100+ ESs per-VTEP so this change cuts the scale down by a
factor of 100.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
zebra/zebra_evpn_mh.c
zebra/zebra_evpn_mh.h
zebra/zebra_vty.c