diff options
author | Manish Chopra <manishc@marvell.com> | 2019-02-07 01:43:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-07 03:53:32 +0300 |
commit | 660492bcf4a7561b5fdc13be0ae0b0c0a8c120be (patch) | |
tree | ec8d08b1e00b3f6321963b8d660336de6e9cfdff /drivers/net/ethernet/qlogic/qed/qed_sp.h | |
parent | 00670cb8a73b10b10d3c40f045c15411715e4465 (diff) | |
download | linux-660492bcf4a7561b5fdc13be0ae0b0c0a8c120be.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_sp.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_sp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_sp.h b/drivers/net/ethernet/qlogic/qed/qed_sp.h index 4179c9013fc6..96ab77ae6af5 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_sp.h +++ b/drivers/net/ethernet/qlogic/qed/qed_sp.h @@ -382,6 +382,7 @@ void qed_consq_setup(struct qed_hwfn *p_hwfn); * @param p_hwfn */ void qed_consq_free(struct qed_hwfn *p_hwfn); +int qed_spq_pend_post(struct qed_hwfn *p_hwfn); /** * @file |