net: hns3: add support for setting VF link status on the host
This patch adds support to configure VF link properties.
The options are auto, enable, and disable. Even if the PF
is down, the communication between VFs will be normal
if the VFs are set to enable. The commands are as follows:
'ip link set <pf> vf <vf_id> state <auto|enable|disable>'
change the VF status
'ip link show'
show the setting status
Signed-off-by: Yufeng Mo <firstname.lastname@example.org>
Signed-off-by: Huazhong Tan <email@example.com>
Signed-off-by: Jakub Kicinski <firstname.lastname@example.org>
5 files changed