[dpdk-dev] [PATCH v5] vhost: allocate and free packets in bulk in Tx packed

2021-04-16 Thread Balazs Nemeth
Move allocation out further and perform all allocation in bulk. The same goes for freeing packets. In the process, also introduce virtio_dev_pktmbuf_prep and make virtio_dev_pktmbuf_alloc use that. Signed-off-by: Balazs Nemeth --- lib/librte_vhost/virtio_net.c | 80 +++---

Re: [dpdk-dev] [PATCH v5] vhost: allocate and free packets in bulk in Tx packed

2021-04-16 Thread David Marchand
On Fri, Apr 16, 2021 at 12:26 PM Balazs Nemeth wrote: > > Move allocation out further and perform all allocation in bulk. The same > goes for freeing packets. In the process, also introduce > virtio_dev_pktmbuf_prep and make virtio_dev_pktmbuf_alloc use that. > > Signed-off-by: Balazs Nemeth Rev

Re: [dpdk-dev] [PATCH v5] vhost: allocate and free packets in bulk in Tx packed

2021-04-21 Thread Maxime Coquelin
On 4/16/21 12:25 PM, Balazs Nemeth wrote: > Move allocation out further and perform all allocation in bulk. The same > goes for freeing packets. In the process, also introduce > virtio_dev_pktmbuf_prep and make virtio_dev_pktmbuf_alloc use that. > > Signed-off-by: Balazs Nemeth > --- > lib/li

Re: [dpdk-dev] [PATCH v5] vhost: allocate and free packets in bulk in Tx packed

2021-04-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Maxime Coquelin > Sent: Wednesday, April 21, 2021 3:49 PM > To: Balazs Nemeth ; dev@dpdk.org > Cc: david.march...@redhat.com > Subject: Re: [dpdk-dev] [PATCH v5] vhost: allocate and free packets in bulk in > Tx packed >