diff options
| author | Anuradha Karuppiah <anuradhak@nvidia.com> | 2022-01-01 09:18:33 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-06-27 07:56:55 -0400 |
| commit | 36c3b29675300b5683a97f1e3796a1f6d1778d88 (patch) | |
| tree | 77f3b125cc4eafdac2c7ff8445e421ae485b1965 /zebra/debug.h | |
| parent | 0c57fcc731b78949b26f7f12e13b7d725db362f5 (diff) | |
zebra: infastructure for the new dataplane plugin
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Diffstat (limited to 'zebra/debug.h')
| -rw-r--r-- | zebra/debug.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h index e761e5e3e3..73546de632 100644 --- a/zebra/debug.h +++ b/zebra/debug.h @@ -58,6 +58,9 @@ extern "C" { #define ZEBRA_DEBUG_DPLANE 0x01 #define ZEBRA_DEBUG_DPLANE_DETAILED 0x02 +#define ZEBRA_DEBUG_DPLANE_DPDK 0x01 +#define ZEBRA_DEBUG_DPLANE_DPDK_DETAIL 0x02 + #define ZEBRA_DEBUG_MLAG 0x01 #define ZEBRA_DEBUG_NHG 0x01 @@ -105,6 +108,11 @@ extern "C" { #define IS_ZEBRA_DEBUG_DPLANE_DETAIL \ (zebra_debug_dplane & ZEBRA_DEBUG_DPLANE_DETAILED) +#define IS_ZEBRA_DEBUG_DPLANE_DPDK \ + (zebra_debug_dplane & ZEBRA_DEBUG_DPLANE_DPDK) +#define IS_ZEBRA_DEBUG_DPLANE_DPDK_DETAIL \ + (zebra_debug_dplane & ZEBRA_DEBUG_DPLANE_DPDK_DETAIL) + #define IS_ZEBRA_DEBUG_MLAG (zebra_debug_mlag & ZEBRA_DEBUG_MLAG) #define IS_ZEBRA_DEBUG_NHG (zebra_debug_nexthop & ZEBRA_DEBUG_NHG) @@ -135,6 +143,7 @@ extern unsigned long zebra_debug_mpls; extern unsigned long zebra_debug_vxlan; extern unsigned long zebra_debug_pw; extern unsigned long zebra_debug_dplane; +extern unsigned long zebra_debug_dplane_dpdk; extern unsigned long zebra_debug_mlag; extern unsigned long zebra_debug_nexthop; extern unsigned long zebra_debug_evpn_mh; |
