Re: [6/6] [VIRTIO] net: Allow receiving SG packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 18 April 2008 13:24:27 Herbert Xu wrote:
> 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.

Well, this ends up freeing the unused pages immediately which is actually 
quite nice.  We can cache them ourselves if we want, but we'd have to see if 
the page allocation/free overhead is measurable...

Thanks!
Rusty.
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux