]> git.puffer.fish Git - mirror/frr.git/commit
zebra: change the L2 NHG id format to co-exist with the L3NHG ids
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Fri, 15 May 2020 00:00:10 +0000 (17:00 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Tue, 1 Dec 2020 17:46:28 +0000 (09:46 -0800)
commit4f9bb78eca97fdb86e80b11f9234ac9b9786e235
tree34f86861ba8775e8bfff496d794719999fa583a3
parent5de10c37052a32bb20a077194a7544f4153c7734
zebra: change the L2 NHG id format to co-exist with the L3NHG ids

It is now 4bits of type and 28bits of value -
1. type=0 is for L3 NHG
2. type=1 is for L2 NH
3. type=2 is for L2 NHG

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