Skip to content

RFC virtio-net: add tx-hash, rx-tstamp, tx-tstamp and tx-time

Willem de Bruijn netdev virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest4 patches 14 repliesIn review
  2. v1 RFC3 patches 28 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4virtio-net: support transmit hash reportdrivers/net/virtio_net.c include/uapi/linux/virtio_net.h+31 -40 replies
2/4virtio-net: support receive timestampdrivers/net/virtio_net.c include/uapi/linux/virtio_net.h+124 -23 replies
3/4virtio-net: support transmit timestampdrivers/net/virtio_net.c drivers/virtio/virtio_ring.c include/linux/virtio.h +1 more+56 -108 replies
4/4virtio-net: support future packet transmit timedrivers/net/virtio_net.c include/uapi/linux/virtio_net.h+13 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH RFC v2 0/4] virtio-net: add tx-hash, rx-tstamp, tx-tstamp and tx-time

From: Willem de Bruijn <[email protected]>

RFCv2 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. Concurrently with code review I will write ballots to
https://www.oasis-open.org/committees/ballots.php?wg_abbrev=virtio

These changes are to the driver side. Evaluation additionally requires achanges to qemu and at least one back-end. I implemented preliminary support in Linux vhost-net. Both patches available through github at

https://github.com/wdebruij/linux/tree/virtio-net-txhash-2
https://github.com/wdebruij/qemu/tree/virtio-net-txhash-2

Changes RFC -> RFCv2
- add transmit timestamp patch
- see individual patches for other changes

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        | 193 +++++++++++++++++++++++++++++++-
 drivers/virtio/virtio_ring.c    |   3 +-
 include/linux/virtio.h          |   1 +
 include/uapi/linux/virtio_net.h |  24 +++-
 4 files changed, 214 insertions(+), 7 deletions(-)
Signature · 6 lines
2.30.0.478.g8a0d178c01-goog

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization