X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-pipeline%2Fruntime.c;h=42a6142c420daa53ecf3cbe20f937a467ffdbaa4;hb=12e20906905c65633a553cf9462de85ce383ce34;hp=14b7998a3da2b84b504b830e41e08e948fdf2f71;hpb=48f31ca50cc4b1c4e1b2dc073189f3603aae85cc;p=dpdk.git diff --git a/app/test-pipeline/runtime.c b/app/test-pipeline/runtime.c index 14b7998a3d..42a6142c42 100644 --- a/app/test-pipeline/runtime.c +++ b/app/test-pipeline/runtime.c @@ -48,7 +48,6 @@ #include #include #include -#include #include #include #include @@ -112,7 +111,7 @@ app_main_loop_worker(void) { rte_lcore_id()); worker_mbuf = rte_malloc_socket(NULL, sizeof(struct app_mbuf_array), - CACHE_LINE_SIZE, rte_socket_id()); + RTE_CACHE_LINE_SIZE, rte_socket_id()); if (worker_mbuf == NULL) rte_panic("Worker thread: cannot allocate buffer space\n");