]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Make the process_queue per bgp process
authorDonald Sharp <sharpd@nvidia.com>
Sat, 17 Oct 2020 13:43:14 +0000 (09:43 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 21 Oct 2020 19:34:47 +0000 (15:34 -0400)
commitb6c386bbbdb44a5e5ad605946c7bcfaeb2fa0503
treed629411f966098cd3d9dceba7d7cac786e4d75a4
parent719e0a6a6c4af04d1e9f4ef4bcc1855fc35fda6c
bgpd: Make the process_queue per bgp process

We currently have a global process queue for handling route
updates in bgp.  This is fine, in general, except there are
places and times where we plug the queue for no new work
during certain peer states of bgp update delay.  If we
happen to be processing multiple bgp instances on startup
why do we want to stop processing in vrf A when vrf B
is in a bit of a pickle?

Also this separation will allow us to start forward thinking
about how to fully integrate pthreads into route processing
in bgp.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_fsm.c
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgpd.c
bgpd/bgpd.h