diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-09-21 10:39:18 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-09-21 10:39:18 +0000 |
commit | 55a18aeebfda6fc44d4f6122ee97d872b7541c98 (patch) | |
tree | 3b9e30eb97296dc2c602244ae352ca41241e3466 /usr.sbin/bgpd/rtr_proto.c | |
parent | 60ec8fdddca6d2d1ad909e4860ed8d6ec38131da (diff) |
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@
Diffstat (limited to 'usr.sbin/bgpd/rtr_proto.c')
0 files changed, 0 insertions, 0 deletions