[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210208185558.995292-1-willemdebruijn.kernel@gmail.com>
Date: Mon, 8 Feb 2021 13:55:54 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: virtualization@...ts.linux-foundation.org
Cc: netdev@...r.kernel.org, mst@...hat.com, jasowang@...hat.com,
richardcochran@...il.com, Willem de Bruijn <willemb@...gle.com>
Subject: [PATCH RFC v2 0/4] virtio-net: add tx-hash, rx-tstamp, tx-tstamp and tx-time
From: Willem de Bruijn <willemb@...gle.com>
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(-)
--
2.30.0.478.g8a0d178c01-goog
Powered by blists - more mailing lists