• Rusty Russell's avatar
    virtio: finer-grained features for virtio_net · 5539ae96
    Rusty Russell authored
    So, we previously had a 'VIRTIO_NET_F_GSO' bit which meant that 'the
    host can handle csum offload, and any TSO (v4&v6 incl ECN) or UFO
    packets you might want to send.  I thought this was good enough for
    Linux, but it actually isn't, since we don't do UFO in software.
    
    So, add separate feature bits for what the host can handle.  Add
    equivalent ones for the guest to say what it can handle, because LRO
    is coming too (thanks Herbert!).
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    5539ae96
virtio_net.c 13.2 KB