[dpdk-dev] [RFC v2 0/3] show the Rx/Tx burst description field
Haiyue Wang
haiyue.wang at intel.com
Tue Aug 13 05:06:09 CEST 2019
v1: ABI breaking
http://mails.dpdk.org/archives/dev/2019-August/140916.html
https://patchwork.dpdk.org/patch/57624/
https://patchwork.dpdk.org/patch/57625/
https://patchwork.dpdk.org/patch/57626/
v2: add a simple trace API to export string type information, if the
return value > 0, then valid information is generated.
testpmd> show rxq info 0 0
********************* Infos for port 0 , RX queue 0 *********************
Mempool: mbuf_pool_socket_0
RX prefetch threshold: 0
RX host threshold: 0
RX writeback threshold: 0
RX free threshold: 32
RX drop packets: off
RX deferred start: off
RX scattered packets: on
Number of RXDs: 1024
Burst description: AVX2 Vector Scattered Rx
testpmd> show txq info 0 0
********************* Infos for port 0 , TX queue 0 *********************
TX prefetch threshold: 32
TX host threshold: 0
TX writeback threshold: 0
TX RS threshold: 32
TX free threshold: 32
TX deferred start: off
Number of TXDs: 1024
Burst description: AVX2 Vector Tx
Haiyue Wang (3):
ethdev: add the API for getting trace information
testpmd: show the Rx/Tx burst description
net/ice: support the Rx/Tx burst description trace
app/test-pmd/config.c | 12 +++++++++
drivers/net/ice/ice_ethdev.c | 26 +++++++++++++++++++
drivers/net/ice/ice_rxtx.c | 52 +++++++++++++++++++++++++++++++++++++
drivers/net/ice/ice_rxtx.h | 4 +++
lib/librte_ethdev/rte_ethdev.c | 18 +++++++++++++
lib/librte_ethdev/rte_ethdev.h | 9 +++++++
lib/librte_ethdev/rte_ethdev_core.h | 4 +++
7 files changed, 125 insertions(+)
--
2.7.4
More information about the dev
mailing list