> -----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]>
> Subject: [PATCH v4 4/9] app/procinfo: add support for show port


> +             snprintf(bdr_str, 100, " Port (%u)", i);

%s/100/MAX_STRING_LEN ?

> +                     ret = rte_eth_dev_rss_hash_conf_get(i, &rss_conf);
> +                     if ((ret) || (rss_conf.rss_key == NULL))
> +                             continue;
> +
> +                     printf("\t  -- RSS len %u key (hex):",
> +                             rss_conf.rss_key_len);
> +                     for (k = 0; k < rss_conf.rss_key_len; k++)
> +                             printf(" %x", rss_conf.rss_key[k]);
> +                     printf("\t  -- hf 0x%"PRIx64"\n",
> +                             rss_conf.rss_hf);
> +             }
> +

Should this be out of queues for loop? 

Thanks,
Reshma

Reply via email to