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)
commit1f62cfa19a619f82c098468660b7950477101d45
treef603010143fee1808cbe18e740f791dfa5da2416
parent7dd29ee128654702bd493ecec0bb22c2c5f0f395
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