]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/ecore_mcp_api.h
net/qede/base: support MFW crash dump
[dpdk.git] / drivers / net / qede / base / ecore_mcp_api.h
index ff4f1ca9a32b7a54bd3f6d736533e4f094e77dbb..c26b4943a0435171f6601fe91d7a206cc7636136 100644 (file)
@@ -792,4 +792,14 @@ enum _ecore_status_t ecore_mcp_mem_ecc_events(struct ecore_hwfn *p_hwfn,
                                              struct ecore_ptt *p_ptt,
                                              u64 *num_events);
 
+/**
+ * @brief Sets whether a critical error notification from the MFW is acked, or
+ *        is it being ignored and thus allowing the MFW crash dump.
+ *
+ * @param p_dev
+ * @param mdump_enable
+ *
+ */
+void ecore_mcp_mdump_enable(struct ecore_dev *p_dev, bool mdump_enable);
+
 #endif