summaryrefslogtreecommitdiff
path: root/tools/tcpdump
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-12-07 03:07:27 +0000
committersongyanchao <[email protected]>2023-12-15 04:03:30 +0000
commitfae297bfffc30dc9d214ec646adc299ef0aba279 (patch)
tree311a622a580afddbee548d261f2693c66904680a /tools/tcpdump
parentd9482ed88d2374b097b35fbd3451a28aefa73eed (diff)
✨ feat(DPISDN-29): Add Global Link Identifier for Etherfabric adapter.
Add Global Link Identifier for Etherfabric adapter.
Diffstat (limited to 'tools/tcpdump')
-rw-r--r--tools/tcpdump/pdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/tcpdump/pdump.c b/tools/tcpdump/pdump.c
index deeb3be..5916dc2 100644
--- a/tools/tcpdump/pdump.c
+++ b/tools/tcpdump/pdump.c
@@ -592,7 +592,8 @@ int mr_pcapng_add_opt(struct rte_mbuf * mbuf, uint16_t port_id, uint32_t rx_tx_f
}
len = snprintf(str_dir, str_maxlen, "dir:%u", mrb_metadata->dir);
- len += snprintf(str_dir + len, str_maxlen - len, ", ef_link_id:%u", mrb_metadata->link_id);
+ len += snprintf(str_dir + len, str_maxlen - len, ", ef_link_id:%u", mrb_metadata->ef_link_id);
+ len += snprintf(str_dir + len, str_maxlen - len, ", global_link_id:%u", mrb_metadata->global_link_id);
len += snprintf(str_dir + len, str_maxlen - len, ", ef_peer_id:%u", mrb_metadata->peer_index);
len = snprintf(str_sid_raw, str_maxlen - len, "sid raw head:%u", sid_list->head);