Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
DMakefile27 obj-$(CONFIG_BPF_SYSCALL) += tcx.o
/linux-6.12.1/include/net/
Dtcx.h80 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/
Dbpftool-net.rst39 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/
Dprogram_types.rst150 | | ``BPF_TCX_INGRESS`` | ``tcx/ingres…
152 | | ``BPF_TCX_EGRESS`` | ``tcx/egress…
229 ``tcx/*`` instead.
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtc_helpers.h49 return link_info.tcx.ifindex; in ifindex_from_link_fd()
/linux-6.12.1/tools/lib/bpf/
Dbpf.c808 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()
Dbpf.h432 } tcx; member
Dlibbpf.c12707 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/
Dbpf_types.h147 BPF_LINK_TYPE(BPF_LINK_TYPE_TCX, tcx)
/linux-6.12.1/tools/bpf/bpftool/
Dlink.c522 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/
Dctlreg.h199 unsigned long tcx : 1; /* Transactional-Execution control */ member
/linux-6.12.1/drivers/video/fbdev/
DMakefile54 obj-$(CONFIG_FB_TCX) += tcx.o
Dtcx.c46 FB_DEFAULT_SBUS_OPS(tcx),
/linux-6.12.1/include/uapi/linux/
Dbpf.h1764 } tcx; member
6732 } tcx; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h1764 } tcx; member
6732 } tcx; member
/linux-6.12.1/arch/s390/kernel/
Dptrace.c65 cr0_new.tcx = 1; in update_cr_regs()
67 cr0_new.tcx = 0; in update_cr_regs()
/linux-6.12.1/
DMAINTAINERS4255 BPF [NETWORKING] (tcx & tc BPF, sock_addr)
4262 F: include/net/tcx.h
4263 F: kernel/bpf/tcx.c