test/crypto: add combined mode IPsec cases
[dpdk.git] / app / test / test_prefetch.c
index 32e08f8..7b4a8e4 100644 (file)
@@ -20,7 +20,7 @@
 static int
 test_prefetch(void)
 {
-       int a;
+       int a = 0;
 
        rte_prefetch0(&a);
        rte_prefetch1(&a);
@@ -30,6 +30,8 @@ test_prefetch(void)
        rte_prefetch1_write(&a);
        rte_prefetch2_write(&a);
 
+       rte_cldemote(&a);
+
        return 0;
 }