> > +   if (rte_pktmbuf_alloc_bulk(umem->mb_pool, fq_bufs, nb_pkts)) {
> > +           AF_XDP_LOG(DEBUG,
> > +                   "Failed to get enough buffers for fq.\n");
> > +           /* rollback cached_cons which is added by
> > +            * xsk_ring_prod__needs_wakeup
> > +            */
> 
> Thanks for adding the comment.
> There's a small mistake here.
> The function in which cached_cons is added is xsk_ring_cons__peek.
> Could you please submit a v4 with this change?
> Thanks!
> Ciara
> 

Sorry, I will send V4

Thanks

-Li

Reply via email to