#include <rte_launch.h>
#include <rte_atomic.h>
#include <rte_rwlock.h>
-#include <rte_tailq.h>
#include <rte_eal.h>
#include <rte_per_lcore.h>
#include <rte_lcore.h>
return 0;
}
-int
+static int
test_rwlock(void)
{
int i;
return 0;
}
+
+static struct test_command rwlock_cmd = {
+ .command = "rwlock_autotest",
+ .callback = test_rwlock,
+};
+REGISTER_TEST_COMMAND(rwlock_cmd);