mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 05:36:42 +07:00
net: hns3: fix VF dump register issue
In original codes, the .get_regs_len and .get_regs were missed
assigned. This patch fixes it.
Fixes: 1600c3e5f2
("net: hns3: Support "ethtool -d" for HNS3 VF driver")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1a6e552df3
commit
8e1445a653
@ -1115,6 +1115,8 @@ static const struct ethtool_ops hns3vf_ethtool_ops = {
|
||||
.get_channels = hns3_get_channels,
|
||||
.get_coalesce = hns3_get_coalesce,
|
||||
.set_coalesce = hns3_set_coalesce,
|
||||
.get_regs_len = hns3_get_regs_len,
|
||||
.get_regs = hns3_get_regs,
|
||||
.get_link = hns3_get_link,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user