Home
last modified time | relevance | path

Searched refs:tcx (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/kernel/bpf/
Dtcx.c144 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 …]
DMakefile24 obj-$(CONFIG_BPF_SYSCALL) += tcx.o
/linux-6.6.21/include/net/
Dtcx.h85 struct tcx_entry *tcx = kzalloc(sizeof(*tcx), GFP_KERNEL); in tcx_entry_create() local
87 if (tcx) { in tcx_entry_create()
88 bpf_mprog_bundle_init(&tcx->bundle); in tcx_entry_create()
89 return &tcx->bundle.a; in tcx_entry_create()
/linux-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst40 Currently, device driver xdp attachments, tcx and old-style tc
55 all tcx, then tc class/qdisc bpf program attachments, then flow_dissector
56 and finally netfilter programs. Both xdp programs and tcx/tc programs are
59 all bpf programs attached to tcx, then tc classes, then all bpf programs
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtc_helpers.h45 return link_info.tcx.ifindex; in ifindex_from_link_fd()
/linux-6.6.21/arch/s390/include/asm/
Dctl_reg.h93 unsigned long tcx : 1; /* Transactional-Execution control */ member
/linux-6.6.21/tools/lib/bpf/
Dbpf.c799 relative_fd = OPTS_GET(opts, tcx.relative_fd, 0); in bpf_link_create()
800 relative_id = OPTS_GET(opts, tcx.relative_id, 0); in bpf_link_create()
804 attr.link_create.tcx.relative_id = relative_id; in bpf_link_create()
807 attr.link_create.tcx.relative_fd = relative_fd; in bpf_link_create()
809 attr.link_create.tcx.expected_revision = OPTS_GET(opts, tcx.expected_revision, 0); in bpf_link_create()
810 if (!OPTS_ZEROED(opts, tcx)) in bpf_link_create()
Dbpf.h417 } tcx; member
Dlibbpf.c11984 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
11985 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx()
11986 link_create_opts.tcx.relative_id = relative_id; in bpf_program__attach_tcx()
/linux-6.6.21/tools/bpf/bpftool/
Dlink.c449 show_link_ifindex_json(info->tcx.ifindex, json_wtr); in show_link_close_json()
450 show_link_attach_type_json(info->tcx.attach_type, json_wtr); in show_link_close_json()
785 show_link_ifindex_plain(info->tcx.ifindex); in show_link_close_plain()
786 show_link_attach_type_plain(info->tcx.attach_type); in show_link_close_plain()
/linux-6.6.21/drivers/video/fbdev/
DMakefile54 obj-$(CONFIG_FB_TCX) += tcx.o sbuslib.o
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1637 } tcx; member
6565 } tcx; member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1637 } tcx; member
6565 } tcx; member
/linux-6.6.21/arch/s390/kernel/
Dptrace.c56 cr0_new.tcx = 1; in update_cr_regs()
58 cr0_new.tcx = 0; in update_cr_regs()
/linux-6.6.21/
DMAINTAINERS3806 BPF [NETWORKING] (tcx & tc BPF, sock_addr)
3813 F: include/net/tcx.h
3814 F: kernel/bpf/tcx.c