Thank you very much! I will post a patch tomorrow. --Best wishes! //Zhang Jie -----Original Message----- From: Michael S. Tsirkin [mailto:mst@xxxxxxxxxx] Sent: Thursday, April 24, 2014 7:45 PM To: Zhangjie (HZ) Cc: jasowang@xxxxxxxxxx; Qinchuanyu; Liuyongan; kvm@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx Subject: Re: Change dev->needed_headroom of virtio_net to make Patch"virtio-net: put virtio net header inline with data"work better On Thu, Apr 24, 2014 at 10:19:58AM +0000, Zhangjie (HZ) wrote: > Hi! > > Patch “virtio-net: put virtio net header inline with data” , has a > notable improvement for TCP packages. > > But UDP packages from virtio_net nic, do not have enough head room. I > wonder if we can set dev->needed_headroom > > to the size of virtio net header, so as to put the header in. By doing > this, udp get about 5% improvement in bandwidth. Sounds like a reasonable thing to do. Want to post the patch so people can try it out? > > > -- > > Thanks, > > //Zhang Jie > > > ��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�