> -----Original Message-----
> From: Varghese, Vipin
> Sent: Tuesday, November 6, 2018 12:49 PM
> To: [email protected]; [email protected]; Pattan, Reshma
> <[email protected]>; [email protected]; Mcnamara, John
> <[email protected]>
> Cc: Byrne, Stephen1 <[email protected]>; Glynn, Michael J
> <[email protected]>; Patel, Amol <[email protected]>; Varghese,
> Vipin <[email protected]>
> +                     /* 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