hinic: add three net_device_ops of vf

adds ndo_set_vf_rate/ndo_set_vf_spoofchk/ndo_set_vf_link_state
to configure netdev of virtual function

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Luo bin 2020-05-08 20:18:50 +00:00 • committed by Jakub Kicinski
commit 72ef908bb3
11 changed files with 453 additions and 24 deletions