[PATCH v1 1/1] eventdev/eth_rx: add event buf size and count in telemetry

Ganapati Kundapura ganapati.kundapura at intel.com
Thu Mar 23 09:58:28 CET 2023


rx_event_buf_count and rx_event_buf_size is added to structure
rte_event_eth_rx_adapter_stats but they are not displayed in
rxa_stats telemetry handler.

Updated handle_rxa_stats() to display rx_event_buf_count and
rx_event_buf_size.

Signed-off-by: Ganapati Kundapura <ganapati.kundapura at intel.com>

diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c
index c1cd124..07d8235 100644
--- a/lib/eventdev/rte_event_eth_rx_adapter.c
+++ b/lib/eventdev/rte_event_eth_rx_adapter.c
@@ -3597,6 +3597,8 @@ handle_rxa_stats(const char *cmd __rte_unused,
 	RXA_ADD_DICT(rx_adptr_stats, rx_enq_block_cycles);
 	RXA_ADD_DICT(rx_adptr_stats, rx_enq_end_ts);
 	RXA_ADD_DICT(rx_adptr_stats, rx_intr_packets);
+	RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_count);
+	RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_size);
 
 	return 0;
 }
-- 
2.6.4



More information about the dev mailing list