ice: Reset VF for all port VLAN changes from host
authorBrett Creeley <brett.creeley@intel.com>
Sat, 16 May 2020 00:54:58 +0000 (17:54 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 31 May 2020 10:43:00 +0000 (03:43 -0700)
commitcf0bf41dd6cb1d5461c71d2159c7c062fff3c8fd
tree859966b05949515eb95a4f87569fb227fc0f40fc
parentbff185e2406e10d2608857171537645714bea1f4
ice: Reset VF for all port VLAN changes from host

Currently the PF is modifying the VF's port VLAN on the fly when
configured via iproute. This is okay for most cases, but if the VF
already has guest VLANs configured the PF has to remove all of those
filters so only VLAN tagged traffic that matches the port VLAN will
pass. Instead of adding functionality to track which guest VLANs have
been added, just reset the VF each time port VLAN parameters are
modified.

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>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c