Lines Matching refs:ASSERT_EQ

38 	ASSERT_EQ(skel->bss->seen_tc1, false, "seen_tc1");  in serial_test_tc_links_basic()
39 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in serial_test_tc_links_basic()
63 ASSERT_EQ(optq.count, 1, "count"); in serial_test_tc_links_basic()
64 ASSERT_EQ(optq.revision, 2, "revision"); in serial_test_tc_links_basic()
65 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in serial_test_tc_links_basic()
66 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in serial_test_tc_links_basic()
67 ASSERT_EQ(optq.prog_ids[1], 0, "prog_ids[1]"); in serial_test_tc_links_basic()
68 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in serial_test_tc_links_basic()
73 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in serial_test_tc_links_basic()
74 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in serial_test_tc_links_basic()
96 ASSERT_EQ(optq.count, 1, "count"); in serial_test_tc_links_basic()
97 ASSERT_EQ(optq.revision, 2, "revision"); in serial_test_tc_links_basic()
98 ASSERT_EQ(optq.prog_ids[0], pid2, "prog_ids[0]"); in serial_test_tc_links_basic()
99 ASSERT_EQ(optq.link_ids[0], lid2, "link_ids[0]"); in serial_test_tc_links_basic()
100 ASSERT_EQ(optq.prog_ids[1], 0, "prog_ids[1]"); in serial_test_tc_links_basic()
101 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in serial_test_tc_links_basic()
106 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in serial_test_tc_links_basic()
107 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in serial_test_tc_links_basic()
130 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_before_target()
132 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_before_target()
134 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_before_target()
136 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_links_before_target()
185 ASSERT_EQ(optq.count, 2, "count"); in test_tc_links_before_target()
186 ASSERT_EQ(optq.revision, 3, "revision"); in test_tc_links_before_target()
187 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_before_target()
188 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_before_target()
189 ASSERT_EQ(optq.prog_ids[1], pid2, "prog_ids[1]"); in test_tc_links_before_target()
190 ASSERT_EQ(optq.link_ids[1], lid2, "link_ids[1]"); in test_tc_links_before_target()
191 ASSERT_EQ(optq.prog_ids[2], 0, "prog_ids[2]"); in test_tc_links_before_target()
192 ASSERT_EQ(optq.link_ids[2], 0, "link_ids[2]"); in test_tc_links_before_target()
197 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_before_target()
198 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_before_target()
199 ASSERT_EQ(skel->bss->seen_tc3, false, "seen_tc3"); in test_tc_links_before_target()
200 ASSERT_EQ(skel->bss->seen_tc4, false, "seen_tc4"); in test_tc_links_before_target()
238 ASSERT_EQ(optq.count, 4, "count"); in test_tc_links_before_target()
239 ASSERT_EQ(optq.revision, 5, "revision"); in test_tc_links_before_target()
240 ASSERT_EQ(optq.prog_ids[0], pid4, "prog_ids[0]"); in test_tc_links_before_target()
241 ASSERT_EQ(optq.link_ids[0], lid4, "link_ids[0]"); in test_tc_links_before_target()
242 ASSERT_EQ(optq.prog_ids[1], pid1, "prog_ids[1]"); in test_tc_links_before_target()
243 ASSERT_EQ(optq.link_ids[1], lid1, "link_ids[1]"); in test_tc_links_before_target()
244 ASSERT_EQ(optq.prog_ids[2], pid3, "prog_ids[2]"); in test_tc_links_before_target()
245 ASSERT_EQ(optq.link_ids[2], lid3, "link_ids[2]"); in test_tc_links_before_target()
246 ASSERT_EQ(optq.prog_ids[3], pid2, "prog_ids[3]"); in test_tc_links_before_target()
247 ASSERT_EQ(optq.link_ids[3], lid2, "link_ids[3]"); in test_tc_links_before_target()
248 ASSERT_EQ(optq.prog_ids[4], 0, "prog_ids[4]"); in test_tc_links_before_target()
249 ASSERT_EQ(optq.link_ids[4], 0, "link_ids[4]"); in test_tc_links_before_target()
254 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_before_target()
255 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_before_target()
256 ASSERT_EQ(skel->bss->seen_tc3, true, "seen_tc3"); in test_tc_links_before_target()
257 ASSERT_EQ(skel->bss->seen_tc4, true, "seen_tc4"); in test_tc_links_before_target()
284 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_after_target()
286 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_after_target()
288 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_after_target()
290 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_links_after_target()
339 ASSERT_EQ(optq.count, 2, "count"); in test_tc_links_after_target()
340 ASSERT_EQ(optq.revision, 3, "revision"); in test_tc_links_after_target()
341 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_after_target()
342 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_after_target()
343 ASSERT_EQ(optq.prog_ids[1], pid2, "prog_ids[1]"); in test_tc_links_after_target()
344 ASSERT_EQ(optq.link_ids[1], lid2, "link_ids[1]"); in test_tc_links_after_target()
345 ASSERT_EQ(optq.prog_ids[2], 0, "prog_ids[2]"); in test_tc_links_after_target()
346 ASSERT_EQ(optq.link_ids[2], 0, "link_ids[2]"); in test_tc_links_after_target()
351 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_after_target()
352 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_after_target()
353 ASSERT_EQ(skel->bss->seen_tc3, false, "seen_tc3"); in test_tc_links_after_target()
354 ASSERT_EQ(skel->bss->seen_tc4, false, "seen_tc4"); in test_tc_links_after_target()
392 ASSERT_EQ(optq.count, 4, "count"); in test_tc_links_after_target()
393 ASSERT_EQ(optq.revision, 5, "revision"); in test_tc_links_after_target()
394 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_after_target()
395 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_after_target()
396 ASSERT_EQ(optq.prog_ids[1], pid3, "prog_ids[1]"); in test_tc_links_after_target()
397 ASSERT_EQ(optq.link_ids[1], lid3, "link_ids[1]"); in test_tc_links_after_target()
398 ASSERT_EQ(optq.prog_ids[2], pid2, "prog_ids[2]"); in test_tc_links_after_target()
399 ASSERT_EQ(optq.link_ids[2], lid2, "link_ids[2]"); in test_tc_links_after_target()
400 ASSERT_EQ(optq.prog_ids[3], pid4, "prog_ids[3]"); in test_tc_links_after_target()
401 ASSERT_EQ(optq.link_ids[3], lid4, "link_ids[3]"); in test_tc_links_after_target()
402 ASSERT_EQ(optq.prog_ids[4], 0, "prog_ids[4]"); in test_tc_links_after_target()
403 ASSERT_EQ(optq.link_ids[4], 0, "link_ids[4]"); in test_tc_links_after_target()
408 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_after_target()
409 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_after_target()
410 ASSERT_EQ(skel->bss->seen_tc3, true, "seen_tc3"); in test_tc_links_after_target()
411 ASSERT_EQ(skel->bss->seen_tc4, true, "seen_tc4"); in test_tc_links_after_target()
437 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_revision_target()
439 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_revision_target()
498 ASSERT_EQ(optq.count, 2, "count"); in test_tc_links_revision_target()
499 ASSERT_EQ(optq.revision, 3, "revision"); in test_tc_links_revision_target()
500 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_revision_target()
501 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_revision_target()
502 ASSERT_EQ(optq.prog_ids[1], pid2, "prog_ids[1]"); in test_tc_links_revision_target()
503 ASSERT_EQ(optq.link_ids[1], lid2, "link_ids[1]"); in test_tc_links_revision_target()
504 ASSERT_EQ(optq.prog_ids[2], 0, "prog_ids[2]"); in test_tc_links_revision_target()
505 ASSERT_EQ(optq.link_ids[2], 0, "prog_ids[2]"); in test_tc_links_revision_target()
510 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_revision_target()
511 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_revision_target()
538 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_chain_classic()
540 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_chain_classic()
590 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_chain_classic()
591 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_chain_classic()
592 ASSERT_EQ(skel->bss->seen_tc3, chain_tc_old, "seen_tc3"); in test_tc_chain_classic()
603 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_chain_classic()
604 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in test_tc_chain_classic()
605 ASSERT_EQ(skel->bss->seen_tc3, chain_tc_old, "seen_tc3"); in test_tc_chain_classic()
643 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_replace_target()
645 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_replace_target()
647 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_replace_target()
702 ASSERT_EQ(optq.count, 2, "count"); in test_tc_links_replace_target()
703 ASSERT_EQ(optq.revision, 3, "revision"); in test_tc_links_replace_target()
704 ASSERT_EQ(optq.prog_ids[0], pid2, "prog_ids[0]"); in test_tc_links_replace_target()
705 ASSERT_EQ(optq.link_ids[0], lid2, "link_ids[0]"); in test_tc_links_replace_target()
706 ASSERT_EQ(optq.prog_ids[1], pid1, "prog_ids[1]"); in test_tc_links_replace_target()
707 ASSERT_EQ(optq.link_ids[1], lid1, "link_ids[1]"); in test_tc_links_replace_target()
708 ASSERT_EQ(optq.prog_ids[2], 0, "prog_ids[2]"); in test_tc_links_replace_target()
709 ASSERT_EQ(optq.link_ids[2], 0, "link_ids[2]"); in test_tc_links_replace_target()
714 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_replace_target()
715 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_replace_target()
716 ASSERT_EQ(skel->bss->seen_tc3, false, "seen_tc3"); in test_tc_links_replace_target()
773 ASSERT_EQ(optq.count, 2, "count"); in test_tc_links_replace_target()
774 ASSERT_EQ(optq.revision, 4, "revision"); in test_tc_links_replace_target()
775 ASSERT_EQ(optq.prog_ids[0], pid3, "prog_ids[0]"); in test_tc_links_replace_target()
776 ASSERT_EQ(optq.link_ids[0], lid2, "link_ids[0]"); in test_tc_links_replace_target()
777 ASSERT_EQ(optq.prog_ids[1], pid1, "prog_ids[1]"); in test_tc_links_replace_target()
778 ASSERT_EQ(optq.link_ids[1], lid1, "link_ids[1]"); in test_tc_links_replace_target()
779 ASSERT_EQ(optq.prog_ids[2], 0, "prog_ids[2]"); in test_tc_links_replace_target()
780 ASSERT_EQ(optq.link_ids[2], 0, "link_ids[2]"); in test_tc_links_replace_target()
785 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_replace_target()
786 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in test_tc_links_replace_target()
787 ASSERT_EQ(skel->bss->seen_tc3, true, "seen_tc3"); in test_tc_links_replace_target()
803 ASSERT_EQ(optq.count, 1, "count"); in test_tc_links_replace_target()
804 ASSERT_EQ(optq.revision, 5, "revision"); in test_tc_links_replace_target()
805 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_replace_target()
806 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_replace_target()
807 ASSERT_EQ(optq.prog_ids[1], 0, "prog_ids[1]"); in test_tc_links_replace_target()
808 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in test_tc_links_replace_target()
813 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_replace_target()
814 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in test_tc_links_replace_target()
815 ASSERT_EQ(skel->bss->seen_tc3, false, "seen_tc3"); in test_tc_links_replace_target()
831 ASSERT_EQ(optq.count, 1, "count"); in test_tc_links_replace_target()
832 ASSERT_EQ(optq.revision, 5, "revision"); in test_tc_links_replace_target()
833 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_replace_target()
834 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_replace_target()
835 ASSERT_EQ(optq.prog_ids[1], 0, "prog_ids[1]"); in test_tc_links_replace_target()
836 ASSERT_EQ(optq.link_ids[1], 0, "link_ids[1]"); in test_tc_links_replace_target()
841 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_replace_target()
842 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in test_tc_links_replace_target()
843 ASSERT_EQ(skel->bss->seen_tc3, false, "seen_tc3"); in test_tc_links_replace_target()
868 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_invalid_target()
870 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_invalid_target()
1182 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_prepend_target()
1184 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_prepend_target()
1186 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_prepend_target()
1188 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_links_prepend_target()
1241 ASSERT_EQ(optq.count, 2, "count"); in test_tc_links_prepend_target()
1242 ASSERT_EQ(optq.revision, 3, "revision"); in test_tc_links_prepend_target()
1243 ASSERT_EQ(optq.prog_ids[0], pid2, "prog_ids[0]"); in test_tc_links_prepend_target()
1244 ASSERT_EQ(optq.link_ids[0], lid2, "link_ids[0]"); in test_tc_links_prepend_target()
1245 ASSERT_EQ(optq.prog_ids[1], pid1, "prog_ids[1]"); in test_tc_links_prepend_target()
1246 ASSERT_EQ(optq.link_ids[1], lid1, "link_ids[1]"); in test_tc_links_prepend_target()
1247 ASSERT_EQ(optq.prog_ids[2], 0, "prog_ids[2]"); in test_tc_links_prepend_target()
1248 ASSERT_EQ(optq.link_ids[2], 0, "link_ids[2]"); in test_tc_links_prepend_target()
1253 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_prepend_target()
1254 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_prepend_target()
1255 ASSERT_EQ(skel->bss->seen_tc3, false, "seen_tc3"); in test_tc_links_prepend_target()
1256 ASSERT_EQ(skel->bss->seen_tc4, false, "seen_tc4"); in test_tc_links_prepend_target()
1292 ASSERT_EQ(optq.count, 4, "count"); in test_tc_links_prepend_target()
1293 ASSERT_EQ(optq.revision, 5, "revision"); in test_tc_links_prepend_target()
1294 ASSERT_EQ(optq.prog_ids[0], pid4, "prog_ids[0]"); in test_tc_links_prepend_target()
1295 ASSERT_EQ(optq.link_ids[0], lid4, "link_ids[0]"); in test_tc_links_prepend_target()
1296 ASSERT_EQ(optq.prog_ids[1], pid3, "prog_ids[1]"); in test_tc_links_prepend_target()
1297 ASSERT_EQ(optq.link_ids[1], lid3, "link_ids[1]"); in test_tc_links_prepend_target()
1298 ASSERT_EQ(optq.prog_ids[2], pid2, "prog_ids[2]"); in test_tc_links_prepend_target()
1299 ASSERT_EQ(optq.link_ids[2], lid2, "link_ids[2]"); in test_tc_links_prepend_target()
1300 ASSERT_EQ(optq.prog_ids[3], pid1, "prog_ids[3]"); in test_tc_links_prepend_target()
1301 ASSERT_EQ(optq.link_ids[3], lid1, "link_ids[3]"); in test_tc_links_prepend_target()
1302 ASSERT_EQ(optq.prog_ids[4], 0, "prog_ids[4]"); in test_tc_links_prepend_target()
1303 ASSERT_EQ(optq.link_ids[4], 0, "link_ids[4]"); in test_tc_links_prepend_target()
1308 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_prepend_target()
1309 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_prepend_target()
1310 ASSERT_EQ(skel->bss->seen_tc3, true, "seen_tc3"); in test_tc_links_prepend_target()
1311 ASSERT_EQ(skel->bss->seen_tc4, true, "seen_tc4"); in test_tc_links_prepend_target()
1338 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_append_target()
1340 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_append_target()
1342 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_append_target()
1344 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_links_append_target()
1397 ASSERT_EQ(optq.count, 2, "count"); in test_tc_links_append_target()
1398 ASSERT_EQ(optq.revision, 3, "revision"); in test_tc_links_append_target()
1399 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_append_target()
1400 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_append_target()
1401 ASSERT_EQ(optq.prog_ids[1], pid2, "prog_ids[1]"); in test_tc_links_append_target()
1402 ASSERT_EQ(optq.link_ids[1], lid2, "link_ids[1]"); in test_tc_links_append_target()
1403 ASSERT_EQ(optq.prog_ids[2], 0, "prog_ids[2]"); in test_tc_links_append_target()
1404 ASSERT_EQ(optq.link_ids[2], 0, "link_ids[2]"); in test_tc_links_append_target()
1409 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_append_target()
1410 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_append_target()
1411 ASSERT_EQ(skel->bss->seen_tc3, false, "seen_tc3"); in test_tc_links_append_target()
1412 ASSERT_EQ(skel->bss->seen_tc4, false, "seen_tc4"); in test_tc_links_append_target()
1448 ASSERT_EQ(optq.count, 4, "count"); in test_tc_links_append_target()
1449 ASSERT_EQ(optq.revision, 5, "revision"); in test_tc_links_append_target()
1450 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_append_target()
1451 ASSERT_EQ(optq.link_ids[0], lid1, "link_ids[0]"); in test_tc_links_append_target()
1452 ASSERT_EQ(optq.prog_ids[1], pid2, "prog_ids[1]"); in test_tc_links_append_target()
1453 ASSERT_EQ(optq.link_ids[1], lid2, "link_ids[1]"); in test_tc_links_append_target()
1454 ASSERT_EQ(optq.prog_ids[2], pid3, "prog_ids[2]"); in test_tc_links_append_target()
1455 ASSERT_EQ(optq.link_ids[2], lid3, "link_ids[2]"); in test_tc_links_append_target()
1456 ASSERT_EQ(optq.prog_ids[3], pid4, "prog_ids[3]"); in test_tc_links_append_target()
1457 ASSERT_EQ(optq.link_ids[3], lid4, "link_ids[3]"); in test_tc_links_append_target()
1458 ASSERT_EQ(optq.prog_ids[4], 0, "prog_ids[4]"); in test_tc_links_append_target()
1459 ASSERT_EQ(optq.link_ids[4], 0, "link_ids[4]"); in test_tc_links_append_target()
1464 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_append_target()
1465 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_append_target()
1466 ASSERT_EQ(skel->bss->seen_tc3, true, "seen_tc3"); in test_tc_links_append_target()
1467 ASSERT_EQ(skel->bss->seen_tc4, true, "seen_tc4"); in test_tc_links_append_target()
1496 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_dev_cleanup_target()
1498 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_dev_cleanup_target()
1500 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_dev_cleanup_target()
1502 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_links_dev_cleanup_target()
1553 ASSERT_EQ(if_nametoindex("tcx_opts1"), 0, "dev1_removed"); in test_tc_links_dev_cleanup_target()
1554 ASSERT_EQ(if_nametoindex("tcx_opts2"), 0, "dev2_removed"); in test_tc_links_dev_cleanup_target()
1556 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc1)), 0, "tc1_ifindex"); in test_tc_links_dev_cleanup_target()
1557 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc2)), 0, "tc2_ifindex"); in test_tc_links_dev_cleanup_target()
1558 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc3)), 0, "tc3_ifindex"); in test_tc_links_dev_cleanup_target()
1559 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc4)), 0, "tc4_ifindex"); in test_tc_links_dev_cleanup_target()
1567 ASSERT_EQ(if_nametoindex("tcx_opts1"), 0, "dev1_removed"); in test_tc_links_dev_cleanup_target()
1568 ASSERT_EQ(if_nametoindex("tcx_opts2"), 0, "dev2_removed"); in test_tc_links_dev_cleanup_target()
1591 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_chain_mixed()
1593 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc5, target), in test_tc_chain_mixed()
1595 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc6, target), in test_tc_chain_mixed()
1634 ASSERT_EQ(skel->bss->seen_tc4, false, "seen_tc4"); in test_tc_chain_mixed()
1635 ASSERT_EQ(skel->bss->seen_tc5, false, "seen_tc5"); in test_tc_chain_mixed()
1636 ASSERT_EQ(skel->bss->seen_tc6, true, "seen_tc6"); in test_tc_chain_mixed()
1647 ASSERT_EQ(skel->bss->seen_tc4, true, "seen_tc4"); in test_tc_chain_mixed()
1648 ASSERT_EQ(skel->bss->seen_tc5, true, "seen_tc5"); in test_tc_chain_mixed()
1649 ASSERT_EQ(skel->bss->seen_tc6, false, "seen_tc6"); in test_tc_chain_mixed()
1660 ASSERT_EQ(skel->bss->seen_tc4, false, "seen_tc4"); in test_tc_chain_mixed()
1661 ASSERT_EQ(skel->bss->seen_tc5, true, "seen_tc5"); in test_tc_chain_mixed()
1662 ASSERT_EQ(skel->bss->seen_tc6, false, "seen_tc6"); in test_tc_chain_mixed()
1704 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_ingress()
1706 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_ingress()
1750 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_ingress()
1751 ASSERT_EQ(skel->bss->seen_tc2, true, "seen_tc2"); in test_tc_links_ingress()
1752 ASSERT_EQ(skel->bss->seen_tc3, chain_tc_old, "seen_tc3"); in test_tc_links_ingress()
1763 ASSERT_EQ(skel->bss->seen_tc1, true, "seen_tc1"); in test_tc_links_ingress()
1764 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in test_tc_links_ingress()
1765 ASSERT_EQ(skel->bss->seen_tc3, chain_tc_old, "seen_tc3"); in test_tc_links_ingress()
1847 ASSERT_EQ(if_nametoindex("foo"), 0, "foo removed"); in serial_test_tc_links_dev_chain0()
1848 ASSERT_EQ(if_nametoindex("bar"), 0, "bar removed"); in serial_test_tc_links_dev_chain0()
1869 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_dev_mixed()
1871 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_dev_mixed()
1873 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_dev_mixed()
1875 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_links_dev_mixed()
1940 ASSERT_EQ(if_nametoindex("tcx_opts1"), 0, "dev1_removed"); in test_tc_links_dev_mixed()
1941 ASSERT_EQ(if_nametoindex("tcx_opts2"), 0, "dev2_removed"); in test_tc_links_dev_mixed()
1943 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc1)), 0, "tc1_ifindex"); in test_tc_links_dev_mixed()
1944 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc2)), 0, "tc2_ifindex"); in test_tc_links_dev_mixed()
1945 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc3)), 0, "tc3_ifindex"); in test_tc_links_dev_mixed()
1946 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc4)), 0, "tc4_ifindex"); in test_tc_links_dev_mixed()
1954 ASSERT_EQ(if_nametoindex("tcx_opts1"), 0, "dev1_removed"); in test_tc_links_dev_mixed()
1955 ASSERT_EQ(if_nametoindex("tcx_opts2"), 0, "dev2_removed"); in test_tc_links_dev_mixed()