Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14b3812f authored by Hariprasad Shenai's avatar Hariprasad Shenai Committed by David S. Miller
Browse files

cxgb4vf: Fix queue allocation for 40G adapter

parent 4ccce02e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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