CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/09/21 04:39:18
Modified files:
usr.sbin/bgpd : rde.c rde.h rde_peer.c
Log message:
Adjust pathid_assign() to be much faster in the common case.
Use a per peer path_id_tx to assign to paths received from none add-path
enabled peers. This skips two extra walks of the RIB prefix list and is
a big speed-up when there are many regular sessions. If the session uses
add-path recv then the old way of assigning random path_ids needs to be
used.
With input and OK tb@