]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: rename macro of pci device id of vf
authorGuangbin Huang <huangguangbin2@huawei.com>
Fri, 25 Sep 2020 00:26:18 +0000 (08:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 03:19:25 +0000 (20:19 -0700)
commitbe4203fd42401385792daf5ded1c734e8dd58ab7
treec4a1ed170a7b5f6de05e5174101072b3ff2a1f97
parent65a5ba13be49363d4008d7411de322b8602cfcc9
net: hns3: rename macro of pci device id of vf

VF devices do not have speed division, its speed is depended on its PF.
So macro name of PCI device id of VF is incorrent to have 100G info, it
should be renamed by removing 100G info.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c