Re: [dpdk-dev] [PATCH v7 05/10] vhost: checkout the resubmit inflight information

2019-09-26 Thread Yu, Jin
> -Original Message- > From: Bie, Tiwei > Sent: Thursday, September 26, 2019 4:05 PM > To: Yu, Jin > Cc: dev@dpdk.org; Liu, Changpeng ; > maxime.coque...@redhat.com; Wang, Zhihong ; Lin > Li ; Xun Ni ; Yu Zhang > > Subject: Re: [PATCH v7 05/10] vhost: checkout the resubmit inflight > inf

Re: [dpdk-dev] [PATCH v7 05/10] vhost: checkout the resubmit inflight information

2019-09-26 Thread Tiwei Bie
On Fri, Sep 20, 2019 at 08:00:57PM +0800, Jin Yu wrote: > @@ -1458,6 +1472,188 @@ static int vhost_user_set_vring_err(struct virtio_net > **pdev __rte_unused, > return RTE_VHOST_MSG_RESULT_OK; > } > > +static int > +resubmit_desc_compare(const void *a, const void *b) > +{ > + const st

[dpdk-dev] [PATCH v7 05/10] vhost: checkout the resubmit inflight information

2019-09-19 Thread Jin Yu
This patch shows how to checkout the inflight ring and construct the resubmit information also include destroying resubmit info. Signed-off-by: Lin Li Signed-off-by: Xun Ni Signed-off-by: Yu Zhang Signed-off-by: Jin Yu --- lib/librte_vhost/rte_vhost.h | 19 +++ lib/librte_vhost/vhost.c