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)
commit840bcd88f899da6a5076ab4bc8dd0f6fcd8d19ef
treed22e9240bdf7c7d34efe592927bdb46ea58b3952
parentb0153fdd7e8a625d4879f07d3cfb1ee1e2364222
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