linux_dsm_epyc7002/drivers/net/ethernet/intel/i40e
Anjali Singhai Jain fc60861e9b i40e: start up in VEPA mode by default
The patch fixes a bug in the default configuration which
prevented a software bridge loaded on the PF interface from
working correctly because broadcast packets are incorrectly
looped back.

Fix the general case, by loading the driver in VEPA mode Until a
VF or VMDq VSI is added. This way loopback on the Main VSI is
turned off until needed and can resolve the issue of unnecessary
reflection for users that do not have VF or VMDq VSIs setup.

The driver must now coordinate the loopback setting for the Flow
Director (FDIR) VSI to make sure it is in sync with the current
VEB or VEPA mode setting.

The user can still switch bridge modes from the bridge commands and
choose to be in VEPA mode with VF VSIs. Because of hardware
requirements, the call to switch to VEB mode when no VF/VMDqs are
present will be rejected.

NOTE: This patch uses BIT_ULL as that is preferred going forward,
a followup patch in the lower priority queue to net-next will fix
up the remaining 1 << usages.

Change-ID: Ib121ddb18fe4b3c4f52e9deda6fcbeb9105683d1
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-06-04 20:10:30 -07:00
..
i40e_adminq_cmd.h i40e: AQ API updates for new commands 2015-01-16 05:20:37 -08:00
i40e_adminq.c i40e/i40evf: grab NVM devstarter version not image version 2015-03-05 03:04:33 -08:00
i40e_adminq.h i40e/i40evf: print FW build number in version string 2015-03-03 01:07:24 -08:00
i40e_alloc.h
i40e_common.c i40e/i40evf: Save WR_CSR_PROT field from DEV/FUNC capabilities 2015-04-14 20:25:45 -07:00
i40e_dcb_nl.c i40e: Don't register/de-register apps on NIC partitions in MFP mode 2015-04-03 03:54:30 -07:00
i40e_dcb.c i40e: get rid of unused locals 2015-04-14 20:39:41 -07:00
i40e_dcb.h i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_debugfs.c i40e: start up in VEPA mode by default 2015-06-04 20:10:30 -07:00
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Use new 40G speeds 2015-04-14 20:47:39 -07:00
i40e_fcoe.c i40e: fix invalid void return in FCoE code 2015-04-03 03:54:29 -07:00
i40e_fcoe.h i40e/i40evf: Clean up some formatting and other things 2015-03-05 06:39:42 -08:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c i40e: use more portable sign extension 2015-03-05 04:00:06 -08:00
i40e_lan_hmc.h
i40e_main.c i40e: start up in VEPA mode by default 2015-06-04 20:10:30 -07:00
i40e_nvm.c i40e: get rid of unused locals 2015-04-14 20:39:41 -07:00
i40e_osdep.h i40e: adds FCoE configure option 2015-01-14 16:48:39 -05:00
i40e_prototype.h i40e: enable user dump of internal hardware state 2015-04-14 20:14:58 -07:00
i40e_ptp.c ptp: i40e: convert to the 64 bit get/set time methods. 2015-03-31 12:01:17 -04:00
i40e_register.h i40e/i40evf: i40e_register.h updates 2015-02-23 17:11:57 -08:00
i40e_status.h
i40e_txrx.c i40e/i40evf: Fix mixed size frags and linearization 2015-06-04 20:06:06 -07:00
i40e_txrx.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-03-03 21:16:48 -05:00
i40e_type.h i40e/i40evf: Save WR_CSR_PROT field from DEV/FUNC capabilities 2015-04-14 20:25:45 -07:00
i40e_virtchnl_pf.c i40e: start up in VEPA mode by default 2015-06-04 20:10:30 -07:00
i40e_virtchnl_pf.h i40e: Communicate VSI id in place of VSI index to the VFs 2015-04-03 03:54:31 -07:00
i40e_virtchnl.h i40e/i40evf: restrict VC opcodes to their initial values 2015-02-23 17:11:56 -08:00
i40e.h i40e: start up in VEPA mode by default 2015-06-04 20:10:30 -07:00
Makefile i40e: Strip configfs code 2015-03-07 07:01:06 -08:00