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