[RFC,v1,2/3] testpmd: show the Rx/Tx burst description field in queue

Message ID 1565619305-17116-3-git-send-email-haiyue.wang@intel.com
State Superseded
Delegated to: Ferruh Yigit
Headers show
Series
  • show the Rx/Tx burst description field
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Wang, Haiyue Aug. 12, 2019, 2:15 p.m.
Add the 'Burst description' section into command 'show rxq|txq info
<port_id> <queue_id>' to show the Rx/Tx burst description field in
queue information.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
---
 app/test-pmd/config.c | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 1a5a5c1..69607ba 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -354,6 +354,7 @@  rx_queue_infos_display(portid_t port_id, uint16_t queue_id)
 	printf("\nRX scattered packets: %s",
 		(qinfo.scattered_rx != 0) ? "on" : "off");
 	printf("\nNumber of RXDs: %hu", qinfo.nb_desc);
+	printf("\nBurst description: %s\n", qinfo.burst_info);
 	printf("\n");
 }
 
@@ -383,6 +384,7 @@  tx_queue_infos_display(portid_t port_id, uint16_t queue_id)
 	printf("\nTX deferred start: %s",
 		(qinfo.conf.tx_deferred_start != 0) ? "on" : "off");
 	printf("\nNumber of TXDs: %hu", qinfo.nb_desc);
+	printf("\nBurst description: %s\n", qinfo.burst_info);
 	printf("\n");
 }