linux_dsm_epyc7002/drivers/net/ethernet/intel/i40e
Neerav Parikh 51616018dd i40e: Add support for getlink, setlink ndo ops
Add support for bridge offload ndo_ops getlink and setlink to
enable bridge hardware mode as per the mode set via IFLA_BRIDGE_MODE.
The support is only enabled in case of a PF VSI and not available for
any other VSI type.

By default the i40e driver inserts a bridge as part of the bring-up
when a FDIR type VSI and/or a FCoE VSI is created. This bridge is
created in VEB mode by default i.e. after creating the bridge using
"Add VEB" AQ command the loopback for the PF's default VSI is enabled.

The patch adds capability where all the VSIs created as downlink to
the bridge inherits the loopback property and enables loopback only
if the uplink bridge is operating in VEB mode.
Hence, there is no need to explicitly enable loopback as part of
allocating resources for SR-IOV VFs and call to do that has been
removed.

In case a user-request is made either via "bridge" utility or using
the bridge netlink interface that requires to change the hardware
bridge mode then that would require a PF reset and rebuild of the
switch hierarchy.

Also update the copyright year.

Change-ID: I4d78fc1c83158efda29ba7be92239b74f75d6d25
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-By: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-02-24 21:57:05 -08:00
..
i40e_adminq_cmd.h i40e: AQ API updates for new commands 2015-01-16 05:20:37 -08:00
i40e_adminq.c i40e: init NVM update state on adminq init 2014-12-09 12:57:03 -08:00
i40e_adminq.h i40e/i40evf: Increase ASQ timeout 2015-01-16 03:56:50 -08:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e: Add NPAR BW get and set functions 2015-02-24 21:28:11 -08:00
i40e_configfs.c i40e: Implement configfs for NPAR BW configuration 2015-02-24 21:42:40 -08:00
i40e_dcb_nl.c i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_dcb.c i40e: Check for LLDP AdminStatus before querying DCBX 2014-11-18 01:09:06 -08:00
i40e_dcb.h i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_debugfs.c i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
i40e_diag.c i40e: Rework register diagnostic 2014-06-05 01:27:46 -07:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: Add method to keep track of current rxnfc settings 2015-02-24 20:44:40 -08:00
i40e_fcoe.c i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
i40e_fcoe.h i40e: adds FCoE code to the i40e driver 2014-08-02 19:41:13 -07:00
i40e_hmc.c i40e/i40evf: Fix code to accommodate i40e_register.h changes 2014-06-08 02:01:23 -07:00
i40e_hmc.h i40e/i40evf: Force a shifted '1' to be unsigned 2014-07-02 19:02:19 -07:00
i40e_lan_hmc.c i40e: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
i40e_nvm.c i40e: update Shadow RAM read/write functions 2015-02-23 17:11:55 -08:00
i40e_osdep.h i40e: adds FCoE configure option 2015-01-14 16:48:39 -05:00
i40e_prototype.h i40e: Add NPAR BW get and set functions 2015-02-24 21:28:11 -08:00
i40e_ptp.c i40e: when Rx timestamps disabled set specific mode 2015-01-16 05:20:56 -08:00
i40e_register.h i40e/i40evf: i40e_register.h updates 2015-02-23 17:11:57 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e/i40evf: Refactor the receive routines 2015-02-23 17:11:56 -08:00
i40e_txrx.h i40e/i40evf: Refactor the receive routines 2015-02-23 17:11:56 -08:00
i40e_type.h i40e: Add NPAR BW get and set functions 2015-02-24 21:28:11 -08:00
i40e_virtchnl_pf.c i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
i40e_virtchnl_pf.h i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
i40e_virtchnl.h i40e/i40evf: restrict VC opcodes to their initial values 2015-02-23 17:11:56 -08:00
i40e.h i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
Makefile i40e: Implement configfs for NPAR BW configuration 2015-02-24 21:42:40 -08:00