[dpdk-dev] [PATCH v4 8/9] app/procinfo: add support for show mempool

Varghese, Vipin vipin.varghese at intel.com
Thu Nov 22 15:21:41 CET 2018


> > +			/* iterate each object */
> > +			int ret = rte_mempool_obj_iter(ptr,
> > +				mempool_itr_obj, NULL);
> 
> rte_mempool_obj_iter returns uint32_t,  so good to use  "ret" type to be
> uint32_t. So it will be in synch with below printf too.
> 
> > +			printf("  - iterated %u objects\n", ret);

Done for v5


More information about the dev mailing list