4016d76b7c
This patch adds getting Rx/Tx queue fbd information in extended device statistics. The upper level application can get them by calling the rte_eth_xstats_get API function. The fbd registers of every Rx/Tx queue are very useful to identify the Rx/Tx bottleneck. 1. The Rx queue fbd register is the number of the unprocessed buffer descriptors which are waiting for driver to process; 2. The Tx queue fbd register is the number of the unprocessed buffer descriptors which are waiting for network engine hardware to process. As a result, we get the following output information in testpmd application by using the command "show port xstats" as below: rx_q0RX_QUEUE_FBD: 19 rx_q1RX_QUEUE_FBD: 18 tx_q0TX_QUEUE_FBD: 0 tx_q1TX_QUEUE_FBD: 0 Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> |
||
---|---|---|
.. | ||
hns3_cmd.c | ||
hns3_cmd.h | ||
hns3_dcb.c | ||
hns3_dcb.h | ||
hns3_ethdev_vf.c | ||
hns3_ethdev.c | ||
hns3_ethdev.h | ||
hns3_fdir.c | ||
hns3_fdir.h | ||
hns3_flow.c | ||
hns3_intr.c | ||
hns3_intr.h | ||
hns3_logs.h | ||
hns3_mbx.c | ||
hns3_mbx.h | ||
hns3_mp.c | ||
hns3_mp.h | ||
hns3_regs.c | ||
hns3_regs.h | ||
hns3_rss.c | ||
hns3_rss.h | ||
hns3_rxtx.c | ||
hns3_rxtx.h | ||
hns3_stats.c | ||
hns3_stats.h | ||
Makefile | ||
meson.build | ||
rte_pmd_hns3_version.map |