diff options
author | Yufeng Mo <[email protected]> | 2019-10-08 09:20:04 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2019-10-08 17:18:04 -0700 |
commit | 6430f744a45adb722dc51982a7df7ac1367dc90d (patch) | |
tree | f087f3863c769aa0f27595de52b0c80c1e58883a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 11fc7d5a0a2d458cae8ce5d5ee3ebfdabe2cb35a (diff) |
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 <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions