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:
parent
90ed2b7229
commit
dbcabb69e2
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user