Lines Matching refs:config

36 	struct rte_fib_conf config;  in test_create_invalid()  local
38 config.max_routes = MAX_ROUTES; in test_create_invalid()
39 config.default_nh = 0; in test_create_invalid()
40 config.type = RTE_FIB_DUMMY; in test_create_invalid()
43 fib = rte_fib_create(NULL, SOCKET_ID_ANY, &config); in test_create_invalid()
53 fib = rte_fib_create(__func__, -2, &config); in test_create_invalid()
58 config.max_routes = 0; in test_create_invalid()
59 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_create_invalid()
62 config.max_routes = MAX_ROUTES; in test_create_invalid()
64 config.type = RTE_FIB_DIR24_8 + 1; in test_create_invalid()
65 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_create_invalid()
69 config.type = RTE_FIB_DIR24_8; in test_create_invalid()
70 config.dir24_8.num_tbl8 = MAX_TBL8; in test_create_invalid()
72 config.dir24_8.nh_sz = RTE_FIB_DIR24_8_8B + 1; in test_create_invalid()
73 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_create_invalid()
76 config.dir24_8.nh_sz = RTE_FIB_DIR24_8_8B; in test_create_invalid()
78 config.dir24_8.num_tbl8 = 0; in test_create_invalid()
79 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_create_invalid()
94 struct rte_fib_conf config; in test_multiple_create() local
97 config.default_nh = 0; in test_multiple_create()
98 config.type = RTE_FIB_DUMMY; in test_multiple_create()
101 config.max_routes = MAX_ROUTES - i; in test_multiple_create()
102 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_multiple_create()
120 struct rte_fib_conf config; in test_free_null() local
122 config.max_routes = MAX_ROUTES; in test_free_null()
123 config.default_nh = 0; in test_free_null()
124 config.type = RTE_FIB_DUMMY; in test_free_null()
126 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_free_null()
142 struct rte_fib_conf config; in test_add_del_invalid() local
148 config.max_routes = MAX_ROUTES; in test_add_del_invalid()
149 config.default_nh = 0; in test_add_del_invalid()
150 config.type = RTE_FIB_DUMMY; in test_add_del_invalid()
163 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_add_del_invalid()
318 struct rte_fib_conf config; in test_lookup() local
322 config.max_routes = MAX_ROUTES; in test_lookup()
323 config.default_nh = def_nh; in test_lookup()
324 config.type = RTE_FIB_DUMMY; in test_lookup()
326 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_lookup()
333 config.type = RTE_FIB_DIR24_8; in test_lookup()
335 config.dir24_8.nh_sz = RTE_FIB_DIR24_8_1B; in test_lookup()
336 config.dir24_8.num_tbl8 = 127; in test_lookup()
337 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_lookup()
344 config.dir24_8.nh_sz = RTE_FIB_DIR24_8_2B; in test_lookup()
345 config.dir24_8.num_tbl8 = MAX_TBL8 - 1; in test_lookup()
346 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_lookup()
353 config.dir24_8.nh_sz = RTE_FIB_DIR24_8_4B; in test_lookup()
354 config.dir24_8.num_tbl8 = MAX_TBL8; in test_lookup()
355 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_lookup()
362 config.dir24_8.nh_sz = RTE_FIB_DIR24_8_8B; in test_lookup()
363 config.dir24_8.num_tbl8 = MAX_TBL8; in test_lookup()
364 fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config); in test_lookup()