pci: support 82546EB
[dpdk.git] / app / test / test.c
index 606fc55..59fcc9d 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
 #include <rte_memzone.h>
 #include <rte_tailq.h>
 #include <rte_eal.h>
-#include <rte_timer.h>
 #include <rte_cycles.h>
 #include <rte_log.h>
 #include <rte_string_fns.h>
+#ifdef RTE_LIBRTE_TIMER
+#include <rte_timer.h>
+#endif
 
 #include "test.h"
 
@@ -82,10 +84,15 @@ do_recursive_call(void)
                        { "test_whitelist_flag", no_action },
                        { "test_invalid_b_flag", no_action },
                        { "test_invalid_r_flag", no_action },
+#ifdef RTE_LIBRTE_XEN_DOM0
+                       { "test_dom0_misc_flags", no_action },
+#else
                        { "test_misc_flags", no_action },
+#endif
                        { "test_memory_flags", no_action },
                        { "test_file_prefix", no_action },
                        { "test_no_huge_flag", no_action },
+                       { "test_ivshmem", test_ivshmem },
        };
 
        if (recursive_call == NULL)
@@ -109,7 +116,9 @@ main(int argc, char **argv)
        if (ret < 0)
                return -1;
 
+#ifdef RTE_LIBRTE_TIMER
        rte_timer_subsystem_init();
+#endif
 
        argv += ret;