X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_port%2Frte_port_sched.c;h=2107f4c8c8c38147bee94fb0421d0d194a643717;hb=fdf20fa7bee9df9037116318a87080e1eb7e757e;hp=0e71494db36a3f8d3d11af606bcf4d0438f95c5d;hpb=8dceb6aa6ecf7b70cd14364e246edbda99ca7103;p=dpdk.git diff --git a/lib/librte_port/rte_port_sched.c b/lib/librte_port/rte_port_sched.c index 0e71494db3..2107f4c8c8 100644 --- a/lib/librte_port/rte_port_sched.c +++ b/lib/librte_port/rte_port_sched.c @@ -60,7 +60,7 @@ rte_port_sched_reader_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; @@ -123,7 +123,7 @@ rte_port_sched_writer_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;