summaryrefslogtreecommitdiffstats
path: root/zebra/debug.h
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-03-27 23:05:45 +0100
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-08-05 15:46:12 +0200
commit94eb163591a56f908128d02c9074d3548a647cca (patch)
tree246ba6c3c46db3162aadead4357d16ddc981c797 /zebra/debug.h
parentbgpd: CLI changes for EAD routes and ES/ES-EVI display (diff)
downloadfrr-94eb163591a56f908128d02c9074d3548a647cca.tar.xz
frr-94eb163591a56f908128d02c9074d3548a647cca.zip
zebra: debug flags for evpn-mh ES and MAC-ECMP
Filters for MH debug logs Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'zebra/debug.h')
-rw-r--r--zebra/debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h
index e513f8865..ffd88d1d4 100644
--- a/zebra/debug.h
+++ b/zebra/debug.h
@@ -62,6 +62,9 @@ extern "C" {
#define ZEBRA_DEBUG_NHG 0x01
#define ZEBRA_DEBUG_NHG_DETAILED 0x02
+#define ZEBRA_DEBUG_EVPN_MH_ES 0x01
+#define ZEBRA_DEBUG_EVPN_MH_NH 0x02
+
/* Debug related macro. */
#define IS_ZEBRA_DEBUG_EVENT (zebra_debug_event & ZEBRA_DEBUG_EVENT)
@@ -100,6 +103,9 @@ extern "C" {
#define IS_ZEBRA_DEBUG_NHG_DETAIL \
(zebra_debug_nexthop & ZEBRA_DEBUG_NHG_DETAILED)
+#define IS_ZEBRA_DEBUG_EVPN_MH_ES (zebra_debug_evpn_mh & ZEBRA_DEBUG_EVPN_MH_ES)
+#define IS_ZEBRA_DEBUG_EVPN_MH_NH (zebra_debug_evpn_mh & ZEBRA_DEBUG_EVPN_MH_NH)
+
extern unsigned long zebra_debug_event;
extern unsigned long zebra_debug_packet;
extern unsigned long zebra_debug_kernel;
@@ -112,6 +118,7 @@ extern unsigned long zebra_debug_pw;
extern unsigned long zebra_debug_dplane;
extern unsigned long zebra_debug_mlag;
extern unsigned long zebra_debug_nexthop;
+extern unsigned long zebra_debug_evpn_mh;
extern void zebra_debug_init(void);