[virtio-dev] [RFC] packed (virtio-net) headers

2017-02-27 Thread Yuanhan Liu
Hi, For virtio-net, we use 2 descs for representing a (small) pkt. One for virtio-net header and another one for the pkt data. And it has two issues: - the desc buffer for storing pkt data is halfed Though we later introduced 2 more options to overcome this: ANYLAY_OUT and indirect desc. The

Re: [virtio-dev] packed ring layout proposal v2

2017-02-27 Thread Yuanhan Liu
On Wed, Feb 08, 2017 at 05:20:14AM +0200, Michael S. Tsirkin wrote: > This is an update from v1 version. > Changes: > - update event suppression mechanism > - separate options for indirect and direct s/g > - lots of new features > > --- > > Performance analysis of this is in my kvm forum 2016 pre

Re: [virtio-dev] packed ring layout proposal - todo list

2017-02-27 Thread Yuanhan Liu
Hi Michael, Again, as usual, sorry for being late :/ On Wed, Feb 22, 2017 at 06:27:11AM +0200, Michael S. Tsirkin wrote: > Stage 2: prototype guest/host drivers > > At this stage we need real guest and host drivers > to be able to test real life performance. > I suggest dpdk drivers + munimal ha