summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorJijie Shao <shaojijie@huawei.com>2023-08-15 14:06:40 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-16 08:56:38 +0100
commit3ef5d70b82ad5be1235e16318d9ab4f848a5bd68 (patch)
tree081c94b05395bcdb3af3ea64963f48318ef596b8 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentd8634b7c3f62d265fc2ecf29286aa9c5b78f969f (diff)
net: hns3: Support tlv in regs data for HNS3 VF driver
The dump register function is being refactored. The third step in refactoring is to support tlv info in regs data for HNS3 PF driver. Currently, if we use "ethtool -d" to dump regs value, the output is as follows: offset1: 00 01 02 03 04 05 ... offset2:10 11 12 13 14 15 ... ...... We can't get the value of a register directly. This patch deletes the original separator information and add tag_len_value information in regs data. ethtool can parse register data in key-value format by -d command. a patch will be added to the ethtool to parse regs data in the following format: reg1 : value2 reg2 : value2 ...... Signed-off-by: Jijie Shao <shaojijie@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c')
0 files changed, 0 insertions, 0 deletions