]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fix be_cmd_if_create() to use MBOX if MCCQ is not created
authorSathya Perla <sathya.perla@emulex.com>
Tue, 27 Aug 2013 11:27:33 +0000 (16:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Aug 2013 19:57:05 +0000 (15:57 -0400)
commit89f04db2d84b6badff4aab6cb18292df7cfa4524
tree904f5a0f9a7ee0b8e69b1c8edbfda99fdb2689e5
parent0692211b91f68c4d84ff6130317957ee4560137b
be2net: Fix be_cmd_if_create() to use MBOX if MCCQ is not created

Currently the IF_CREATE FW cmd is issued only *after* MCCQ is created as
it was coded to only use MCCQ. By fixing this, cmd_if_create() can be
called before MCCQ is created and the same routine for VF provisioning
can be called after.
This allows for consolidating all the queue create routines by moving
the be_cmd_if_create() call above all queue create calls in be_setup().

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