OSDN Git Service

qed: Fix EQ full firmware assert.
authorManish Chopra <manishc@marvell.com>
Wed, 6 Feb 2019 22:43:42 +0000 (14:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 00:53:32 +0000 (16:53 -0800)
commit660492bcf4a7561b5fdc13be0ae0b0c0a8c120be
treeec8d08b1e00b3f6321963b8d660336de6e9cfdff
parent00670cb8a73b10b10d3c40f045c15411715e4465
qed: Fix EQ full firmware assert.

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