]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
qed: Fix EQ full firmware assert.
authorManish Chopra <manishc@marvell.com>
Wed, 6 Feb 2019 22:43:42 +0000 (14:43 -0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitfd9927e70218294009a0b463bd6cf112daf48b91
tree62dd1c37b562e91ee45da0b1517de15de99fd1f4
parent5bdd3eb8041aabcd01ebd5661ced3503260985ef
qed: Fix EQ full firmware assert.

BugLink: https://bugs.launchpad.net/bugs/1837813
[ Upstream commit 660492bcf4a7561b5fdc13be0ae0b0c0a8c120be ]

When slowpath messages are sent with high rate, the resulting
events can lead to a FW assert in case they are not handled fast
enough (Event Queue Full assert). Attempt to send queued slowpath
messages only after the newly evacuated entries in the EQ ring
are indicated to FW.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/qlogic/qed/qed_sp.h
drivers/net/ethernet/qlogic/qed/qed_spq.c