diff options
author | Mark Stapp <mjs@cisco.com> | 2024-11-21 21:16:16 +0100 |
---|---|---|
committer | Mark Stapp <mjs@cisco.com> | 2024-12-05 15:23:53 +0100 |
commit | d06975f44f71e64f73b77c635348a17e56b40fe1 (patch) | |
tree | fa07b3894841eaab9d9580ee56fb2e142cbbe4ab | |
parent | zebra: refactor netlink route message parsing (diff) | |
download | frr-d06975f44f71e64f73b77c635348a17e56b40fe1.tar.xz frr-d06975f44f71e64f73b77c635348a17e56b40fe1.zip |
zebra: remove unused dplane route api
Remove a route api that's no longer used after refactoring the
netlink and FPM code.
Signed-off-by: Mark Stapp <mjs@cisco.com>
-rw-r--r-- | zebra/zebra_dplane.c | 14 | ||||
-rw-r--r-- | zebra/zebra_dplane.h | 10 |
2 files changed, 0 insertions, 24 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 3cf1701b8..b57c93015 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -6998,20 +6998,6 @@ kernel_dplane_process_ipset_entry(struct zebra_dplane_provider *prov, dplane_provider_enqueue_out_ctx(prov, ctx); } -void dplane_rib_add_multipath(afi_t afi, safi_t safi, struct prefix *p, - struct prefix_ipv6 *src_p, struct route_entry *re, - struct nexthop_group *ng, int startup, - struct zebra_dplane_ctx *ctx) -{ - if (!ctx) - rib_add_multipath(afi, safi, p, src_p, re, ng, startup); - else { - dplane_ctx_route_init_basic(ctx, dplane_ctx_get_op(ctx), re, p, - src_p, afi, safi); - dplane_provider_enqueue_to_zebra(ctx); - } -} - /* * Kernel provider callback */ diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h index ebb589e3b..cabc70c23 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -1272,16 +1272,6 @@ void zebra_dplane_shutdown(void); void zebra_dplane_startup_stage(struct zebra_ns *zns, enum zebra_dplane_startup_notifications spot); -/* - * decision point for sending a routing update through the old - * straight to zebra master pthread or through the dplane to - * the master pthread for handling - */ -void dplane_rib_add_multipath(afi_t afi, safi_t safi, struct prefix *p, - struct prefix_ipv6 *src_p, struct route_entry *re, - struct nexthop_group *ng, int startup, - struct zebra_dplane_ctx *ctx); - enum zebra_dplane_startup_notifications dplane_ctx_get_startup_spot(struct zebra_dplane_ctx *ctx); |