[dpdk-dev] [PATCH v2 1/3] vhost: add unsafe API to drain pkts in async vhost
Pai G, Sunil
sunil.pai.g at intel.com
Thu Jul 8 09:15:15 CEST 2021
Hi Cheng,
Repsonse inline.
<snipped>
> As for this one, I'm not sure why we need have the loop in the application.
> The function of this API is that caller need to drain all the inflight pkts, it
> should be called only once to get the job done.
> Don't you think?
Perhaps yes, but my thought was to provide application the flexibility to change the DMA device per call to check_completed_copies callback if it did require it.
>
> Thanks.
> Cheng
>
> >
> > > +
> > > + return n_pkts;
> > > +}
> > > +
> >
> > <snipped>
> >
> >
More information about the dev
mailing list