Skip to content

sfc: add basic flower matches to offload

[email protected] netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesApplied 5/5
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* changed CHECK macro to not hide control flow. Annoyingly, gcc complains if we don't use the result of the OR-expression we're using to get short- circuiting behaviour (ensuring we only report the first error), so we have to have an if-statement that's semantically redundant.
* added explanation to patch #1 of why these checks aren't vital for correctness (and thus don't need to have a Fixes tag or go to net).

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5sfc: check recirc_id match caps before MAE offloaddrivers/net/ethernet/sfc/mae.c+17 -00 repliesApplied
2/5sfc: add Layer 2 matches to ef100 TC offloaddrivers/net/ethernet/sfc/mae.c drivers/net/ethernet/sfc/mcdi.h drivers/net/ethernet/sfc/tc.c +1 more+103 -60 repliesApplied
3/5sfc: add Layer 3 matches to ef100 TC offloaddrivers/net/ethernet/sfc/mae.c drivers/net/ethernet/sfc/mcdi.h drivers/net/ethernet/sfc/tc.c +1 more+100 -90 repliesApplied
4/5sfc: add Layer 3 flag matches to ef100 TC offloaddrivers/net/ethernet/sfc/mae.c drivers/net/ethernet/sfc/tc.c drivers/net/ethernet/sfc/tc.h+35 -10 repliesApplied
5/5sfc: add Layer 4 matches to ef100 TC offloaddrivers/net/ethernet/sfc/mae.c drivers/net/ethernet/sfc/tc.c drivers/net/ethernet/sfc/tc.h+37 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/5] sfc: add basic flower matches to offload

From: Edward Cree <[email protected]>

Support offloading TC flower rules with matches on L2-L4 fields.

Changed in v2:
* changed CHECK macro to not hide control flow. Annoyingly, gcc complains if we don't use the result of the OR-expression we're using to get short- circuiting behaviour (ensuring we only report the first error), so we have to have an if-statement that's semantically redundant.
* added explanation to patch #1 of why these checks aren't vital for correctness (and thus don't need to have a Fixes tag or go to net).

Edward Cree (5):
sfc: check recirc_id match caps before MAE offload
sfc: add Layer 2 matches to ef100 TC offload
sfc: add Layer 3 matches to ef100 TC offload
sfc: add Layer 3 flag matches to ef100 TC offload
sfc: add Layer 4 matches to ef100 TC offload

 drivers/net/ethernet/sfc/mae.c  | 131 ++++++++++++++++++++++++++++++
 drivers/net/ethernet/sfc/mcdi.h |  12 +++
 drivers/net/ethernet/sfc/tc.c   | 137 +++++++++++++++++++++++++++++---
 drivers/net/ethernet/sfc/tc.h   |  16 ++++
 4 files changed, 285 insertions(+), 11 deletions(-)