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

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

Signed-off-by: default avatarBen Hutchings <>
Signed-off-by: default avatarDavid S. Miller <>
parent a020ed4b
......@@ -748,7 +748,10 @@ static int cxgb4vf_open(struct net_device *dev)
* Note that this interface is up and start everything up ...
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;
set_bit(pi->port_id, &adapter->open_device_map);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment