Skip to content

ixgbe/i40e: Fix ATR functionality related to raw sockets and IPv6 extension headers

Alexander Duyck intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i40e: Add support for ATR w/ IPv6 extension headersdrivers/net/ethernet/intel/i40e/i40e_txrx.c+14 -161 reply
2/3ixgbe: Store VXLAN port number in network orderdrivers/net/ethernet/intel/ixgbe/ixgbe.h drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+20 -491 reply
3/3ixgbe: Fix ATR so that it correctly handles IPv6 extension headersdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+21 -241 reply

Reviews trailers per patch

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

PatchAndrew Bowers
1/3T-b
2/3T-b
3/3T-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 0/3] ixgbe/i40e: Fix ATR functionality related to raw sockets and IPv6 extension headers

This patch set addresses several things.

First the i40e driver was lacking extension header parsing for ATR so I went ahead and added support via the ipv6_find_hdr call.

Second the vxlan_port code in ixgbe was a bit convoluted and needed to be cleaned up in order to allow me to address an issue in the ATR code.

Finally the ixgbe ATR code has been generating bogus rules for a while now when raw sockets are being used. The last patch resolves this and cleans up the IPv6 extended header parsing to match the approach taken for i40e.

---

Alexander Duyck (3):
i40e: Add support for ATR w/ IPv6 extension headers
ixgbe: Store VXLAN port number in network order
ixgbe: Fix ATR so that it correctly handles IPv6 extension headers

 drivers/net/ethernet/intel/i40e/i40e_txrx.c   |   30 ++++----
 drivers/net/ethernet/intel/ixgbe/ixgbe.h      |    8 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |   90 ++++++++-----------------
 3 files changed, 44 insertions(+), 84 deletions(-)

--