Tom Herbert e6484930d7 net: allocate tx queues in register_netdevice
This patch introduces netif_alloc_netdev_queues which is called from
register_device instead of alloc_netdev_mq.  This makes TX queue
allocation symmetric with RX allocation.  Also, queue locks allocation
is done in netdev_init_one_queue.  Change set_real_num_tx_queues to
fail if requested number < 1 or greater than number of allocated
queues.

Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-20 02:27:59 -07:00
..
2010-09-23 14:33:39 -07:00
2010-10-12 12:44:53 -03:00
2010-10-12 06:57:43 +02:00
2010-09-23 14:33:39 -07:00
2010-09-23 14:33:39 -07:00
2010-06-03 03:21:52 -07:00
2010-09-23 14:33:39 -07:00
2010-09-21 18:04:47 -07:00
2010-04-20 16:37:13 -07:00
2010-09-23 14:33:39 -07:00
2010-10-18 01:50:49 -07:00
2010-09-22 13:35:51 -07:00