]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitadbd7bb8b9cee3df3db80cec8b764dd00ecc88fd
tree859966b05949515eb95a4f87569fb227fc0f40fc
parent989842588ee80452f6e4cfb58b574f6137105d75
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