summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2023-09-08 00:43:43 +0200
committerChirag Shah <chirag@nvidia.com>2023-12-28 03:01:50 +0100
commit42949edb10a8e8ee6934df80747593c2bcc88ad1 (patch)
treebf632399f2050cb25083d0b240da23ca4a89cb5c
parentbgpd: fix coverity warnings about evpn vpn variable (diff)
downloadfrr-42949edb10a8e8ee6934df80747593c2bcc88ad1.tar.xz
frr-42949edb10a8e8ee6934df80747593c2bcc88ad1.zip
bgpd: lttng tp add ethtag to macip zebra send
Ticket:#3597393 Testing Done: 2023-09-08T17:33:03.731 frr_bgp:evpn_mac_ip_zsend {'action': 'add', 'vni': 1003, 'eth_tag': 968006412, 'mac': '00:02:00:00:00:40', 'ip': '', 'vtep': '27.0.0.16', 'esi': '00:00:00:00:00:00:00:00:00:00'} Signed-off-by: Chirag Shah <chirag@nvidia.com>
-rw-r--r--bgpd/bgp_trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_trace.h b/bgpd/bgp_trace.h
index 203005962..a77a25e43 100644
--- a/bgpd/bgp_trace.h
+++ b/bgpd/bgp_trace.h
@@ -309,6 +309,7 @@ TRACEPOINT_EVENT(
TP_FIELDS(
ctf_string(action, add ? "add" : "del")
ctf_integer(vni_t, vni, (vpn ? vpn->vni : 0))
+ ctf_integer(uint32_t, eth_tag, &pfx->prefix.macip_addr.eth_tag)
ctf_array(unsigned char, mac, &pfx->prefix.macip_addr.mac,
sizeof(struct ethaddr))
ctf_array(unsigned char, ip, &pfx->prefix.macip_addr.ip,