Searched refs:BPF_TCX_INGRESS (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | tcx.c | 12 bool created, ingress = attr->attach_type == BPF_TCX_INGRESS; in tcx_prog_attach() 61 bool ingress = attr->attach_type == BPF_TCX_INGRESS; in tcx_prog_detach() 124 bool ingress = attr->query.attach_type == BPF_TCX_INGRESS; in tcx_prog_query() 145 bool created, ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_prog_attach() 172 bool ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_release() 207 bool ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_update() 264 tcx->location == BPF_TCX_INGRESS ? "ingress" : "egress"); in tcx_link_fdinfo()
|
H A D | syscall.c | 3816 case BPF_TCX_INGRESS: in attach_type_to_prog_type() 3873 if (attach_type != BPF_TCX_INGRESS && in bpf_prog_attach_check_attach_type() 4077 case BPF_TCX_INGRESS: in bpf_prog_query()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_opts.c | 35 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_opts_basic() 45 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic() 72 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic() 97 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_opts_basic() 104 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_opts_basic() 259 test_tc_opts_before_target(BPF_TCX_INGRESS); in serial_test_tc_opts_before() 450 test_tc_opts_after_target(BPF_TCX_INGRESS); in serial_test_tc_opts_after() 1302 test_tc_opts_append_target(BPF_TCX_INGRESS); in serial_test_tc_opts_append() 1568 test_tc_opts_mixed_target(BPF_TCX_INGRESS); in serial_test_tc_opts_mixed() 2377 test_tc_chain_mixed(BPF_TCX_INGRESS); in serial_test_tc_opts_chain_mixed() [all …]
|
H A D | tc_links.c | 35 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 49 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 85 assert_mprog_count(BPF_TCX_INGRESS, 1); in serial_test_tc_links_basic() 111 assert_mprog_count(BPF_TCX_INGRESS, 0); in serial_test_tc_links_basic() 265 test_tc_links_before_target(BPF_TCX_INGRESS); in serial_test_tc_links_before() 419 test_tc_links_after_target(BPF_TCX_INGRESS); in serial_test_tc_links_after() 623 test_tc_chain_classic(BPF_TCX_INGRESS, false); in serial_test_tc_links_chain_classic() 625 test_tc_chain_classic(BPF_TCX_INGRESS, true); in serial_test_tc_links_chain_classic() 1475 test_tc_links_append_target(BPF_TCX_INGRESS); in serial_test_tc_links_append() 1677 test_tc_chain_mixed(BPF_TCX_INGRESS); in serial_test_tc_links_chain_mixed() [all …]
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 80 [BPF_TCX_INGRESS] = "tcx/ingress", 507 __show_dev_tc_bpf(dev, BPF_TCX_INGRESS); in show_dev_tc_bpf()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1057 BPF_TCX_INGRESS, enumerator
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1057 BPF_TCX_INGRESS, enumerator
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.c | 797 case BPF_TCX_INGRESS: in bpf_link_create()
|
H A D | libbpf.c | 122 [BPF_TCX_INGRESS] = "tcx_ingress", 8794 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */ 8796 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),
|