> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Maxime Coquelin > Sent: Wednesday, April 21, 2021 3:49 PM > To: Balazs Nemeth <bnem...@redhat.com>; dev@dpdk.org > Cc: david.march...@redhat.com > Subject: Re: [dpdk-dev] [PATCH v5] vhost: allocate and free packets in bulk in > Tx packed > > > > 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 <bnem...@redhat.com> > > --- > > lib/librte_vhost/virtio_net.c | 80 +++++++++++++++++++---------------- > > 1 file changed, 44 insertions(+), 36 deletions(-) > >
Patch applied to next-virtio/main with conflict resolved. Thanks