]> 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)
commitb6d0c4b92d4014ad922a7bdf8ec7d2bb5b4b5dfd
treed22e9240bdf7c7d34efe592927bdb46ea58b3952
parentc74dac538520847fc3540fe17a8f39e591c8817f
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