Skip to content

net: prepare pacing offload support

Eric Dumazet 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 Latest2 patches 0 repliesApplied 2/2
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 7 repliesSuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: add IFLA_MAX_PACING_OFFLOAD_HORIZON device attributeDocumentation/netlink/specs/rt_link.yaml Documentation/networking/net_cachelines/net_device.rst include/linux/netdevice.h +3 more+15 -00 repliesApplied
2/2net_sched: sch_fq: add the ability to offload pacinginclude/uapi/linux/pkt_sched.h net/sched/sch_fq.c+29 -60 repliesApplied

Reviews trailers per patch

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

PatchWillem de Bruijn
1/2R-b
2/2R-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 v3 net-next 0/2] net: prepare pacing offload support

Some network devices have the ability to offload EDT (Earliest Departure Time) which is the model used for TCP pacing and FQ packet scheduler.

Some of them implement the timing wheel mechanism described in
https://saeed.github.io/files/carousel-sigcomm17.pdf
with an associated 'timing wheel horizon'.

In order to upstream the NIC support, this series adds :

1) timing wheel horizon as a per-device attribute.

2) FQ packet scheduler support, to let paced packets below the timing wheel horizon be handled by the driver.

v3: added yaml doc per Jakub feedback.
v2: addressed Jakub feedback
( https://lore.kernel.org/netdev/[email protected]/T/#mf6294d714c41cc459962154cc2580ce3c9693663 )

Eric Dumazet (1):
net: add IFLA_MAX_PACING_OFFLOAD_HORIZON device attribute

Jeffrey Ji (1):
net_sched: sch_fq: add the ability to offload pacing

 Documentation/netlink/specs/rt_link.yaml      |  4 +++
 .../networking/net_cachelines/net_device.rst  |  1 +
 include/linux/netdevice.h                     |  4 +++
 include/uapi/linux/if_link.h                  |  1 +
 include/uapi/linux/pkt_sched.h                |  2 ++
 net/core/rtnetlink.c                          |  4 +++
 net/sched/sch_fq.c                            | 33 +++++++++++++++----
 tools/include/uapi/linux/if_link.h            |  1 +
 8 files changed, 44 insertions(+), 6 deletions(-)
Signature · 1 line
2.47.0.rc0.187.ge670bccf7e-goog