]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_reassembly/main.c
add prefix to cache line macros
[dpdk.git] / examples / ip_reassembly / main.c
index 9353df8b6558d7f0050b6bfd3e6fc1c86d02f8e5..849215314533b7307370b6503cc35c323f29b49a 100644 (file)
@@ -858,7 +858,7 @@ setup_port_tbl(struct lcore_queue_conf *qconf, uint32_t lcore, int socket,
        n = RTE_MAX(max_flow_num, 2UL * MAX_PKT_BURST);
        sz = sizeof (*mtb) + sizeof (mtb->m_table[0]) *  n;
 
-       if ((mtb = rte_zmalloc_socket(__func__, sz, CACHE_LINE_SIZE,
+       if ((mtb = rte_zmalloc_socket(__func__, sz, RTE_CACHE_LINE_SIZE,
                        socket)) == NULL) {
                RTE_LOG(ERR, IP_RSMBL, "%s() for lcore: %u, port: %u "
                        "failed to allocate %zu bytes\n",