Files
kernel-tenderloin-3.0/include/linux
Sridhar Samudrala bfd5f4a3d6 packet: Add GSO/csum offload support.
This patch adds GSO/checksum offload to af_packet sockets using
virtio_net_hdr. Based on Rusty's patch to add this support to tun.
It allows GSO/checksum offload to be enabled when using raw socket
backend with virtio_net.
Adds PACKET_VNET_HDR socket option to prepend virtio_net_hdr in the
receive path and process/skip virtio_net_hdr in the send path. This
option is only allowed with SOCK_RAW sockets attached to ethernet
type devices.

v2 updates
----------
Michael's Comments
- Perform length check in packet_snd() when GSO is off even when
  vnet_hdr is present.
- Check for SKB_GSO_FCOE type and return -EINVAL
- don't allow tx/rx ring when vnet_hdr is enabled.
Herbert's Comments
- Removed ethernet specific code.
- protocol value is assumed to be passed in by the caller.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-04 20:24:10 -08:00
..
2009-12-16 10:23:43 -08:00
2009-12-16 07:20:13 -08:00
2010-01-11 14:29:20 +01:00
2009-12-06 21:10:56 +01:00
2009-12-10 23:52:01 +00:00
2009-12-15 08:53:33 -08:00
2009-12-10 15:02:53 +01:00
2009-12-23 13:33:54 +01:00
2010-01-14 09:05:26 -05:00
2010-01-11 14:32:44 +01:00
2009-12-03 11:58:47 +00:00
2009-12-14 23:55:34 +01:00
2009-12-14 21:17:29 +01:00
2010-02-03 20:20:33 -08:00
2010-01-15 01:43:28 -08:00
2010-02-02 07:32:29 -08:00
2010-01-11 16:28:01 -08:00
2009-12-02 23:38:13 -08:00
2010-01-15 01:43:29 -08:00
2009-12-16 06:56:12 -08:00
2009-12-03 09:32:17 +02:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:36 -08:00
2009-12-26 20:40:34 -08:00
2009-12-15 08:53:20 -08:00
2009-12-12 13:08:15 +01:00
2010-02-03 20:32:28 -08:00
2009-12-09 12:12:44 +02:00
2010-01-04 15:41:47 -08:00
2010-02-04 10:23:02 -08:00
2009-12-15 08:53:25 -08:00
2009-12-03 11:43:23 +00:00
2009-12-15 08:53:20 -08:00
2009-12-16 22:32:29 -05:00
2010-01-14 22:38:09 -05:00
2009-12-15 08:53:16 -08:00
2010-01-16 12:15:38 -08:00
2009-12-16 12:16:49 -05:00