tile: fix build
[dpdk.git] / app / test-pipeline / main.c
index 0a2a597..71ab6ad 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  *
- *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
  *   All rights reserved.
  *
  *   Redistribution and use in source and binary forms, with or without
@@ -49,7 +49,6 @@
 #include <rte_memory.h>
 #include <rte_memcpy.h>
 #include <rte_memzone.h>
-#include <rte_tailq.h>
 #include <rte_eal.h>
 #include <rte_per_lcore.h>
 #include <rte_launch.h>
@@ -65,7 +64,6 @@
 #include <rte_debug.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
-#include <rte_ring.h>
 #include <rte_mempool.h>
 #include <rte_mbuf.h>
 #include <rte_ip.h>
@@ -76,7 +74,7 @@
 #include "main.h"
 
 int
-MAIN(int argc, char **argv)
+main(int argc, char **argv)
 {
        uint32_t lcore;
        int ret;
@@ -145,6 +143,16 @@ app_lcore_main_loop(__attribute__((unused)) void *arg)
                case e_APP_PIPELINE_HASH_SPEC_KEY16_LRU:
                case e_APP_PIPELINE_HASH_SPEC_KEY32_EXT:
                case e_APP_PIPELINE_HASH_SPEC_KEY32_LRU:
+               /* cases for cuckoo hash table types */
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY8:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY16:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY32:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY48:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY64:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY80:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY96:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY112:
+               case e_APP_PIPELINE_HASH_CUCKOO_KEY128:
                        app_main_loop_worker_pipeline_hash();
                        return 0;