]> git.baikalelectronics.ru Git - kernel.git/commit
hinic: add net_device_ops associated with vf
authorLuo bin <luobin9@huawei.com>
Sat, 25 Apr 2020 01:21:11 +0000 (01:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:46:28 +0000 (20:46 -0700)
commita0332ba50f1004a1bb96b86b9f6d08a7608fa7a7
treef603010143fee1808cbe18e740f791dfa5da2416
parent4c5b2b71b830a1b712cbe3f3fc52700456033a2b
hinic: add net_device_ops associated with vf

adds ndo_set_vf_mac/ndo_set_vf_vlan/ndo_get_vf_config and
ndo_set_vf_trust to configure netdev of virtual function

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_main.c
drivers/net/ethernet/huawei/hinic/hinic_sriov.c
drivers/net/ethernet/huawei/hinic/hinic_sriov.h