X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_ring_perf.c;h=8c47ccb7e883fe81586d5c55996c981d7451e3e6;hb=43a942393d1795fa303b490a81bd943970fe9a71;hp=44dda4dbf6d182d74bfe1813d71a8da91839886e;hpb=942405f9e2f2c22aa817be374ccfe939a72df2ce;p=dpdk.git diff --git a/app/test/test_ring_perf.c b/app/test/test_ring_perf.c index 44dda4dbf6..8c47ccb7e8 100644 --- a/app/test/test_ring_perf.c +++ b/app/test/test_ring_perf.c @@ -253,7 +253,7 @@ static void run_on_core_pair(struct lcore_pair *cores, lcore_function_t f1, lcore_function_t f2) { - struct thread_params param1 = {.size = 0}, param2 = {.size = 0}; + struct thread_params param1 = {0}, param2 = {0}; unsigned i; for (i = 0; i < sizeof(bulk_sizes)/sizeof(bulk_sizes[0]); i++) { lcore_count = 0;