netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] virtio-net: add tx-hash, rx-tstamp, tx-tstamp and tx-time
@ 2023-12-18 11:37 Steffen Trumtrar
  2023-12-18 11:37 ` [PATCH RFC 1/4] virtio-net: support transmit hash report Steffen Trumtrar
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Steffen Trumtrar @ 2023-12-18 11:37 UTC (permalink / raw)
  To: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Richard Cochran
  Cc: virtualization, netdev, linux-kernel, Willem de Bruijn

This series tries to pick up the work on the virtio-net timestamping
feature from Willem de Bruijn.

Original series
    Message-Id: 20210208185558.995292-1-willemdebruijn.kernel@gmail.com
    Subject: [PATCH RFC v2 0/4] virtio-net: add tx-hash, rx-tstamp,
    tx-tstamp and tx-time
    From: Willem de Bruijn <willemb@google.com>

    RFC for four new features to the virtio network device:

    1. pass tx flow state to host, for routing + telemetry
    2. pass rx tstamp to guest, for better RTT estimation
    3. pass tx tstamp to guest, idem
    3. pass tx delivery time to host, for accurate pacing

    All would introduce an extension to the virtio spec.

The original series consisted of a hack around the DMA API, which should
be fixed in this series.

The changes in this series are to the driver side. For the changes to qemu see:
    https://github.com/strumtrar/qemu/tree/v8.1.1/virtio-net-ptp

Currently only virtio-net is supported. The original series used
vhost-net as backend. However, the path through tun via sendmsg doesn't
allow us to write data back to the driver side without any hacks.
Therefore use the way via plain virtio-net without vhost albeit better
performance.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
Willem de Bruijn (4):
      virtio-net: support transmit hash report
      virtio-net: support receive timestamp
      virtio-net: support transmit timestamp
      virtio-net: support future packet transmit time

 drivers/net/virtio_net.c        | 211 ++++++++++++++++++++++++++++++++++++++--
 include/uapi/linux/virtio_net.h |  24 ++++-
 2 files changed, 228 insertions(+), 7 deletions(-)
---
base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86
change-id: 20231218-v6-7-topic-virtio-net-ptp-3df023bc4f4d

Best regards,
-- 
Steffen Trumtrar <s.trumtrar@pengutronix.de>


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

end of thread, other threads:[~2023-12-20  4:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-18 11:37 [PATCH RFC 0/4] virtio-net: add tx-hash, rx-tstamp, tx-tstamp and tx-time Steffen Trumtrar
2023-12-18 11:37 ` [PATCH RFC 1/4] virtio-net: support transmit hash report Steffen Trumtrar
2023-12-19 18:36   ` Michael S. Tsirkin
2023-12-18 11:37 ` [PATCH RFC 2/4] virtio-net: support receive timestamp Steffen Trumtrar
2023-12-18 11:37 ` [PATCH RFC 3/4] virtio-net: support transmit timestamp Steffen Trumtrar
2023-12-18 11:37 ` [PATCH RFC 4/4] virtio-net: support future packet transmit time Steffen Trumtrar
2023-12-18 16:36 ` [PATCH RFC 0/4] virtio-net: add tx-hash, rx-tstamp, tx-tstamp and tx-time Willem de Bruijn
2023-12-20  3:48   ` Jason Wang
2023-12-20  4:25     ` Willem de Bruijn

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).