Re: [dpdk-dev] [PATCH 0/3] net/virtio: make virtqueue struct cache-friendly

2021-01-25 Thread Maxime Coquelin
On 12/21/20 5:14 PM, Maxime Coquelin wrote: > This series optimizes the cache usage of virtqueue struct, > by make a "fake" mbuf being dynamically allocated in Rx > virtnet struct, by removing a useless virtuque pointer > into the virtnet structs and by moving a few fields > to pack holes. > >

Re: [dpdk-dev] [PATCH 0/3] net/virtio: make virtqueue struct cache-friendly

2021-01-08 Thread Maxime Coquelin
Hi Chenbo, On 1/8/21 3:50 AM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Tuesday, December 22, 2020 12:15 AM >> To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com; >> david.march...@redhat.com; olivier.m...@6wind.com >> Cc: Maxime Coquelin

Re: [dpdk-dev] [PATCH 0/3] net/virtio: make virtqueue struct cache-friendly

2021-01-07 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, December 22, 2020 12:15 AM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com; > david.march...@redhat.com; olivier.m...@6wind.com > Cc: Maxime Coquelin > Subject: [PATCH 0/3] net/virtio: make virtqueue struct ca

[dpdk-dev] [PATCH 0/3] net/virtio: make virtqueue struct cache-friendly

2020-12-21 Thread Maxime Coquelin
This series optimizes the cache usage of virtqueue struct, by make a "fake" mbuf being dynamically allocated in Rx virtnet struct, by removing a useless virtuque pointer into the virtnet structs and by moving a few fields to pack holes. With these 3 patches, the virtqueue struct size goes from 576