Re: [PATCH 2/3] partial checksum and GSO support for tun/tap.

2008-02-07 Thread Max Krasnyansky
Rusty Russell wrote: > (Changes since last time: we how have explicit IFF_RECV_CSUM and > IFF_RECV_GSO bits, and some renaming of virtio_net hdr) > > We use the virtio_net_hdr: it is an ABI already and designed to > encapsulate such metadata as GSO and partial checksums. > > IFF_VIRTIO_HDR means

[PATCH 2/3] partial checksum and GSO support for tun/tap.

2008-01-23 Thread Rusty Russell
(Changes since last time: we how have explicit IFF_RECV_CSUM and IFF_RECV_GSO bits, and some renaming of virtio_net hdr) We use the virtio_net_hdr: it is an ABI already and designed to encapsulate such metadata as GSO and partial checksums. IFF_VIRTIO_HDR means you will write and read a 'struct