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

Reply via email to