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:03:22 +0000 (14:03 -0700)
commit14b718fd0bdb2a8f1afd9dedfce8c9b46bdf6d00
treedafdf661fa2cee788b2721d1eeec991e1485f9ce
parentef1c919ec66b5cd8c8f19dd3683f90064813f1f5
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