]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 00:53:32 +0000 (16:53 -0800)
commit7a57e66d20d3ee0b32bedc1aa023b54f24b0b5e1
treeec8d08b1e00b3f6321963b8d660336de6e9cfdff
parentdbea9617d50f92bc2645e9041290ce46a5ba944c
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