Home
last modified time | relevance | path

Searched refs:tcase (Results 1 – 5 of 5) 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.py61 def print_test_case(tcase): argument
63 print('\n==============\nTest {}\t{}\n'.format(tcase['id'], tcase['name']))
64 for k in tcase.keys():
65 if (isinstance(tcase[k], list)):
67 print_list(tcase[k])
70 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.c651 static void send_flush_id_case(int fd, struct sockaddr_ll *daddr, int tcase) in send_flush_id_case() argument
669 switch (tcase) { in send_flush_id_case()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dcoex.c1217 static void rtw_coex_tdma(struct rtw_dev *rtwdev, bool force, u32 tcase) in rtw_coex_tdma() argument
1228 if (tcase & TDMA_4SLOT) /* 4-slot (50ms) mode */ in rtw_coex_tdma()
1233 type = (u8)(tcase & 0xff); in rtw_coex_tdma()