Re: [dpdk-dev] vhost: batch used descriptors chains write-back with packed ring

2018-12-06 Thread Maxime Coquelin
On 12/5/18 5:01 PM, Ilya Maximets wrote: On 28.11.2018 12:47, Maxime Coquelin wrote: Instead of writing back descriptors chains in order, let's write the first chain flags last in order to improve batching. I'm not sure if this fully compliant with virtio spec. It says that 'each side (driv

Re: [dpdk-dev] vhost: batch used descriptors chains write-back with packed ring

2018-12-05 Thread Michael S. Tsirkin
On Wed, Dec 05, 2018 at 07:01:23PM +0300, Ilya Maximets wrote: > On 28.11.2018 12:47, Maxime Coquelin wrote: > > Instead of writing back descriptors chains in order, let's > > write the first chain flags last in order to improve batching. > > I'm not sure if this fully compliant with virtio spec.

Re: [dpdk-dev] vhost: batch used descriptors chains write-back with packed ring

2018-12-05 Thread Ilya Maximets
On 28.11.2018 12:47, Maxime Coquelin wrote: > Instead of writing back descriptors chains in order, let's > write the first chain flags last in order to improve batching. I'm not sure if this fully compliant with virtio spec. It says that 'each side (driver and device) are only required to poll (or