]> 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)
commita304634e87757dc995b2c9da19d3a9ed45649e05
treec4a1ed170a7b5f6de05e5174101072b3ff2a1f97
parent34ef969bc07ffbc1199fb09b7cacc1dfec90bc46
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