]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_port/rte_port_ras.c
add prefix to cache line macros
[dpdk.git] / lib / librte_port / rte_port_ras.c
index b1ac297361a7044938ccf0f0ffc468ef9cd2552d..b6ab67ababe1e4b6bfc798c804096caf39d4d335 100644 (file)
@@ -86,7 +86,7 @@ rte_port_ring_writer_ipv4_ras_create(void *params, int socket_id)
 
        /* Memory allocation */
        port = rte_zmalloc_socket("PORT", sizeof(*port),
-                       CACHE_LINE_SIZE, socket_id);
+                       RTE_CACHE_LINE_SIZE, socket_id);
        if (port == NULL) {
                RTE_LOG(ERR, PORT, "%s: Failed to allocate socket\n", __func__);
                return NULL;