Re: [dpdk-dev] [PATCH v4 2/3] vhost: rework async configuration struct

2021-07-15 Thread Hu, Jiayu
> -Original Message- > From: Xia, Chenbo > Sent: Friday, July 16, 2021 2:28 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v4 2/3] vhost: rework async configuration struct > > > > > > -vq->async_inorder = f.async_inorder; async_threshold = > >

Re: [dpdk-dev] [PATCH v4 2/3] vhost: rework async configuration struct

2021-07-15 Thread Xia, Chenbo
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Friday, July 16, 2021 2:18 PM > To: Xia, Chenbo ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v4 2/3] vhost: rework async configuration struct > > Thanks Chenbo for your comments. > > Replies are inline. >

Re: [dpdk-dev] [PATCH v4 2/3] vhost: rework async configuration struct

2021-07-15 Thread Hu, Jiayu
Thanks Chenbo for your comments. Replies are inline. > -Original Message- > From: Xia, Chenbo > Sent: Friday, July 16, 2021 2:03 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v4 2/3] vhost: rework async configuration struct > > Hi Jiayu, > > >

Re: [dpdk-dev] [PATCH v4 2/3] vhost: rework async configuration struct

2021-07-15 Thread Xia, Chenbo
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Tuesday, July 13, 2021 3:46 PM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, Jiayu > > Subject: [PATCH v4 2/3] vhost: rework async configuration struct Struct -> structure > > This patch reworks the asy

[dpdk-dev] [PATCH v4 2/3] vhost: rework async configuration struct

2021-07-12 Thread Jiayu Hu
This patch reworks the async configuration structure to improve code readability. In addition, add preserved padding fields on the structure for future usage. Signed-off-by: Jiayu Hu --- doc/guides/prog_guide/vhost_lib.rst | 19 +++ examples/vhost/main.c | 8 --