Re: [dpdk-dev] [PATCH v4 1/2] vhost: introduce async enqueue registration API

2020-07-06 Thread Fu, Patrick
Hi, > -Original Message- > From: Liu, Yong > Sent: Monday, July 6, 2020 11:06 AM > To: Fu, Patrick ; dev@dpdk.org; > maxime.coque...@redhat.com; Xia, Chenbo ; Wang, > Zhihong > Cc: Fu, Patrick ; Wang, Yinan > ; Jiang, Cheng1 ; Liang, > Cunming > Subject

Re: [dpdk-dev] [PATCH v4 1/2] vhost: introduce async enqueue registration API

2020-07-05 Thread Liu, Yong
Hi Patrick, Few comments are inline, others are fine to me. Regards, Marvin > diff --git a/lib/librte_vhost/vhost.c b/lib/librte_vhost/vhost.c > index 0d822d6..58ee3ef 100644 > --- a/lib/librte_vhost/vhost.c > +++ b/lib/librte_vhost/vhost.c > @@ -332,8 +332,13 @@ > { > if (vq_is_packed(de

[dpdk-dev] [PATCH v4 1/2] vhost: introduce async enqueue registration API

2020-07-03 Thread patrick . fu
From: Patrick Fu This patch introduces registration/un-registration APIs for vhost async data enqueue operation. Together with the registration APIs implementations, data structures and async callback functions required for async enqueue data path are also defined. Signed-off-by: Patrick Fu ---