> -----Original Message----- > From: Varghese, Vipin > Sent: Tuesday, November 6, 2018 12:49 PM > To: dev@dpdk.org; tho...@monjalon.net; Pattan, Reshma > <reshma.pat...@intel.com>; step...@networkplumber.org; Mcnamara, John > <john.mcnam...@intel.com> > Cc: Byrne, Stephen1 <stephen1.by...@intel.com>; Glynn, Michael J > <michael.j.gl...@intel.com>; Patel, Amol <amol.pa...@intel.com>; Varghese, > Vipin <vipin.vargh...@intel.com> > + /* 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); Thanks, Reshma
- Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: add sup... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: add... Varghese, Vipin
- [dpdk-dev] [PATCH v4 3/9] app/procinfo: add prototype fo... Vipin Varghese
- [dpdk-dev] [PATCH v4 4/9] app/procinfo: add support for ... Vipin Varghese
- Re: [dpdk-dev] [PATCH v4 4/9] app/procinfo: add sup... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v4 4/9] app/procinfo: add... Varghese, Vipin
- Re: [dpdk-dev] [PATCH v4 4/9] app/procinfo: add sup... Stephen Hemminger
- Re: [dpdk-dev] [PATCH v4 4/9] app/procinfo: add... Varghese, Vipin
- [dpdk-dev] [PATCH v4 2/9] app/procinfo: add compare for ... Vipin Varghese
- [dpdk-dev] [PATCH v4 8/9] app/procinfo: add support for ... Vipin Varghese
- Re: [dpdk-dev] [PATCH v4 8/9] app/procinfo: add sup... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v4 8/9] app/procinfo: add... Varghese, Vipin
- [dpdk-dev] [PATCH v4 7/9] app/procinfo: add support for ... Vipin Varghese
- [dpdk-dev] [PATCH v4 6/9] app/procinfo: add support for ... Vipin Varghese
- [dpdk-dev] [PATCH v4 9/9] doc/procinfo: add information ... Vipin Varghese