Skip to content

Enable use of PF for switch or bridge when using SR-IOV

Alexander Duyck intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11igb: clean up code for setting MAC addressdrivers/net/ethernet/intel/igb/igb_main.c+4 -51 reply
2/11igb: Refactor VFTA configurationdrivers/net/ethernet/intel/igb/e1000_82575.c drivers/net/ethernet/intel/igb/e1000_hw.h drivers/net/ethernet/intel/igb/e1000_mac.c +1 more+67 -761 reply
3/11igb: Allow asymmetric configuration of MTU versus Rx frame sizedrivers/net/ethernet/intel/igb/e1000_defines.h drivers/net/ethernet/intel/igb/igb_main.c+42 -684 replies
4/11igb: Do not factor VLANs into RLPML calculationdrivers/net/ethernet/intel/igb/igb.h drivers/net/ethernet/intel/igb/igb_main.c+2 -421 reply
5/11igb: Always enable VLAN 0 even if 8021q is not loadeddrivers/net/ethernet/intel/igb/igb_main.c+3 -21 reply
6/11igb: Merge VLVF configuration into igb_vfta_setdrivers/net/ethernet/intel/igb/e1000_mac.c drivers/net/ethernet/intel/igb/e1000_mac.h drivers/net/ethernet/intel/igb/igb_main.c+135 -921 reply
7/11igb: Clean-up configuration of VF port VLANsdrivers/net/ethernet/intel/igb/igb_main.c+110 -711 reply
8/11igb: Add support for VLAN promiscuous with SR-IOV and NTUPLEdrivers/net/ethernet/intel/igb/igb.h drivers/net/ethernet/intel/igb/igb_main.c+242 -721 reply
9/11igb: Drop unnecessary checks in transmit pathdrivers/net/ethernet/intel/igb/igb_main.c+0 -101 reply
10/11igb: Enable use of "bridge fdb add" to set unicast table entriesdrivers/net/ethernet/intel/igb/igb_main.c+30 -91 reply
11/11igb: Add workaround for VLAN tag stripping on 82576drivers/net/ethernet/intel/igb/e1000_82575.c drivers/net/ethernet/intel/igb/igb_main.c+16 -121 reply

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by.

PatchAaron Brown
1/11T-b
2/11T-b
3/11T-b
4/11T-b
5/11T-b
6/11T-b
7/11T-b
8/11T-b
9/11T-b
10/11T-b
11/11T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-wired-lan] [next PATCH 00/11] Enable use of PF for switch or bridge when using SR-IOV

This patch series addresses a number of issues in the configuration of SR-IOV in conjunction with something such as a bridge or OVS. As a result the the functionality should be brought inline with what is now available in ixgbe after recent changes.

It should now be possible to place bridge with tap interfaces on top of the PF and as long as we add the MAC addresses for those interfaces using the command "bridge fdb add ADDR dev DEV" we should be able to then pass traffic between the VFs and those interfaces.

In addition I made one change to the configuration of the MTU. Since we are using page based receive I decided to configure the driver to support always receiving jumbo frames, but only transmitting up to MTU. This way the behavior should be more consistent between SR-IOV and non-SR-IOV modes.

---

Alexander Duyck (11):
igb: clean up code for setting MAC address
igb: Refactor VFTA configuration
igb: Allow asymmetric configuration of MTU versus Rx frame size
igb: Do not factor VLANs into RLPML calculation
igb: Always enable VLAN 0 even if 8021q is not loaded
igb: Merge VLVF configuration into igb_vfta_set
igb: Clean-up configuration of VF port VLANs
igb: Add support for VLAN promiscuous with SR-IOV and NTUPLE
igb: Drop unnecessary checks in transmit path
igb: Enable use of "bridge fdb add" to set unicast table entries
igb: Add workaround for VLAN tag stripping on 82576

 drivers/net/ethernet/intel/igb/e1000_82575.c   |   39 +
 drivers/net/ethernet/intel/igb/e1000_defines.h |    3 
 drivers/net/ethernet/intel/igb/e1000_hw.h      |    2 
 drivers/net/ethernet/intel/igb/e1000_mac.c     |  213 ++++---
 drivers/net/ethernet/intel/igb/e1000_mac.h     |    5 
 drivers/net/ethernet/intel/igb/igb.h           |    2 
 drivers/net/ethernet/intel/igb/igb_main.c      |  764 +++++++++++++-----------
 7 files changed, 610 insertions(+), 418 deletions(-)

--