aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_sp.h
diff options
context:
space:
mode:
authorManish Chopra <manishc@marvell.com>2019-02-06 14:43:42 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-06 16:53:32 -0800
commit660492bcf4a7561b5fdc13be0ae0b0c0a8c120be (patch)
treeec8d08b1e00b3f6321963b8d660336de6e9cfdff /drivers/net/ethernet/qlogic/qed/qed_sp.h
parentnet: dsa: Fix NULL checking in dsa_slave_set_eee() (diff)
downloadlinux-dev-660492bcf4a7561b5fdc13be0ae0b0c0a8c120be.tar.xz
linux-dev-660492bcf4a7561b5fdc13be0ae0b0c0a8c120be.zip
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.h1
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