diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-17 21:13:09 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-17 21:13:09 -0400 |
| commit | da11e32521af32b4db39eeb48f2725e9f3db824d (patch) | |
| tree | ba4ef32067ef07174f15ff4f0883b4a93b4a84a3 /pimd/pim_zebra.h | |
| parent | 78c16071f99bf3a5df1800a26656c3362eb0ba48 (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/pim_zebra.h')
| -rw-r--r-- | pimd/pim_zebra.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_zebra.h b/pimd/pim_zebra.h index d9b17cb82d..dd8aed0d20 100644 --- a/pimd/pim_zebra.h +++ b/pimd/pim_zebra.h @@ -44,6 +44,6 @@ void igmp_source_forward_reevaluate_all(void); void pim_forward_start(struct pim_ifchannel *ch); void pim_forward_stop(struct pim_ifchannel *ch, bool install_it); -void sched_rpf_cache_refresh(void); +void sched_rpf_cache_refresh(struct pim_instance *pim); struct zclient *pim_zebra_zclient_get(void); #endif /* PIM_ZEBRA_H */ |
