sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
175 stars 525 forks source link

[swss]: BFD hardware offload for BGP sessions #3267

Open baorliu opened 2 months ago

baorliu commented 2 months ago

What I did using hardware offloaded BFD to replace frr/bfdd for BGP neighbor reachability detection.

Why I did it Hardware offloaded BFD usually provide more bfd sessions support, and has shorter detection time comparing to software bfd. and also lower CPU load because that BFD sessions are offloaded to hardware/ASIC.

How I verified it The design was built into a sonic image, and verified in a hardware testbed.

Details if related This program is built under sonic-swss, but running in bgp container.

HLD in PR review: https://github.com/sonic-net/SONiC/pull/1599

siqbal1986 commented 1 month ago

can you please make sure that the build is passing. Also can you add soem swss tests to verify functionality

baorliu commented 13 hours ago

convert it to draft due to some planned update