git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/qede/base: add DPC sync after PF stop
[dpdk.git]
/
drivers
/
net
/
qede
/
base
/
ecore_dev.c
diff --git
a/drivers/net/qede/base/ecore_dev.c
b/drivers/net/qede/base/ecore_dev.c
index
f09f771
..
4558306
100644
(file)
--- a/
drivers/net/qede/base/ecore_dev.c
+++ b/
drivers/net/qede/base/ecore_dev.c
@@
-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);