Home
last modified time | relevance | path

Searched refs:tcase (Results 1 – 4 of 4) sorted by relevance

/linux/net/core/
H A Dnet_test.c151 const struct gso_test_case *tcase; in gso_test_func() local
156 tcase = test->param_value; in gso_test_func()
160 skb = build_skb(page_address(page), sizeof(hdr) + tcase->linear_len + shinfo_size); in gso_test_func()
162 __skb_put(skb, sizeof(hdr) + tcase->linear_len); in gso_test_func()
166 if (tcase->nr_frags) { in gso_test_func()
171 page_ref_add(page, tcase->nr_frags - 1); in gso_test_func()
173 for (i = 0; i < tcase->nr_frags; i++) { in gso_test_func()
174 skb_fill_page_desc(skb, i, page, pg_off, tcase->frags[i]); in gso_test_func()
175 pg_off += tcase->frags[i]; in gso_test_func()
185 if (tcase->frag_skbs) { in gso_test_func()
[all …]
/linux/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py65 def print_test_case(tcase): argument
67 print('\n==============\nTest {}\t{}\n'.format(tcase['id'], tcase['name']))
68 for k in tcase.keys():
69 if (isinstance(tcase[k], list)):
71 print_list(tcase[k])
74 print(k + ": " + str(tcase[k]))
/linux/samples/bpf/
H A Dmap_perf_test.bpf.c181 u16 tcase; in BPF_KSYSCALL() member
205 test_case = test_params.tcase; in BPF_KSYSCALL()
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c