CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2023/03/10 00:57:16

Modified files:
        usr.sbin/bgpd  : bgpd.h rde.c rde.h rde_filter.c rde_peer.c 
                         rde_update.c 

Log message:
Compile the output filter rules into per peer filter rules.

especially on route-servers the output filters are in the hot path so
reducing the number of rules to check has a big impact. I have seen a
25% to 30% speedup in my big IXP testbench.
The output ruleset is applied and copied for each peer during config reload
and when a peer is initially added.
OK tb@

Reply via email to