]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc155e22bb689a0e467fa375d2765d85aff52f058
treec4a1ed170a7b5f6de05e5174101072b3ff2a1f97
parentae6f010cb1a796d2dbe285e40430293e86b3e9ae
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