]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_port/rte_port_source_sink.c
ethdev: remove inclusion of mbuf header
[dpdk.git] / lib / librte_port / rte_port_source_sink.c
index 23e3878c45360c13b8fa202c35b77be9d8a20665..b9a25bb0fe92172f1494452e04fb26b46d4862ef 100644 (file)
@@ -61,7 +61,7 @@ rte_port_source_create(void *params, int socket_id)
 
        /* Memory allocation */
        port = rte_zmalloc_socket("PORT", sizeof(*port),
 
        /* 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 port\n", __func__);
                return NULL;
        if (port == NULL) {
                RTE_LOG(ERR, PORT, "%s: Failed to allocate port\n", __func__);
                return NULL;