ice: remove VLAN representor specific ops
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Mon, 25 Apr 2022 06:27:56 +0000 (08:27 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 8 Jun 2022 15:54:14 +0000 (08:54 -0700)
commitb33de560f9e97a485ebc62dac9e0c0825cfdc731
tree9ef85d02353f40524a87b796ee445c5fa0f4b025
parentcede04b35258faaa5acc3932ac07ab855d59e5f3
ice: remove VLAN representor specific ops

In switchdev mode VF VLAN caps will not be set there is no need
to have specific VLAN ops for representor that only returns not
supported error.

As VLAN configuration commands will be blocked, the VF driver
can't disable VLAN stripping at initialization. It leads to the
situation when VLAN stripping on VF VSI is on, but in kernel it
is off. To prevent this, disable VLAN stripping in VSI
initialization. It doesn't break other usecases, because it is set
according to kernel settings.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_virtchnl.c