From: Helin Zhang Date: Fri, 12 Jun 2015 07:34:01 +0000 (+0800) Subject: app/testpmd: show the hash key size X-Git-Tag: spdx-start~8836 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0e3f2317bc82003a07c9700ea8875a861c60634f;p=dpdk.git app/testpmd: show the hash key size As querying hash key size in byte was supported, it can be shown in testpmd after getting the device information if not zero. Signed-off-by: Helin Zhang Acked-by: Konstantin Ananyev --- diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 24c863785b..1d2914640b 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -361,6 +361,8 @@ port_infos_display(portid_t port_id) memset(&dev_info, 0, sizeof(dev_info)); rte_eth_dev_info_get(port_id, &dev_info); + if (dev_info.hash_key_size > 0) + printf("Hash key size in bytes: %u\n", dev_info.hash_key_size); if (dev_info.reta_size > 0) printf("Redirection table size: %u\n", dev_info.reta_size); if (!dev_info.flow_type_rss_offloads)