Searched refs:tcase (Results 1 – 4 of 4) sorted by relevance
151 const struct gso_test_case *tcase; in gso_test_func() local156 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 …]
65 def print_test_case(tcase): argument67 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]))
181 u16 tcase; in BPF_KSYSCALL() member205 test_case = test_params.tcase; in BPF_KSYSCALL()