bnx2: set maximal number of default RSS queues
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Cc: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1180087849
commit
0a742128db
1 changed files with 1 additions and 1 deletions
|
@ -6250,7 +6250,7 @@ bnx2_enable_msix(struct bnx2 *bp, int msix_vecs)
|
|||
static int
|
||||
bnx2_setup_int_mode(struct bnx2 *bp, int dis_msi)
|
||||
{
|
||||
int cpus = num_online_cpus();
|
||||
int cpus = netif_get_num_default_rss_queues();
|
||||
int msix_vecs;
|
||||
|
||||
if (!bp->num_req_rx_rings)
|
||||
|
|
Loading…
Reference in a new issue