[PATCH v5 0/3] support ethdev Rx/Tx descriptor dump
Dongdong Liu
liudongdong3 at huawei.com
Thu Oct 6 14:05:11 CEST 2022
Support ethdev Rx/Tx descriptor dump by using procinfo tool.
Thanks to Ferruh, Andrew and Reshma help to review the patchset.
NOTE:
October 1st to October 7th is China's National Day holiday.
I don't have a test environment available at the moment.
I will test this patchset on October 8th. Current compile is ok.
v4->v5:
- Rename the Rx/Tx descriptor dump API and provide 'offset' parameter.
- Refactor procinfo dump descriptor code as Reshma suggested.
v3->v4:
- Modify the desc dump API to dump specified number of descriptors.
- Modify the hn3 pmd implementation and procinfo part
Dongdong Liu (3):
ethdev: introduce ethdev desc dump API
net/hns3: support Rx/Tx bd dump
app/procinfo: support descriptor dump
app/proc-info/main.c | 80 +++++++++++++++++++++++
doc/guides/rel_notes/release_22_11.rst | 6 ++
drivers/net/hns3/hns3_dump.c | 88 ++++++++++++++++++++++++++
drivers/net/hns3/hns3_dump.h | 5 ++
drivers/net/hns3/hns3_ethdev.c | 2 +
drivers/net/hns3/hns3_ethdev_vf.c | 2 +
lib/ethdev/ethdev_driver.h | 53 ++++++++++++++++
lib/ethdev/rte_ethdev.c | 52 +++++++++++++++
lib/ethdev/rte_ethdev.h | 55 ++++++++++++++++
lib/ethdev/version.map | 2 +
10 files changed, 345 insertions(+)
--
2.22.0
More information about the dev
mailing list