]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Restore VLAN switch rule if port VLAN existed before
authorMichal Swiatkowski <michal.swiatkowski@intel.com>
Wed, 27 Feb 2019 00:35:21 +0000 (16:35 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Mar 2019 14:41:49 +0000 (07:41 -0700)
commite15a9621a75e4ad1e52cfd7552c2ba2da41a9520
treed22e9240bdf7c7d34efe592927bdb46ea58b3952
parent5f2270fb864df58fabff84a035dd5bca2280e788
ice: Restore VLAN switch rule if port VLAN existed before

The VLAN rule is lost when VM starts or the AVF driver (iavf.ko) is
reloaded. So it is necessary to add this rule again.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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