e1000: multi-buffer packet support
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Feb 2011 16:27:48 +0000 (18:27 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 20 Feb 2011 14:18:10 +0000 (15:18 +0100)
commitba1b856c893c7032cb0359fa04f3d532d7c740a4
tree87b8974479c44d33a50dfa6095b3731da7a4451f
parentc0ad31f83a8d2a5d698a97c72c6abb573ffa52e6
e1000: multi-buffer packet support

e1000 supports multi-buffer packets larger than rxbuf_size.

This fixes the following (on linux):
- in guest: ifconfig eth1 mtu 16110
- in host: ifconfig tap0 mtu 16110
           ping -s 16082 <guest-ip>

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/e1000.c