From: Ajit Khaparde Date: Thu, 28 Sep 2017 21:43:34 +0000 (-0500) Subject: net/bnxt: set the hash key size X-Git-Tag: spdx-start~1862 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2ba07b7dbd9d133d4149cd7b8568fc2f7c5ae293;p=dpdk.git net/bnxt: set the hash key size We were not setting the dev_info.hash_key_size. Setting it now. Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde --- diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index f8dfc1c652..5b17eef531 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -378,6 +378,7 @@ static void bnxt_dev_info_get_op(struct rte_eth_dev *eth_dev, dev_info->max_rx_queues = max_rx_rings; dev_info->max_tx_queues = max_rx_rings; dev_info->reta_size = bp->max_rsscos_ctx; + dev_info->hash_key_size = 40; max_vnics = bp->max_vnics; /* Fast path specifics */