linux/drivers/net/ethernet/intel
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
..
e1000 net: e1000: support txtd update delay via xmit_more 2015-01-22 18:10:23 -08:00
e1000e e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
fm10k fm10k: Resolve compile warnings with W=1 2015-02-05 19:41:51 -08:00
i40e i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
i40evf i40evf: allow enabling of debug prints via ethtool 2015-02-24 20:59:12 -08:00
igb igb: Indicate failure on vf reset for empty mac address 2015-01-22 18:10:23 -08:00
igbvf igbvf: cleanup msleep() and min/max() usage 2015-02-23 17:11:54 -08:00
ixgb net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
ixgbe ixgbe: add Tx anti spoofing support 2015-02-05 19:58:46 -08:00
ixgbevf ixgbevf: combine all of the tasks into a single service task 2015-02-05 19:58:45 -08:00
e100.c e100: fix typo in MDI/MDI-X eeprom check in e100_phy_init 2014-12-31 11:55:40 -08:00
Kconfig ixgbe: add VXLAN offload support for X550 devices 2015-02-05 19:57:49 -08:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00