summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-06-17 10:42:41 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-09-05 15:52:05 -0400
commit98b11de9f60c16e61a581b03a97294563eb9f673 (patch)
tree3cc640f574e163519b8c7a603931a6c74f2f13ea /zebra/rib.h
parent8926ac198487dd6c782a998e2dde15f7267e69a3 (diff)
zebra: Modify show `zebra dplane providers` to give more data
The show zebra dplane provider command was ommitting the input and output queues to the dplane itself. It would be nice to have this insight as well. New output: r1# show zebra dplane providers dataplane Incoming Queue from Zebra: 100 Zebra dataplane providers: Kernel (1): in: 6, q: 0, q_max: 3, out: 6, q: 14, q_max: 3 dplane_fpm_nl (2): in: 6, q: 10, q_max: 3, out: 6, q: 0, q_max: 3 dataplane Outgoing Queue to Zebra: 43 r1# Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index cd6efbfb36..3095a9d67d 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -631,6 +631,7 @@ extern int rib_add_gr_run(afi_t afi, vrf_id_t vrf_id, uint8_t proto,
uint8_t instance, time_t restart_time);
extern void zebra_vty_init(void);
+extern uint32_t zebra_rib_dplane_results_count(void);
extern pid_t pid;