]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
qed: Fix EQ full firmware assert.
authorManish Chopra <manishc@marvell.com>
Wed, 6 Feb 2019 22:43:42 +0000 (14:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:04:17 +0000 (14:04 -0700)
commit06d98edaec3abc94c62d9ae6893e47378baa3bbc
treef101ed1a5f6353b4e970d43aef1d8239d2287174
parentf4deec56a25e4038d45f405c0c02560420f43902
qed: Fix EQ full firmware assert.

[ 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>
drivers/net/ethernet/qlogic/qed/qed_sp.h
drivers/net/ethernet/qlogic/qed/qed_spq.c