summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-11 21:35:45 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-31 15:20:46 +0100
commit5ec5a7160a9e61ce6e84a65648c345cb10b160c4 (patch)
tree39b4a3680ab3e9833fff624e3eb512b2dc1591ac /zebra/zebra_router.h
parentzebra: Move lsp_process_q to zrouter (diff)
downloadfrr-5ec5a7160a9e61ce6e84a65648c345cb10b160c4.tar.xz
frr-5ec5a7160a9e61ce6e84a65648c345cb10b160c4.zip
zebra: Move packets_to_process to zrouter
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index 39a7c9f87..332a4c3f9 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -84,6 +84,9 @@ struct zebra_router {
/* LSP work queue */
struct work_queue *lsp_process_q;
+
+#define ZEBRA_ZAPI_PACKETS_TO_PROCESS 1000
+ _Atomic uint32_t packets_to_process;
};
extern struct zebra_router zrouter;