/linux-6.12.1/kernel/bpf/ |
D | tcx.c | 144 struct tcx_link *tcx = tcx_link(link); in tcx_link_prog_attach() local 145 bool created, ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_prog_attach() 147 struct net_device *dev = tcx->dev; in tcx_link_prog_attach() 171 struct tcx_link *tcx = tcx_link(link); in tcx_link_release() local 172 bool ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_release() 178 dev = tcx->dev; in tcx_link_release() 196 tcx->dev = NULL; in tcx_link_release() 206 struct tcx_link *tcx = tcx_link(link); in tcx_link_update() local 207 bool ingress = tcx->location == BPF_TCX_INGRESS; in tcx_link_update() 213 dev = tcx->dev; in tcx_link_update() [all …]
|
D | Makefile | 27 obj-$(CONFIG_BPF_SYSCALL) += tcx.o
|
/linux-6.12.1/include/net/ |
D | tcx.h | 80 struct tcx_entry *tcx = kzalloc_noprof(sizeof(*tcx), GFP_KERNEL); in tcx_entry_create_noprof() local 82 if (tcx) { in tcx_entry_create_noprof() 83 bpf_mprog_bundle_init(&tcx->bundle); in tcx_entry_create_noprof() 84 return &tcx->bundle.a; in tcx_entry_create_noprof()
|
/linux-6.12.1/tools/bpf/bpftool/Documentation/ |
D | bpftool-net.rst | 39 Currently, device driver xdp attachments, tcx, netkit and old-style tc 53 all tcx, netkit, then tc class/qdisc bpf program attachments, then 55 tcx/netkit/tc programs are ordered based on ifindex number. If multiple bpf 57 will be first all bpf programs attached to tcx, netkit, then tc classes, 192 lo(1) tcx/ingress tc_prog prog_id 29
|
/linux-6.12.1/Documentation/bpf/libbpf/ |
D | program_types.rst | 150 | | ``BPF_TCX_INGRESS`` | ``tcx/ingres… 152 | | ``BPF_TCX_EGRESS`` | ``tcx/egress… 229 ``tcx/*`` instead.
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_helpers.h | 49 return link_info.tcx.ifindex; in ifindex_from_link_fd()
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf.c | 808 relative_fd = OPTS_GET(opts, tcx.relative_fd, 0); in bpf_link_create() 809 relative_id = OPTS_GET(opts, tcx.relative_id, 0); in bpf_link_create() 813 attr.link_create.tcx.relative_id = relative_id; in bpf_link_create() 816 attr.link_create.tcx.relative_fd = relative_fd; in bpf_link_create() 818 attr.link_create.tcx.expected_revision = OPTS_GET(opts, tcx.expected_revision, 0); in bpf_link_create() 819 if (!OPTS_ZEROED(opts, tcx)) in bpf_link_create()
|
D | bpf.h | 432 } tcx; member
|
D | libbpf.c | 12707 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx() 12708 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx() 12709 link_create_opts.tcx.relative_id = relative_id; in bpf_program__attach_tcx()
|
/linux-6.12.1/include/linux/ |
D | bpf_types.h | 147 BPF_LINK_TYPE(BPF_LINK_TYPE_TCX, tcx)
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | link.c | 522 show_link_ifindex_json(info->tcx.ifindex, json_wtr); in show_link_close_json() 523 show_link_attach_type_json(info->tcx.attach_type, json_wtr); in show_link_close_json() 914 show_link_ifindex_plain(info->tcx.ifindex); in show_link_close_plain() 915 show_link_attach_type_plain(info->tcx.attach_type); in show_link_close_plain()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | ctlreg.h | 199 unsigned long tcx : 1; /* Transactional-Execution control */ member
|
/linux-6.12.1/drivers/video/fbdev/ |
D | Makefile | 54 obj-$(CONFIG_FB_TCX) += tcx.o
|
D | tcx.c | 46 FB_DEFAULT_SBUS_OPS(tcx),
|
/linux-6.12.1/include/uapi/linux/ |
D | bpf.h | 1764 } tcx; member 6732 } tcx; member
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | bpf.h | 1764 } tcx; member 6732 } tcx; member
|
/linux-6.12.1/arch/s390/kernel/ |
D | ptrace.c | 65 cr0_new.tcx = 1; in update_cr_regs() 67 cr0_new.tcx = 0; in update_cr_regs()
|
/linux-6.12.1/ |
D | MAINTAINERS | 4255 BPF [NETWORKING] (tcx & tc BPF, sock_addr) 4262 F: include/net/tcx.h 4263 F: kernel/bpf/tcx.c
|