bnx2x: Send update-svid ramrod with retry/poll flags enabled
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Wed, 12 Dec 2018 16:57:03 +0000 (08:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Dec 2018 00:25:14 +0000 (16:25 -0800)
commit9061193c4ee065d3240fde06767c2e06ec61decc
tree460f0137a28dc1551f32ef9c688622ec488f86ac
parent07f12622a66320d5f56a71a921cf70a43e7a6b87
bnx2x: Send update-svid ramrod with retry/poll flags enabled

Driver sends update-SVID ramrod in the MFW notification path.
If there is a pending ramrod, driver doesn't retry the command
and storm firmware will never be updated with the SVID value.
The patch adds changes to send update-svid ramrod in process context with
retry/poll flags set.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c