]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/ecore_dev.c
net/qede/base: add DPC sync after PF stop
[dpdk.git] / drivers / net / qede / base / ecore_dev.c
index f09f77130b15376f467ac1b0094cc89622c2452d..4558306248a9cce5731494db93f4251e8d5d8fe3 100644 (file)
@@ -2804,6 +2804,12 @@ enum _ecore_status_t ecore_hw_stop(struct ecore_dev *p_dev)
                        rc2 = ECORE_UNKNOWN_ERROR;
                }
 
+               OSAL_DPC_SYNC(p_hwfn);
+
+               /* After this point we don't expect the FW to send us async
+                * events
+                */
+
                /* perform debug action after PF stop was sent */
                OSAL_AFTER_PF_STOP((void *)p_dev, p_hwfn->my_id);