summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2019-08-08 07:39:30 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-09-03 17:17:13 -0700
commitcd186e51513c6b9cfdfa7280acf37db7e3dd114b (patch)
tree1469278a0d45c3583553594a2dbf3cb821c7c0f2 /tools/perf/scripts/python
parent03bba02016f9b493cd0ebef1e0311b3bef730ee2 (diff)
ice: Only disable VLAN pruning for the VF when all VLANs are removed
Currently if the VF adds a VLAN, VLAN pruning will be enabled for that VSI. Also, when a VLAN gets deleted it will disable VLAN pruning even if other VLAN(s) exists for the VF. Fix this by only disabling VLAN pruning on the VF VSI when removing the last VF (i.e. vf->num_vlan == 0). Signed-off-by: Brett Creeley <brett.creeley@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions