DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] ethdev: add trace for max LRO
@ 2023-11-21 12:28 Ferruh Yigit
  0 siblings, 0 replies; only message in thread
From: Ferruh Yigit @ 2023-11-21 12:28 UTC (permalink / raw)
  To: Thomas Monjalon, Andrew Rybchenko, Ankur Dwivedi, Sunil Kumar Kori
  Cc: dev, Huisong Li, stable, Chengwen Feng

From: Huisong Li <lihuisong@huawei.com>

The 'max_lro_pkt_size' in struct rte_eth_dev_info is also important.
So this patch also add it.

Fixes: 6679cf21d608 ("ethdev: add trace points")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com>
---
Cc: adwivedi@marvell.com
---
 lib/ethdev/ethdev_trace.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/ethdev/ethdev_trace.h b/lib/ethdev/ethdev_trace.h
index 8bc0abc2a2ae..1b1ae0cfe8cf 100644
--- a/lib/ethdev/ethdev_trace.h
+++ b/lib/ethdev/ethdev_trace.h
@@ -32,6 +32,7 @@ RTE_TRACE_POINT(
 	rte_trace_point_emit_u32(dev_conf->link_speeds);
 	rte_trace_point_emit_u32(dev_conf->rxmode.mq_mode);
 	rte_trace_point_emit_u32(dev_conf->rxmode.mtu);
+	rte_trace_point_emit_u32(dev_conf->rxmode.max_lro_pkt_size);
 	rte_trace_point_emit_u64(dev_conf->rxmode.offloads);
 	rte_trace_point_emit_u32(dev_conf->txmode.mq_mode);
 	rte_trace_point_emit_u64(dev_conf->txmode.offloads);
@@ -558,6 +559,7 @@ RTE_TRACE_POINT(
 	rte_trace_point_emit_u32(dev_info->min_rx_bufsize);
 	rte_trace_point_emit_u32(dev_info->max_rx_bufsize);
 	rte_trace_point_emit_u32(dev_info->max_rx_pktlen);
+	rte_trace_point_emit_u32(dev_info->max_lro_pkt_size);
 	rte_trace_point_emit_u16(dev_info->max_rx_queues);
 	rte_trace_point_emit_u16(dev_info->max_tx_queues);
 	rte_trace_point_emit_u32(dev_info->max_mac_addrs);
-- 
2.34.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-21 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21 12:28 [PATCH] ethdev: add trace for max LRO Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).