]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/ecore_mcp.c
net/qede: set mdump flag
[dpdk.git] / drivers / net / qede / base / ecore_mcp.c
index a834ac7426dc167672cb5f789a0f79e96a4e1ac2..03cc901dabc700c424555076afe1a9d8993fcce4 100644 (file)
@@ -1556,10 +1556,9 @@ static void ecore_mcp_handle_critical_error(struct ecore_hwfn *p_hwfn,
        DP_NOTICE(p_hwfn, false,
                  "Received a critical error notification from the MFW!\n");
 
-       if (p_hwfn->p_dev->mdump_en) {
+       if (p_hwfn->p_dev->allow_mdump) {
                DP_NOTICE(p_hwfn, false,
                          "Not acknowledging the notification to allow the MFW crash dump\n");
-               p_hwfn->p_dev->mdump_en = false;
                return;
        }