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

Commit a020ed4b authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

cxgb4: Use netif_set_real_num_{rx,tx}_queues()

parent 19221e75
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2763,7 +2763,10 @@ static int cxgb_open(struct net_device *dev)
			return err;
	}

	dev->real_num_tx_queues = pi->nqsets;
	netif_set_real_num_tx_queues(dev, pi->nqsets);
	err = netif_set_real_num_rx_queues(dev, pi->nqsets);
	if (err)
		return err;
	err = link_start(dev);
	if (!err)
		netif_tx_start_all_queues(dev);