[dpdk-dev] [PATCH v2] virtio: tx with can_push when VERSION_1 is set

2016-11-30 Thread Pierre Pfister (ppfister)
Current virtio driver advertises VERSION_1 support, but does not handle device's VERSION_1 support when sending packets (it looks for ANY_LAYOUT feature, which is absent). This patch enables 'can_push' in tx path when VERSION_1 is advertised by the device. This significantly improves small

[dpdk-dev] [PATCH] virtio: tx with can_push when VERSION_1 is set

2016-11-30 Thread Pierre Pfister (ppfister)
> Le 22 nov. 2016 ? 14:17, Maxime Coquelin a > ?crit : > > Hi Pierre, > > On 11/22/2016 10:54 AM, Pierre Pfister (ppfister) wrote: >> Hello Maxime, >> >>> Le 9 nov. 2016 ? 15:51, Maxime Coquelin a >>> ?crit : >>> >>> Hi

[dpdk-dev] [PATCH] virtio: tx with can_push when VERSION_1 is set

2016-11-22 Thread Pierre Pfister (ppfister)
Hello Maxime, > Le 9 nov. 2016 ? 15:51, Maxime Coquelin a > ?crit : > > Hi Pierre, > > On 11/09/2016 01:42 PM, Pierre Pfister (ppfister) wrote: >> Hello Maxime, >> >> Sorry for the late reply. >> >> >>> Le 8 nov. 2016 ?

[dpdk-dev] [PATCH] virtio: tx with can_push when VERSION_1 is set

2016-11-09 Thread Pierre Pfister (ppfister)
Hello Maxime, Sorry for the late reply. > Le 8 nov. 2016 ? 10:44, Maxime Coquelin a > ?crit : > > Hi Pierre, > > On 11/08/2016 10:31 AM, Pierre Pfister (ppfister) wrote: >> Current virtio driver advertises VERSION_1 support, >> but does not handle device's VER

[dpdk-dev] [PATCH] virtio: tx with can_push when VERSION_1 is set

2016-11-08 Thread Pierre Pfister (ppfister)
Current virtio driver advertises VERSION_1 support, but does not handle device's VERSION_1 support when sending packets (it looks for ANY_LAYOUT feature, which is absent). This patch enables 'can_push' in tx path when VERSION_1 is advertised by the device. This significantly improves small

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Pierre Pfister (ppfister)
> Le 27 oct. 2016 ? 12:19, Wang, Zhihong a ?crit : > > > >> -Original Message- >> From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] >> Sent: Thursday, October 27, 2016 5:55 PM >> To: Wang, Zhihong ; Yuanhan Liu >> ; stephen at netwo

[dpdk-dev] [PATCH v3] virtio: enable indirect descriptors feature

2016-09-06 Thread Pierre Pfister (ppfister)
>From be1210e77f0f9072ccb8e6970552596b6780a44c Mon Sep 17 00:00:00 2001 From: Pierre Pfister Date: Fri, 2 Sep 2016 16:24:57 +0200 Subject: [PATCH] virtio: enable indirect descriptors feature Virtio indirect descriptors are supported by the data-path but the feature bit is

[dpdk-dev] [PATCH v2] virtio: enable indirect descriptors feature

2016-09-06 Thread Pierre Pfister (ppfister)
> Le 5 sept. 2016 ? 23:08, Stephen Hemminger a > ?crit : > > On Mon, 5 Sep 2016 16:24:13 +0200 > Maxime Coquelin wrote: > >> Thanks Pierre for sending the fix. >> >> Minor comments below: >> >> On 09/05/2016 08:52 AM, Pierre Pfister (p

[dpdk-dev] [PATCH v2] virtio: enable indirect descriptors feature

2016-09-05 Thread Pierre Pfister (ppfister)
Indirect descriptors support was disabled by commit 4a92b67151be11, presumably by accident as it was correctly supported. This patch simply adds VIRTIO_RING_F_INDIRECT_DESC back to the supported features bit mask, hence enabling the use of indirect descriptors when the feature is negociated with

[dpdk-dev] [PATCH] virtio: enable indirect descriptors feature

2016-09-05 Thread Pierre Pfister (ppfister)
> Le 5 sept. 2016 ? 04:20, Yuanhan Liu a ?crit > : > > On Fri, Sep 02, 2016 at 03:55:24PM +0000, Pierre Pfister (ppfister) wrote: >> Indirect descriptors support was disabled by commit 59d593f472a7, > > Hi, > > I failed to find this commit: > >

[dpdk-dev] [PATCH] virtio: enable indirect descriptors feature

2016-09-02 Thread Pierre Pfister (ppfister)
Indirect descriptors support was disabled by commit 59d593f472a7, presumably by accident as it was correctly supported. This patch simply adds VIRTIO_RING_F_INDIRECT_DESC back to the supported features bit mask, hence enabling the use of indirect descriptors when the feature is negociated with

[dpdk-dev] Enable virtio VIRTIO_RING_F_INDIRECT_DESC feature ?

2016-09-02 Thread Pierre Pfister (ppfister)
Hello all, I think http://dpdk.org/dev/patchwork/patch/5389/ disabled support of indirect buffers by accident. Am I missing something ? Is there a reason why this was disabled ? I tested it today and it seems to work fine. If you have no objection, could we re-enable it ? It is a very useful