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/cnxk: fix uninitialized variables
[dpdk.git]
/
drivers
/
net
/
ark
/
ark_mpu.c
diff --git
a/drivers/net/ark/ark_mpu.c
b/drivers/net/ark/ark_mpu.c
index
8160c1d
..
b8e94b6
100644
(file)
--- a/
drivers/net/ark/ark_mpu.c
+++ b/
drivers/net/ark/ark_mpu.c
@@
-68,6
+68,7
@@
ark_mpu_reset(struct ark_mpu_t *mpu)
int cnt = 0;
mpu->cfg.command = MPU_CMD_RESET;
+ rte_wmb();
while (mpu->cfg.command != MPU_CMD_IDLE) {
if (cnt++ > 1000)