be2net: refactor be_setup() to consolidate queue creation routines
authorSathya Perla <sathya.perla@emulex.com>
Tue, 27 Aug 2013 11:27:34 +0000 (16:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Aug 2013 19:57:05 +0000 (15:57 -0400)
commit7707133ceb38f590729d0165099555928630af1c
tree90ef4cfcedababd28b3df080d3fa690c66deb131
parentbea5098848925351ed6fc84dc84c88b2765237f7
be2net: refactor be_setup() to consolidate queue creation routines

1) Move be_cmd_if_create() above queue create routines to allow
   TXQ creation (that requires if_handle) to be clubbed with TX-CQ creation.
2) Consolidate all queue create routines into be_setup_queues()

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c