[PATCH v9 0/8] support dump reigster names and filter
Jie Hai
haijie1 at huawei.com
Thu Sep 26 14:42:41 CEST 2024
The registers can be dumped through the API rte_eth_dev_get_reg_info.
However, only register values are exported, which is inconvenient for
users to interpret. Therefore, an extension of the structure
"rte_dev_reg_info" and a new API rte_eth_dev_get_reg_info_ext is added
to support the capability of exporting the name of the corresponding
register and filtering by module names.
--
v9:
1. add Acked-by.
2. fix typo and inaccurate expression of hns3.rst.
v8:
1. fix typo on patch[0/8].
2. add Reviewed-bys and Acked-bys.
3. fix potentital memory leak and error information on telemetry.
4. fix on reviews about hns3 driver.
v7: fix doc indention.
--
Jie Hai (8):
ethdev: support report register names and filter
ethdev: add telemetry cmd for registers
net/hns3: remove some basic address dump
net/hns3: fix dump counter of registers
net/hns3: remove separators between register module
net/hns3: refactor register dump
net/hns3: support report names of registers
net/hns3: support filter registers by module names
doc/guides/nics/hns3.rst | 7 +
doc/guides/rel_notes/release_24_11.rst | 8 +
drivers/net/hns3/hns3_regs.c | 1384 +++++++++++++++++++-----
lib/ethdev/ethdev_trace.h | 2 +
lib/ethdev/rte_dev_info.h | 11 +
lib/ethdev/rte_ethdev.c | 38 +
lib/ethdev/rte_ethdev.h | 29 +
lib/ethdev/rte_ethdev_telemetry.c | 130 +++
lib/ethdev/version.map | 1 +
9 files changed, 1344 insertions(+), 266 deletions(-)
--
2.33.0
More information about the dev
mailing list