app/testpmd: fix use of indirect action after port close
[dpdk.git] / drivers / net / ark / ark_mpu.c
index 8160c1d..b8e94b6 100644 (file)
@@ -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)