diff options
author | Maor Dickman <[email protected]> | 2021-12-09 14:03:01 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2022-01-06 16:22:53 -0800 |
commit | 7846665d3504812acaebf920d1141851379a7f37 (patch) | |
tree | 1f510c210e4ffba8bee8c7e6dc113ba835e00c22 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0a1498ebfa55b860e8ec929d73585bcd3fd81a4e (diff) |
net/mlx5e: Unblock setting vid 0 for VF in case PF isn't eswitch manager
When using libvirt to passthrough VF to VM it will always set the VF vlan
to 0 even if user didn’t request it, this will cause libvirt to fail to
boot in case the PF isn't eswitch owner.
Example of such case is the DPU host PF which isn't eswitch manager, so
any attempt to passthrough VF of it using libvirt will fail.
Fix it by not returning error in case set VF vlan is called with vid 0.
Signed-off-by: Maor Dickman <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions