macvtap: add GSO/csum offload support
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Feb 2010 05:48:17 +0000 (05:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 22:08:38 +0000 (14:08 -0800)
commitb9fb9ee07e67fce0b7bfd517a48710465706c30a
tree10dc1f67a21f2f065f603adf2fc7f86fd009a758
parent501c774cb13c3ef8fb7fc5f08fa19473f7d9a0db
macvtap: add GSO/csum offload support

Added flags field to macvtap_queue to enable/disable processing of
virtio_net_hdr via IFF_VNET_HDR. This flag is checked to prepend virtio_net_hdr
in the receive path and process/skip virtio_net_hdr in the send path.

Original patch by Sridhar, further changes by Arnd.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c