Skip to content

sfc: support TC decap rules

[email protected] netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 3 repliesApplied 6/6
  2. v26 patches 13 repliesSuperseded
  3. v15 patches 11 repliesSuperseded

Patches in v3 All 6 applied

#Subject and filesSizeRepliesApplied
1/6sfc: document TC-to-EF100-MAE action translation conceptsdrivers/net/ethernet/sfc/tc.c+25 -10 repliesApplied
2/6sfc: add notion of match on enc keys to MAE machinerydrivers/net/ethernet/sfc/mae.c drivers/net/ethernet/sfc/mae.h drivers/net/ethernet/sfc/tc.h+122 -21 replyApplied
3/6sfc: handle enc keys in efx_tc_flower_parse_match()drivers/net/ethernet/sfc/tc.c+61 -00 repliesApplied
4/6sfc: add functions to insert encap matches into the MAEdrivers/net/ethernet/sfc/mae.c drivers/net/ethernet/sfc/mae.h drivers/net/ethernet/sfc/tc.h+111 -01 replyApplied
5/6sfc: add code to register and unregister encap matchesdrivers/net/ethernet/sfc/tc.c drivers/net/ethernet/sfc/tc.h+174 -01 replyApplied
6/6sfc: add offloading of 'foreign' TC (decap) rulesdrivers/net/ethernet/sfc/mae.c drivers/net/ethernet/sfc/mae.h drivers/net/ethernet/sfc/tc.c +1 more+366 -170 repliesApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchSimon Horman
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v3 thread

Cover letter [PATCH net-next v3 0/6] sfc: support TC decap rules

From: Edward Cree <[email protected]>

This series adds support for offloading tunnel decapsulation TC rules to
ef100 NICs, allowing matching encapsulated packets to be decapsulated in hardware and redirected to VFs.
For now an encap match must be on precisely the following fields:
ethertype (IPv4 or IPv6), source IP, destination IP, ipproto UDP, UDP destination port. This simplifies checking for overlaps in the driver; the hardware supports a wider range of match fields which future driver work may expose.

Edward Cree (6):
sfc: document TC-to-EF100-MAE action translation concepts
sfc: add notion of match on enc keys to MAE machinery
sfc: handle enc keys in efx_tc_flower_parse_match()
sfc: add functions to insert encap matches into the MAE
sfc: add code to register and unregister encap matches
sfc: add offloading of 'foreign' TC (decap) rules

 drivers/net/ethernet/sfc/mae.c | 227 ++++++++++++-
 drivers/net/ethernet/sfc/mae.h |  11 +
 drivers/net/ethernet/sfc/tc.c  | 600 ++++++++++++++++++++++++++++++++-
 drivers/net/ethernet/sfc/tc.h  |  37 ++
 4 files changed, 857 insertions(+), 18 deletions(-)

---
I'm never quite sure when review tags should carry over to the next version, so I've retained Simon's only on those patches which are entirely unchanged. Hope that's right.