From: Ajit Khaparde Date: Fri, 26 Jan 2018 17:32:00 +0000 (-0800) Subject: net/bnxt: fix number of pools for RSS X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dbcabb69e2cf9e979da922e8907343135897641a;p=dpdk.git 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 --- diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c index 16304865de..d49f354627 100644 --- a/drivers/net/bnxt/bnxt_rxq.c +++ b/drivers/net/bnxt/bnxt_rxq.c @@ -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",