]> 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)
commit56bd515880aa147eab1165b4230fbe663d35cab1
treef603010143fee1808cbe18e740f791dfa5da2416
parentfb7d7b5fb3de5d886bea2574a378658abc4d4403
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