X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_port%2Frte_port_source_sink.c;h=b9a25bb0fe92172f1494452e04fb26b46d4862ef;hb=7283260541526f08dffe1f7e538f2545fda70ade;hp=23e3878c45360c13b8fa202c35b77be9d8a20665;hpb=ef3403fb6f9a3c4b730d2e4fbe7ddc0291ffa992;p=dpdk.git diff --git a/lib/librte_port/rte_port_source_sink.c b/lib/librte_port/rte_port_source_sink.c index 23e3878c45..b9a25bb0fe 100644 --- a/lib/librte_port/rte_port_source_sink.c +++ b/lib/librte_port/rte_port_source_sink.c @@ -61,7 +61,7 @@ rte_port_source_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 port\n", __func__); return NULL;