add prefix to cache line macros
[dpdk.git] / doc / guides / sample_app_ug / kernel_nic_interface.rst
index 720142f..b75eed3 100644 (file)
@@ -392,7 +392,7 @@ The code is as follows:
                 goto fail;
             }
 
-            kni_port_params_array[port_id] = (struct kni_port_params*)rte_zmalloc("KNI_port_params", sizeof(struct kni_port_params), CACHE_LINE_SIZE);
+            kni_port_params_array[port_id] = (struct kni_port_params*)rte_zmalloc("KNI_port_params", sizeof(struct kni_port_params), RTE_CACHE_LINE_SIZE);
             kni_port_params_array[port_id]->port_id = port_id;
             kni_port_params_array[port_id]->lcore_rx = (uint8_t)int_fld[i++];
             kni_port_params_array[port_id]->lcore_tx = (uint8_t)int_fld[i++];