sfc: more flexible encap matches on TC decap rules
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
- v2 Latest4 patches 2 repliesApplied 4/4
- v14 patches 2 repliesSuperseded
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sfc: release encap match in efx_tc_flow_free()drivers/ | +15 | 0 replies | Applied |
| 2/4 | sfc: populate enc_ip_tos matches in MAE outer rulesdrivers/ drivers/ drivers/ +1 more | +20 | 0 replies | Applied |
| 3/4 | sfc: support TC decap rules matching on enc_ip_tosdrivers/ drivers/ | +133 | 2 replies | Applied |
| 4/4 | sfc: support TC decap rules matching on enc_src_portdrivers/ drivers/ drivers/ +1 more | +41 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 net-next 0/4] sfc: more flexible encap matches on TC decap rules
From: Edward Cree <[email protected]>
This series extends the TC offload support on EF100 to support optionally
matching on the IP ToS and UDP source port of the outer header in rules performing tunnel decapsulation. Both of these fields allow masked matches if the underlying hardware supports it (current EF100 hardware supports masking on ToS, but only exact-match on source port).
Given that the source port is typically populated from a hash of inner
header entropy, it's not clear whether filtering on it is useful, but since we can support it we may as well expose the capability.
Edward Cree (4):
sfc: release encap match in efx_tc_flow_free()
sfc: populate enc_ip_tos matches in MAE outer rules
sfc: support TC decap rules matching on enc_ip_tos
sfc: support TC decap rules matching on enc_src_port
drivers/net/ethernet/sfc/mae.c | 28 ++++- drivers/net/ethernet/sfc/mae.h | 1 + drivers/net/ethernet/sfc/tc.c | 205 +++++++++++++++++++++++---------- drivers/net/ethernet/sfc/tc.h | 27 +++++ 4 files changed, 197 insertions(+), 64 deletions(-)