frr
frr copied to clipboard
bfdd: disable echo socket when not using it
Fixes #16594.
Lets avoid a performance penalty in forwarding when not using the BFD echo feature. The echo socket uses raw packet capturing along with a BPF filter which causes performance issues.
once ci finishes I'll get this in.
looks like closing this socket is causing bfdd not to be able to "find itself" ... the test probably needs to be changed (?)
ci:rerun
I can confirm that the change helps. I backported the commit to 10.1.1. With running bfdd, creating 250 VRFs does not produce noticeable impact on the network throughput.
Thanks @rzalamena !
It's odd it's only failing on docker ... let's try again
ci:rerun
I think the CI test needs to be looked at ... probably not going to pass ...