summaryrefslogtreecommitdiff
path: root/tools/tcpdump
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-12-20 07:37:04 +0000
committersongyanchao <[email protected]>2024-01-05 02:25:29 +0000
commitce1968c9745609c0ccebcf6ed88f1ff3da7f5a23 (patch)
tree7cefad7cbe9c7bd59fbdfb7be7ac20369de649aa /tools/tcpdump
parent46858f02526cabc9e5750d0aeb1e23dead264772 (diff)
🎈 perf: Rename "peer" to "ef_peer" in the Etherfabric adapter.
Rename "peer" to "ef_peer" in the Etherfabric adapter.
Diffstat (limited to 'tools/tcpdump')
-rw-r--r--tools/tcpdump/pdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcpdump/pdump.c b/tools/tcpdump/pdump.c
index caae344..f7d77d9 100644
--- a/tools/tcpdump/pdump.c
+++ b/tools/tcpdump/pdump.c
@@ -594,7 +594,7 @@ 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->ef_link_id);
len += snprintf(str_dir + len, str_maxlen - len, ", traffic_link_id:%u", mrb_metadata->traffic_link_id);
- len += snprintf(str_dir + len, str_maxlen - len, ", ef_peer_id:%u", mrb_metadata->peer_index);
+ len += snprintf(str_dir + len, str_maxlen - len, ", ef_peer_id:%u", mrb_metadata->ef_peer_index);
len = snprintf(str_sid_raw, str_maxlen - len, "sid raw head:%u", sid_list->head);
len += snprintf(str_sid_raw + len, str_maxlen - len, ", tail:%u", sid_list->tail);