Re: [dpdk-dev] [RFC 01/14] vhost: move async data in a dedicated structure

2021-10-14 Thread Maxime Coquelin
On 10/14/21 05:24, Hu, Jiayu wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, October 8, 2021 6:00 AM To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu ; Wang, YuanX ; Ma, WenwuX ; Richardson, Bruce ; Mcnamara, John Cc: Maxime Coquelin Subject: [RFC 01/14] vhost: m

Re: [dpdk-dev] [RFC 01/14] vhost: move async data in a dedicated structure

2021-10-13 Thread Hu, Jiayu
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 8, 2021 6:00 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, > WenwuX ; Richardson, Bruce > ; Mcnamara, John > > Cc: Maxime Coquelin > Subject: [RFC 01/14] vhost: move async data in a de

[dpdk-dev] [RFC 01/14] vhost: move async data in a dedicated structure

2021-10-07 Thread Maxime Coquelin
This patch moves async-related metadata from vhost_virtqueue to a dedicated struct. It makes it clear which fields are async related, and also saves some memory when async feature is not in use. Signed-off-by: Maxime Coquelin --- lib/vhost/vhost.c | 129 -