From b589493e70323b050c566f465ea3076d5a52b943 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 26 Feb 2019 08:43:49 -0500 Subject: [PATCH] zebra: Add beginnings of nexthop group work queue Add the basic infrastructure for a nexthop group work queue. This queue will be used to validate and then install the new nexthop group. The result from the kernel when a new nexthop group is installed will cause the route entries that depend on it to be installed. Signed-off-by: Donald Sharp --- zebra/zebra_router.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h index cdf8fbe9e8..29f2efce7c 100644 --- a/zebra/zebra_router.h +++ b/zebra/zebra_router.h @@ -106,6 +106,11 @@ struct zebra_router { #define ZEBRA_RIB_PROCESS_RETRY_TIME 1 struct work_queue *ribq; + /* The nexthop group work queue */ +#define ZEBRA_NHG_PROCESS_HOLD_TIME 1 +#define ZEBRA_NHG_PROCESS_RETRY_TIME 10 + struct work_queue *nhgq; + /* Meta Queue Information */ struct meta_queue *mq; -- 2.39.5