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

Commit d584527c authored by Alexander Duyck's avatar Alexander Duyck Committed by Jeff Kirsher
Browse files

net: Cap number of queues even with accel_priv



With the recent fix to ixgbe we can cap the number of queues always
regardless of if accel_priv is being used or not since the actual number of
queues are being reported via real_num_tx_queues.

Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 49cfbeb7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3420,7 +3420,6 @@ struct netdev_queue *netdev_pick_tx(struct net_device *dev,
		else
			queue_index = __netdev_pick_tx(dev, skb);

		if (!accel_priv)
		queue_index = netdev_cap_txqueue(dev, queue_index);
	}