]> git.karo-electronics.de Git - linux-beck.git/commit
cxgb4: set the number of queues before device registration
authorDimitris Michailidis <dm@chelsio.com>
Tue, 14 Dec 2010 21:36:46 +0000 (21:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 21:16:00 +0000 (13:16 -0800)
commita57cabe09f843a3f71277c485494496b3b9ee84a
tree32a43d8acd19329cc854bf74adf58d9221dac5b2
parentec16400823ce63bc0cfe89df78c6b7bf4a4d684b
cxgb4: set the number of queues before device registration

The number of queues is known early, move the calls to
netif_set_real_num_[rt]x_queues before register_netdev.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c