]> 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)
commit38e2f714959fea373704c74a8844e75cd77125f6
tree904f5a0f9a7ee0b8e69b1c8edbfda99fdb2689e5
parent95a74bf4e48edb97e8349e8df9290642b773da56
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