]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_port/rte_port_frag.c
add prefix to cache line macros
[dpdk.git] / lib / librte_port / rte_port_frag.c
index 9f1bd3c696b8df069299f6946bb620a011621794..57d930be74527c93e00c65b9b0456f6385566448 100644 (file)
@@ -93,7 +93,7 @@ rte_port_ring_reader_ipv4_frag_create(void *params, int socket_id)
        }
 
        /* Memory allocation */
-       port = rte_zmalloc_socket("PORT", sizeof(*port), CACHE_LINE_SIZE,
+       port = rte_zmalloc_socket("PORT", sizeof(*port), RTE_CACHE_LINE_SIZE,
                socket_id);
        if (port == NULL) {
                RTE_LOG(ERR, PORT, "%s: port is NULL\n", __func__);