Re: [dpdk-dev] [PATCH v3 2/4] vhost: dynamically allocate async memory

2020-10-05 Thread Maxime Coquelin
On 9/29/20 11:29 AM, Patrick Fu wrote: > Allocate async internal memory buffer by rte_malloc(), replacing array > declaration inside vq structure. Dynamic allocation can help to save > memory footprint when async path is not registered. > > Signed-off-by: Patrick Fu > --- > lib/librte_vhost/v

[dpdk-dev] [PATCH v3 2/4] vhost: dynamically allocate async memory

2020-09-29 Thread Patrick Fu
Allocate async internal memory buffer by rte_malloc(), replacing array declaration inside vq structure. Dynamic allocation can help to save memory footprint when async path is not registered. Signed-off-by: Patrick Fu --- lib/librte_vhost/vhost.c | 69 ++-- li