mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
cxgb4vf: Fix queue allocation for 40G adapter
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4ccce02eb3
commit
14b3812f7a
@ -2430,7 +2430,7 @@ static void cfg_queues(struct adapter *adapter)
|
||||
*/
|
||||
n10g = 0;
|
||||
for_each_port(adapter, pidx)
|
||||
n10g += is_10g_port(&adap2pinfo(adapter, pidx)->link_cfg);
|
||||
n10g += is_x_10g_port(&adap2pinfo(adapter, pidx)->link_cfg);
|
||||
|
||||
/*
|
||||
* We default to 1 queue per non-10G port and up to # of cores queues
|
||||
|
Loading…
Reference in New Issue
Block a user