Searched refs:test_spec (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xsk.h | 78 struct test_spec; 81 typedef int (*test_func_t)(struct test_spec *test); 189 void pkt_stream_restore_default(struct test_spec *test); 191 struct test_spec { struct 214 static inline char *mode_string(struct test_spec *test) in mode_string() argument 228 void test_init(struct test_spec *test, struct ifobject *ifobj_tx, 230 const struct test_spec *test_to_run); 232 int testapp_adjust_tail_grow(struct test_spec *test); 233 int testapp_adjust_tail_grow_mb(struct test_spec *test); 234 int testapp_adjust_tail_shrink(struct test_spec *test); [all …]
|
| H A D | test_xsk.c | 209 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init() 271 void test_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_init() 273 const struct test_spec *test_to_run) in test_init() 301 static void test_spec_reset(struct test_spec *test) in test_spec_reset() 306 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog() 316 static int test_spec_set_mtu(struct test_spec *test, int mtu) in test_spec_set_mtu() 369 void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default() 497 static int pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace() 526 static int pkt_stream_replace_half(struct test_spec *test, u32 pkt_len, int offset) in pkt_stream_replace_half() 536 static int pkt_stream_receive_half(struct test_spec *test) in pkt_stream_receive_half() [all …]
|
| H A D | xsk.c | 63 static void test_xsk(const struct test_spec *test_to_run, enum test_mode mode) in test_xsk() 67 struct test_spec test; in test_xsk()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | testing_helpers.c | 131 char *test_spec, in insert_test() argument 144 subtest_str = strchr(test_spec, '/'); in insert_test() 150 ext_test_str = malloc(strlen(test_spec) + glob_chars + 1); in insert_test() 154 sprintf(ext_test_str, pattern, test_spec); in insert_test() 224 char *input, *state = NULL, *test_spec; in parse_test_list() local 231 while ((test_spec = strtok_r(cnt++ ? NULL : input, ",", &state))) { in parse_test_list() 232 err = insert_test(set, test_spec, is_glob_pattern); in parse_test_list()
|
| H A D | xskxceiver.h | 161 struct test_spec { global() struct 162 ifobj_txtest_spec global() argument 163 ifobj_rxtest_spec global() argument 164 tx_pkt_stream_defaulttest_spec global() argument 165 rx_pkt_stream_defaulttest_spec global() argument 166 xdp_prog_rxtest_spec global() argument 167 xdp_prog_txtest_spec global() argument 168 xskmap_rxtest_spec global() argument 169 xskmap_txtest_spec global() argument 170 test_functest_spec global() argument 171 mtutest_spec global() argument 172 total_stepstest_spec global() argument 173 current_steptest_spec global() argument 174 nb_socketstest_spec global() argument 175 failtest_spec global() argument 176 set_ringtest_spec global() argument 177 adjust_tailtest_spec global() argument 178 adjust_tail_supporttest_spec global() argument 179 modetest_spec global() argument 180 nametest_spec global() argument
|
| H A D | test_loader.c | 61 struct test_spec { 108 static void free_test_spec(struct test_spec *spec) in tester_init() 402 struct test_spec *spec) in parse_test_spec() 736 struct test_spec *spec, in validate_msgs() 1001 static bool can_execute_unpriv(struct test_loader *tester, struct test_spec *spec) in run_subtest() 1080 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in run_subtest() 1149 struct test_spec *specs, in process_subtest() 1150 struct test_spec *spec, in process_subtest() 1157 struct test_spec *spec_iter; in process_subtest() 1360 struct test_spec *spec 87 struct test_spec { global() struct 88 prog_nametest_spec global() argument 89 privtest_spec global() argument 90 unprivtest_spec global() argument 91 btf_custom_pathtest_spec global() argument 92 log_leveltest_spec global() argument 93 prog_flagstest_spec global() argument 94 mode_masktest_spec global() argument 95 arch_masktest_spec global() argument 96 load_masktest_spec global() argument 97 auxiliarytest_spec global() argument 98 validtest_spec global() argument [all...] |
| H A D | xskxceiver.c | 268 static void run_pkt_test(struct test_spec *test) in run_pkt_test() 343 struct test_spec test; in main()
|