[dpdk-dev] [RFC PATCH] virtio: virtio ring layout optimization and vectorization rx

2015-09-22 Thread Stephen Hemminger
On Tue, 22 Sep 2015 15:37:13 +0200 Thomas Monjalon wrote: > 2015-09-22 09:29, Xie, Huawei: > > On 9/22/2015 4:38 PM, Thomas Monjalon wrote: > > > I thought it was clear we must avoid #ifdef for configuration. > > > Please check how to add a runtime flag. > > > Or better: keep only one path which

[dpdk-dev] [RFC PATCH] virtio: virtio ring layout optimization and vectorization rx

2015-09-22 Thread Thomas Monjalon
2015-09-22 09:29, Xie, Huawei: > On 9/22/2015 4:38 PM, Thomas Monjalon wrote: > > I thought it was clear we must avoid #ifdef for configuration. > > Please check how to add a runtime flag. > > Or better: keep only one path which works everywhere and well optimized. > > Thomas, i have this in mind

[dpdk-dev] [RFC PATCH] virtio: virtio ring layout optimization and vectorization rx

2015-09-22 Thread Thomas Monjalon
2015-09-18 00:17, Huawei Xie: > --- a/config/common_linuxapp > +++ b/config/common_linuxapp > @@ -241,6 +241,7 @@ CONFIG_RTE_LIBRTE_ENIC_DEBUG=n > # Compile burst-oriented VIRTIO PMD driver > # > CONFIG_RTE_LIBRTE_VIRTIO_PMD=y > +CONFIG_RTE_VIRTIO_SIMPLE=y >

[dpdk-dev] [RFC PATCH] virtio: virtio ring layout optimization and vectorization rx

2015-09-22 Thread Xie, Huawei
On 9/22/2015 4:38 PM, Thomas Monjalon wrote: > 2015-09-18 00:17, Huawei Xie: >> --- a/config/common_linuxapp >> +++ b/config/common_linuxapp >> @@ -241,6 +241,7 @@ CONFIG_RTE_LIBRTE_ENIC_DEBUG=n >> # Compile burst-oriented VIRTIO PMD driver >> # >> CONFIG_RTE_LIBRTE_VIRTIO_PMD=y >>

[dpdk-dev] [RFC PATCH] virtio: virtio ring layout optimization and vectorization rx

2015-09-18 Thread Huawei Xie
This single patch is for people to get familiar with the optimization and is for collecting feedbacks. It isn't splitted because it is straightforward. Haven't finished the cleanups. The description and illustration of the idea is in a previous mail titled "virtio optimization idea". ---