[Patch v3] net/mana: use rte_pktmbuf_alloc_bulk for allocating RX WQEs

Long Li longli at microsoft.com
Thu Feb 1 20:41:51 CET 2024


> > +	/* Free the remaining mbufs that are not posted */
> > +	while (i < count) {
> > +		rte_pktmbuf_free(mbufs[i]);
> > +		i++;
> > +	}
> 
> there is also rte_pktmbuf_free_bulk() that could be used. probably won't make
> any material difference to perf though so just an fyi.

Thank you! Will use rte_pktmbuf_free_bulk().


More information about the dev mailing list