hardware pacing offload
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
- v9 Latest7 patches 6 repliesApplied 7/7
- v86 patches 13 repliesSuperseded
- v76 patches 2 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 6 patches | 5 replies | Superseded | |
| v5 | 6 patches | 4 replies | Superseded | |
| v4 | 6 patches | 3 replies | Superseded | |
| v3 | 7 patches | 7 replies | Superseded | |
| v2 | 7 patches | 8 replies | Superseded | |
| v1 | 7 patches | 5 replies | Superseded |
Changes in v9 from the cover letter
- graceful fallback to sw pacing if hw pacing becomes unavailable
- add new FQ patch for this fq_offload_horizon() check
- simplify dev->pacing_offload_horizon to bool dev->pacing_offload
Patches in v9 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: rtnetlink: add pacing_offload attribute to net_deviceDocumentation/ Documentation/ include/ +2 more | +31 | 1 reply | Applied |
| 2/7 | net_sched: sch_fq: check device pacing offloadnet/ | +41 | 1 reply | Applied |
| 3/7 | net_sched: sch_fq: clear past skb->tstamp if offloading pacingnet/ | +15 | 1 reply | Applied |
| 4/7 | idpf: support pacing offloaddrivers/ drivers/ drivers/ +2 more | +165 | 1 reply | Applied |
| 5/7 | selftests: drv-net: refactor so_txtime errqueue handlingtools/ | +36 | 0 replies | Applied |
| 6/7 | selftests: drv-net: in so_txtime tell apart sw from hw pacingtools/ | +79 | 1 reply | Applied |
| 7/7 | selftests: drv-net: extend so_txtime with hw offloadtools/ tools/ | +79 | 1 reply | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.
Cover letter [PATCH net-next v9 0/7] hardware pacing offload
From: Willem de Bruijn <[email protected]>
Enable safe hardware pacing offload on a first device (idpf), plus support.
- Add rtnetlink support for admin control over the device feature
- Add device support to the idpf driver
Besides the main feature, also
- Small optimization to FQ offload: avoid unnecessary ktime_.._get().
- Expand so_txtime drv-net test with hw offload testcases.
Details and detailed changelog in the individual patches.
High level changes:
v8 -> v9
- graceful fallback to sw pacing if hw pacing becomes unavailable
- add new FQ patch for this fq_offload_horizon() check
- simplify dev->pacing_offload_horizon to bool dev->pacing_offload
v7 -> v8
- 2 small fixes: unused variable in idpf and new ruff warning in test
v6 -> v7
- Rebase onto conflicting patches and address feedback
v5 -> v6
- Address substantial opus 5 feedback
v4 -> v5
- Rebase + small kdoc fix only
v3 -> v4
- Replace ethtool API with rtnetlink
- Drop/defer pktgen patch: not essential
v8: https://lore.kernel.org/netdev/[email protected]/
v7: https://lore.kernel.org/netdev/[email protected]/
v6: https://lore.kernel.org/netdev/[email protected]/
v5: https://lore.kernel.org/netdev/[email protected]/
v4: https://lore.kernel.org/netdev/[email protected]/
v3: https://lore.kernel.org/netdev/[email protected]/
v2: https://lore.kernel.org/netdev/[email protected]/
v1: https://lore.kernel.org/netdev/[email protected]/
Willem de Bruijn (7):
net: rtnetlink: add pacing_offload attribute to net_device
net_sched: sch_fq: check device pacing offload
net_sched: sch_fq: clear past skb->tstamp if offloading pacing
idpf: support pacing offload
selftests: drv-net: refactor so_txtime errqueue handling
selftests: drv-net: in so_txtime tell apart sw from hw pacing
selftests: drv-net: extend so_txtime with hw offload
Documentation/netlink/specs/rt-link.yaml | 5 + .../networking/net_cachelines/net_device.rst | 1 + drivers/net/ethernet/intel/idpf/idpf.h | 12 ++ drivers/net/ethernet/intel/idpf/idpf_lib.c | 19 +++ drivers/net/ethernet/intel/idpf/idpf_txrx.c | 69 +++++++- drivers/net/ethernet/intel/idpf/idpf_txrx.h | 8 +- .../net/ethernet/intel/idpf/idpf_virtchnl.c | 60 ++++++- include/linux/netdevice.h | 2 + include/uapi/linux/if_link.h | 1 + net/core/rtnetlink.c | 22 +++ net/sched/sch_fq.c | 71 ++++++-- .../testing/selftests/drivers/net/so_txtime.c | 159 +++++++++++++----- .../selftests/drivers/net/so_txtime.py | 80 ++++++++- 13 files changed, 443 insertions(+), 66 deletions(-)
Signature · 1 line
2.55.0.1007.g17ff1f9808-goog