git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c1507d
)
net/qede/base: use path ID for HW init
author
Rasesh Mody
<rasesh.mody@cavium.com>
Mon, 9 Apr 2018 04:47:57 +0000
(21:47 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000
(
00:41
+0200)
Use the path ID as the phase ID when running the engine phase of the
HW init
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c
patch
|
blob
|
history
diff --git
a/drivers/net/qede/base/ecore_dev.c
b/drivers/net/qede/base/ecore_dev.c
index
744d204
..
cd274c3
100644
(file)
--- a/
drivers/net/qede/base/ecore_dev.c
+++ b/
drivers/net/qede/base/ecore_dev.c
@@
-1658,7
+1658,8
@@
static enum _ecore_status_t ecore_hw_init_common(struct ecore_hwfn *p_hwfn,
ecore_init_cache_line_size(p_hwfn, p_ptt);
- rc = ecore_init_run(p_hwfn, p_ptt, PHASE_ENGINE, ANY_PHASE_ID, hw_mode);
+ rc = ecore_init_run(p_hwfn, p_ptt, PHASE_ENGINE, ECORE_PATH_ID(p_hwfn),
+ hw_mode);
if (rc != ECORE_SUCCESS)
return rc;