]> 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)
commita68cd0baa3204a35685842de18aba3228ac1ea47
tree859966b05949515eb95a4f87569fb227fc0f40fc
parent4303c3b698fd3dd1a65b154b8d8bbc1a3f0e9c05
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