• Herbert Xu's avatar
    virtio net: Allow receiving SG packets · 97402b96
    Herbert Xu authored
    Finally this patch lets virtio_net receive GSO packets in addition
    to sending them.  This can definitely be optimised for the non-GSO
    case.  For comparison the Xen approach stores one page in each skb
    and uses subsequent skb's pages to construct an SG skb instead of
    preallocating the maximum amount of pages per skb.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (added feature bits)
    97402b96
virtio_net.c 16.4 KB