diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-05 20:53:01 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-18 09:10:35 -0400 |
| commit | 78869ebff4f6bff7bd07e45435f2996f64ddc7d5 (patch) | |
| tree | 223af0fdad210d92427a73630326f400664c04f2 /lib/lib_errors.h | |
| parent | cd4ee3395cc0877539e0f0ce4c98125bc4761d4c (diff) | |
bgpd: Mac rescan on interface up/down efficency improvements
On interface up/down, bgp stores the mac address of the interface
in a bgp_mac_hash table entry and then initiates a rescan
of the evpn l2vpn table. The problem with this scan is that
it is looking at every item in the table when only 1 mac
has changed. So every up/down event causes some major trauma
in the bgp_update processing.
Modify the mac scanning such that we know the mac that is changed
and as such we should reprocess those entries only.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions
