On 4/16/21 10:18 AM, Balazs Nemeth wrote: > Move allocation out further and perform all allocation in bulk. The same > goes for freeing packets. In the process, also rename > virtio_dev_pktmbuf_alloc to virtio_dev_pktmbuf_prep. This > function now receives an already allocated mbuf pointer. > > Signed-off-by: Balazs Nemeth <bnem...@redhat.com> > --- > lib/librte_vhost/virtio_net.c | 58 +++++++++++++++++++++++------------ > 1 file changed, 38 insertions(+), 20 deletions(-) > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime
- [dpdk-dev] [PATCH v3] vhost: allocate and free packets in ... Balazs Nemeth
- Re: [dpdk-dev] [PATCH v3] vhost: allocate and free pa... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v3] vhost: allocate and free pa... David Marchand
- Re: [dpdk-dev] [PATCH v3] vhost: allocate and fre... Balazs Nemeth
- Re: [dpdk-dev] [PATCH v3] vhost: allocate and... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v3] vhost: allocate and... David Marchand
- [dpdk-dev] [PATCH v4] vhost: allocate and free packet... Balazs Nemeth
- [dpdk-dev] [PATCH v5] vhost: allocate and free pa... Balazs Nemeth
- Re: [dpdk-dev] [PATCH v5] vhost: allocate and... David Marchand
- Re: [dpdk-dev] [PATCH v5] vhost: allocate and... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v5] vhost: allocate... Xia, Chenbo