/*-
* 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 <netinet/in.h>
#include <termios.h>
#ifndef __linux__
+#ifndef __FreeBSD__
#include <net/socket.h>
#endif
+#endif
#include <inttypes.h>
#include <errno.h>
#include <sys/queue.h>
#include <rte_ring.h>
#include <rte_mempool.h>
#include <rte_mbuf.h>
-#include <rte_timer.h>
#include <cmdline_rdline.h>
#include <cmdline_parse.h>
ret |= test_power();
if (all || !strcmp(res->autotest, "common_autotest"))
ret |= test_common();
+ if (all || !strcmp(res->autotest, "ivshmem_autotest"))
+ ret = test_ivshmem();
+#ifdef RTE_LIBRTE_PMD_RING
+ if (all || !strcmp(res->autotest, "ring_pmd_autotest"))
+ ret |= test_pmd_ring();
+#endif /* RTE_LIBRTE_PMD_RING */
+
#ifdef RTE_LIBRTE_ACL
if (all || !strcmp(res->autotest, "acl_autotest"))
ret |= test_acl();
"timer_autotest#malloc_autotest#"
"memcpy_autotest#hash_autotest#"
"lpm_autotest#debug_autotest#"
- "lpm6_autotest#debug_autotest#"
+ "lpm6_autotest#"
"errno_autotest#tailq_autotest#"
"string_autotest#multiprocess_autotest#"
"cpuflags_autotest#eal_flags_autotest#"
"memcpy_perf_autotest#ring_perf_autotest#"
"red_autotest#meter_autotest#sched_autotest#"
"memcpy_perf_autotest#kni_autotest#"
- "pm_autotest#"
+ "pm_autotest#ivshmem_autotest#"
#ifdef RTE_LIBRTE_ACL
"acl_autotest#"
#endif
"power_autotest#"
"timer_perf_autotest#"
+#ifdef RTE_LIBRTE_PMD_RING
+ "ring_pmd_autotest#"
+#endif
"common_autotest#all_autotests");
cmdline_parse_inst_t cmd_autotest = {