Skip to content

taprio: Handle short intervals and large packets

Kurt Kanzenbach netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesApplied 1/1

Changes since RFC from the cover letter

* Move segmentation, so that timestamps for tx assisted mode are calculated for the segments
* Skip it for the full hardware offloading case

Patches in v1 All 1 applied

#Subject and filesSizeRepliesApplied
1/1taprio: Handle short intervals and large packetsnet/sched/sch_taprio.c+54 -100 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/1] taprio: Handle short intervals and large packets

Hi,

there is a problem with the software implementation of TAPRIO and TCP communication. When using short intervals e.g. below one millisecond, large packets won't be transmitted. That's because the software implementation takes the packet length and calculates the transmission time. If the transmission time is larger than the configured interval, no packet will be transmitted. Fix that by segmenting the skb for the software implementation.

Tested with software only and full hardware offloading applied using iperf3.

Vinicius, do you mind testing as well?

Changes since RFC:

* Move segmentation, so that timestamps for tx assisted mode are calculated for the segments
* Skip it for the full hardware offloading case

Previous versions:

* https://lkml.kernel.org/netdev/[email protected]/

Kurt Kanzenbach (1):
taprio: Handle short intervals and large packets

 net/sched/sch_taprio.c | 64 +++++++++++++++++++++++++++++++++++-------
 1 file changed, 54 insertions(+), 10 deletions(-)
Signature · 1 line
2.20.1