qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/4] virtio-net: Add support to MTU feature
@ 2016-09-06 16:11 Maxime Coquelin
  2016-09-06 16:11 ` [Qemu-devel] [RFC 1/4] virtio-net: reuse MTU related bits from Linux header Maxime Coquelin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Maxime Coquelin @ 2016-09-06 16:11 UTC (permalink / raw)
  To: mst, qemu-devel; +Cc: jasowang, Maxime Coquelin

This series is based on on-going RFC from Aaron Conole which defines
a way for the host to expose its max MTU to the guest [0].

Using it, the guest can size its receive buffers accordingly, and if
GRO is disabled, can disable the mergeable buffers to improve performance.

In this version, the only way to pass the MTU relies on the added MTU protocol
feature, but it could also be done with a new property.

Thanks,
Maxime

[0]: https://lists.oasis-open.org/archives/virtio-dev/201609/msg00021.html

Maxime Coquelin (4):
  virtio-net: reuse MTU related bits from Linux header
  vhost-user: Add new protocol feature MTU
  vhost-net: Add new MTU feature support
  virtio-net: Add MTU feature support

 hw/net/vhost_net.c                          | 11 +++++++++++
 hw/net/virtio-net.c                         | 16 ++++++++++++++++
 hw/virtio/vhost-user.c                      | 11 +++++++++++
 include/hw/virtio/vhost.h                   |  1 +
 include/hw/virtio/virtio-net.h              |  1 +
 include/net/vhost_net.h                     |  2 ++
 include/standard-headers/linux/virtio_net.h |  3 +++
 7 files changed, 45 insertions(+)

-- 
2.7.4

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

end of thread, other threads:[~2016-09-16  6:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-06 16:11 [Qemu-devel] [RFC 0/4] virtio-net: Add support to MTU feature Maxime Coquelin
2016-09-06 16:11 ` [Qemu-devel] [RFC 1/4] virtio-net: reuse MTU related bits from Linux header Maxime Coquelin
2016-09-06 16:11 ` [Qemu-devel] [RFC 2/4] vhost-user: Add new protocol feature MTU Maxime Coquelin
2016-09-06 16:11 ` [Qemu-devel] [RFC 3/4] vhost-net: Add new MTU feature support Maxime Coquelin
2016-09-06 16:11 ` [Qemu-devel] [RFC 4/4] virtio-net: Add " Maxime Coquelin
2016-09-15 22:16   ` Paolo Bonzini
2016-09-16  6:36     ` Maxime Coquelin

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