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> > > > >