summaryrefslogtreecommitdiff
path: root/pimd/pimd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-03-17 21:13:09 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-03-17 21:13:09 -0400
commitda11e32521af32b4db39eeb48f2725e9f3db824d (patch)
treeba4ef32067ef07174f15ff4f0883b4a93b4a84a3 /pimd/pimd.c
parent78c16071f99bf3a5df1800a26656c3362eb0ba48 (diff)
pimd: Make the rpf scan per vrf.
We know the vrf that we are in when we need to initiate a rescan of the rpf cache. So pass it in and use that information. This should help the rescan at scale with several vrf's cutting out a lot of unnecessary work. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r--pimd/pimd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index 52e0920f1f..0532ce873a 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -52,7 +52,6 @@ int qpim_t_periodic =
PIM_DEFAULT_T_PERIODIC; /* Period between Join/Prune Messages */
struct pim_assert_metric qpim_infinite_assert_metric;
long qpim_rpf_cache_refresh_delay_msec = 50;
-struct thread *qpim_rpf_cache_refresher = NULL;
int64_t qpim_rpf_cache_refresh_requests = 0;
int64_t qpim_rpf_cache_refresh_events = 0;
int64_t qpim_rpf_cache_refresh_last = 0;