sfc: bare bones TC offload
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
- v2 Latest6 patches 11 repliesApplied 6/6
- v16 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Add missing 'static' on declarations (kernel test robot, sparse)
Patches in v2 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | sfc: bind blocks for TC offload on EF100drivers/ drivers/ drivers/ +5 more | +224 | 1 reply | Applied |
| 2/6 | sfc: bind indirect blocks for TC offload on EF100drivers/ drivers/ drivers/ | +84 | 0 replies | Applied |
| 3/6 | sfc: optional logging of TC offload errorsdrivers/ drivers/ drivers/ +2 more | +61 | 10 replies | Applied |
| 4/6 | sfc: add a hashtable for offloaded TC rulesdrivers/ drivers/ drivers/ +1 more | +123 | 0 replies | Applied |
| 5/6 | sfc: interrogate MAE capabilities at probe timedrivers/ drivers/ drivers/ +1 more | +93 | 0 replies | Applied |
| 6/6 | sfc: bare bones TC offload on EF100drivers/ drivers/ drivers/ +2 more | +397 | 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/6] sfc: bare bones TC offload
From: Edward Cree <[email protected]>
This series begins the work of supporting TC flower offload on EF100 NICs. This is the absolute minimum viable TC implementation to get traffic to
VFs and allow them to be tested; it supports no match fields besides ingress port, no actions besides mirred and drop, and no stats.
More matches, actions, and counters will be added in subsequent patches.
Changed in v2:
- Add missing 'static' on declarations (kernel test robot, sparse)
Edward Cree (6):
sfc: bind blocks for TC offload on EF100
sfc: bind indirect blocks for TC offload on EF100
sfc: optional logging of TC offload errors
sfc: add a hashtable for offloaded TC rules
sfc: interrogate MAE capabilities at probe time
sfc: bare bones TC offload on EF100
drivers/net/ethernet/sfc/Makefile | 2 +- drivers/net/ethernet/sfc/ef100_ethtool.c | 2 + drivers/net/ethernet/sfc/ef100_netdev.c | 4 + drivers/net/ethernet/sfc/ef100_nic.c | 3 + drivers/net/ethernet/sfc/ef100_rep.c | 18 +- drivers/net/ethernet/sfc/ef100_rep.h | 1 + drivers/net/ethernet/sfc/ethtool_common.c | 37 ++ drivers/net/ethernet/sfc/ethtool_common.h | 2 + drivers/net/ethernet/sfc/mae.c | 165 +++++++++ drivers/net/ethernet/sfc/mae.h | 14 + drivers/net/ethernet/sfc/mcdi.h | 10 + drivers/net/ethernet/sfc/net_driver.h | 2 + drivers/net/ethernet/sfc/tc.c | 430 +++++++++++++++++++++- drivers/net/ethernet/sfc/tc.h | 36 ++ drivers/net/ethernet/sfc/tc_bindings.c | 228 ++++++++++++ drivers/net/ethernet/sfc/tc_bindings.h | 29 ++ 16 files changed, 980 insertions(+), 3 deletions(-) create mode 100644 drivers/net/ethernet/sfc/tc_bindings.c create mode 100644 drivers/net/ethernet/sfc/tc_bindings.h