net/bnxt: fix number of pools for RSS

While using RSS, the pool count should be 1.

Fixes: 8103a57ab432a ("net/bnxt: handle Rx multi queue creation properly")
Cc: stable@dpdk.org

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
Ajit Khaparde 2018-01-26 09:32:00 -08:00 committed by Ferruh Yigit
parent 90ed2b7229
commit dbcabb69e2

View File

@ -118,7 +118,7 @@ int bnxt_mq_rx_configure(struct bnxt *bp)
pools = max_pools;
break;
case ETH_MQ_RX_RSS:
pools = bp->rx_cp_nr_rings;
pools = 1;
break;
default:
PMD_DRV_LOG(ERR, "Unsupported mq_mod %d\n",