netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/1] taprio: Handle short intervals and large packets
@ 2021-03-18  7:34 Kurt Kanzenbach
  2021-03-18  7:34 ` [PATCH net-next 1/1] " Kurt Kanzenbach
  2021-03-19 19:10 ` [PATCH net-next 0/1] " patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Kurt Kanzenbach @ 2021-03-18  7:34 UTC (permalink / raw)
  To: Vinicius Costa Gomes
  Cc: Vladimir Oltean, Jamal Hadi Salim, Cong Wang, Jiri Pirko,
	David S. Miller, Jakub Kicinski, Sebastian Andrzej Siewior,
	netdev, Kurt Kanzenbach

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/20210312092823.1429-1-kurt@linutronix.de/

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

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

-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-19 19:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-18  7:34 [PATCH net-next 0/1] taprio: Handle short intervals and large packets Kurt Kanzenbach
2021-03-18  7:34 ` [PATCH net-next 1/1] " Kurt Kanzenbach
2021-03-19 19:10 ` [PATCH net-next 0/1] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).