]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_table/rte_table_lpm.c
add prefix to cache line macros
[dpdk.git] / lib / librte_table / rte_table_lpm.c
index a175ff3a602997f3940a32d9b6713e2c63bdb093..59f87bb787734dd1dae8660ddc3e5a24ed304e0c 100644 (file)
@@ -96,7 +96,7 @@ rte_table_lpm_create(void *params, int socket_id, uint32_t entry_size)
        /* Memory allocation */
        nht_size = RTE_TABLE_LPM_MAX_NEXT_HOPS * entry_size;
        total_size = sizeof(struct rte_table_lpm) + nht_size;
-       lpm = rte_zmalloc_socket("TABLE", total_size, CACHE_LINE_SIZE,
+       lpm = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE,
                socket_id);
        if (lpm == NULL) {
                RTE_LOG(ERR, TABLE,