linux/drivers/net/ethernet/intel/ice
Brett Creeley 2f9ec24198 ice: Don't modify stripping for add/del VLANs on VF
Currently when adding/deleting vlans in ice_vc_process_vlan_msg()
we are calling ice_vsi_manage_vlan_stripping() to enable/disable
when adding and deleting a VLAN respectively. This is wrong
because adding/deleting VLANs has nothing to do with configuring
VLAN stripping. VLAN stripping is configured through the
following VIRTCHNL operations:
	VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
	VIRTCHNL_OP_DISABLE_VLAN_STRIPPING

Unfortunately we can't just remove this because then stripping
will never be configured on VF initialization. Fix this by
adding a new function that initializes (disables/enables) VLAN
stripping for the VF based on the device supported capabilities.
This allows us to remove the call to
ice_vsi_manage_vlan_stripping() in ice_vc_process_vlan_msg().

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>
2019-11-22 13:06:34 -08:00
..
ice_adminq_cmd.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_base.c ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_base.h ice: get rid of per-tc flow in Tx queue configuration routines 2019-11-04 10:03:14 -08:00
ice_common.c ice: Correct capabilities reporting of max TCs 2019-11-22 13:06:34 -08:00
ice_common.h ice: use more accurate ICE_DBG mask types 2019-11-08 12:03:15 -08:00
ice_controlq.c ice: print opcode when printing controlq errors 2019-11-08 12:03:18 -08:00
ice_controlq.h ice: delay less 2019-11-08 12:03:03 -08:00
ice_dcb_lib.c ice: configure software LLDP in ice_init_pf_dcb 2019-11-08 12:02:50 -08:00
ice_dcb_lib.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb_nl.c ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb.c ice: Adjust DCB INIT for SW mode 2019-11-06 16:41:45 -08:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_devids.h ice: Change device ID define names to align with branding string 2018-10-24 13:53:30 -07:00
ice_ethtool.c ice: configure software LLDP in ice_init_pf_dcb 2019-11-08 12:02:50 -08:00
ice_flex_pipe.c ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_pipe.h ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_type.h ice: Initialize DDP package structures 2019-09-12 11:28:40 -07:00
ice_hw_autogen.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_lan_tx_rx.h ice: Update enum ice_flg64_bits to current specification 2019-11-08 12:03:06 -08:00
ice_lib.c ice: Introduce and use ice_vsi_type_str 2019-11-08 12:03:12 -08:00
ice_lib.h ice: Introduce and use ice_vsi_type_str 2019-11-08 12:03:12 -08:00
ice_main.c ice: Introduce and use ice_vsi_type_str 2019-11-08 12:03:12 -08:00
ice_nvm.c ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_nvm.h ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-09 11:04:37 -08:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_switch.c ice: remove unnecessary conditional check 2019-11-08 12:03:10 -08:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx_lib.c ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_txrx_lib.h ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_txrx.c ice: Get rid of ice_cleanup_header 2019-11-06 16:41:45 -08:00
ice_txrx.h ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_type.h ice: Store number of functions for the device 2019-11-22 13:06:34 -08:00
ice_virtchnl_pf.c ice: Don't modify stripping for add/del VLANs on VF 2019-11-22 13:06:34 -08:00
ice_virtchnl_pf.h ice: Check if VF is disabled for Opcode and other operations 2019-11-08 12:02:54 -08:00
ice_xsk.c ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
ice_xsk.h ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
ice.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
Makefile ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00