summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_mcp.c
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>2018-11-26 02:26:59 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-27 16:17:20 -0800
commitf04e48dbfaf732e0a9f926057e8f6fd44d45d1bb (patch)
tree837667974c495795453aaee5f4fbc584419523ad /drivers/net/ethernet/qlogic/qed/qed_mcp.c
parent149d3775f108c9b97f3309891f010b65e912c7b7 (diff)
downloadlinux-f04e48dbfaf732e0a9f926057e8f6fd44d45d1bb.tar.gz
linux-f04e48dbfaf732e0a9f926057e8f6fd44d45d1bb.tar.bz2
linux-f04e48dbfaf732e0a9f926057e8f6fd44d45d1bb.zip
qede: Update link status only when interface is ready.
In the case of internal reload (e.g., mtu change), there could be a race between link-up notification from mfw and the driver unload processing. In such case kernel assumes the link is up and starts using the queues which leads to the server crash. Send link notification to the kernel only when driver has already requested MFW for the link. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_mcp.c')
0 files changed, 0 insertions, 0 deletions