qemu-e2k/include/net
Scott Feldman d32fcad366 net: increase buffer size to accommodate Jumbo frame pkts
Socket buffer sizes were hard-coded to 4K for VDE and socket netdevs.  Bump this
up to 68K (ala tap netdev) to handle maximum GSO packet size (64k) plus plenty
of room for the ethernet and virtio_net headers.

Originally, ran into this limitation when using -netdev UDP sockets to connect
VM-to-VM, where VM interface is configure with MTU=9000.  (Using virtio_net
NIC model).  Test is simple: ping -M do -s 8500 <target>.  This test will
attempt to ping with unfragmented packet of given size.  Without patch, size
is limited to < 4K (minus protocol hdrs).  With patch, ping test works with pkt
size up to 9000 (again, minus protocol hdrs).

v2: per Stefan, increase buf size to (4096+65536) as done in tap and apply
    to vde and socket netdevs.
v1: increase buf size to 12K just for -netdev UDP sockets

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-03-25 11:14:07 +01:00
..
checksum.h net: iovec checksum calculator 2013-03-25 11:13:10 +01:00
eth.h Common definitions for VMWARE devices 2013-03-25 11:13:10 +01:00
net.h net: increase buffer size to accommodate Jumbo frame pkts 2013-03-25 11:14:07 +01:00
queue.h
slirp.h HMP: add QDict to info callback handler 2013-01-17 10:24:52 -02:00
tap.h tap: multiqueue support 2013-02-01 11:03:02 -06:00