summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2021-09-15 21:52:07 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-20 13:28:39 +0100
commit91bc0d5272d3a4dc3d4fd2a74387c7e7361bbe96 (patch)
treeb0259ed35ccfecece41e8e5a3d7732199ca2d8d8 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
parente184cec5e29d8eb3c3435b12a9074b75e2d69e4a (diff)
net: hns3: fix inconsistent vf id print
The vf id from ethtool is added 1 before configured to driver. So it's necessary to minus 1 when printing it, in order to keep consistent with user's configuration. Fixes: dd74f815dd41 ("net: hns3: Add support for rule add/delete for flow director") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c')
0 files changed, 0 insertions, 0 deletions