net/mlx5: add translation of connection tracking action
[dpdk.git] / app / test-bbdev / main.h
index 20a55ef..dc10a50 100644 (file)
 #define TEST_SKIPPED    1
 
 #define MAX_BURST 512U
+#define MAX_OPS 1024U
 #define DEFAULT_BURST 32U
 #define DEFAULT_OPS 64U
+#define DEFAULT_ITER 6U
+
+
 
 #define TEST_ASSERT(cond, msg, ...) do {  \
                if (!(cond)) {  \
@@ -103,8 +107,7 @@ void add_test_command(struct test_command *t);
                .command = RTE_STR(name), \
                .callback = test_func_##name, \
        }; \
-       static void __attribute__((constructor, used)) \
-       test_register_##name(void) \
+       RTE_INIT(test_register_##name) \
        { \
                add_test_command(&test_struct_##name); \
        }
@@ -117,4 +120,10 @@ unsigned int get_burst_sz(void);
 
 unsigned int get_num_lcores(void);
 
+double get_snr(void);
+
+unsigned int get_iter_max(void);
+
+bool get_init_device(void);
+
 #endif