net/sfc: support API to negotiate delivery of Rx metadata
[dpdk.git] / app / test / test_prefetch.c
index 41f219a..7b4a8e4 100644 (file)
 static int
 test_prefetch(void)
 {
-       int a;
+       int a = 0;
 
        rte_prefetch0(&a);
        rte_prefetch1(&a);
        rte_prefetch2(&a);
 
+       rte_prefetch0_write(&a);
+       rte_prefetch1_write(&a);
+       rte_prefetch2_write(&a);
+
+       rte_cldemote(&a);
+
        return 0;
 }