Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A 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 …]
H A DMakefile27 obj-$(CONFIG_BPF_SYSCALL) += tcx.o
/linux/include/net/
H A 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/tools/bpf/bpftool/Documentation/
H A 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/Documentation/bpf/libbpf/
H A Dprogram_types.rst150 | | ``BPF_TCX_INGRESS`` | ``tcx/ingres…
152 | | ``BPF_TCX_EGRESS`` | ``tcx/egress…
229 ``tcx/*`` instead.
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_helpers.h49 return link_info.tcx.ifindex; in ifindex_from_link_fd()
/linux/tools/lib/bpf/
H A Dbpf.c810 relative_fd = OPTS_GET(opts, tcx.relative_fd, 0); in bpf_link_create()
811 relative_id = OPTS_GET(opts, tcx.relative_id, 0); in bpf_link_create()
815 attr.link_create.tcx.relative_id = relative_id; in bpf_link_create()
818 attr.link_create.tcx.relative_fd = relative_fd; in bpf_link_create()
820 attr.link_create.tcx.expected_revision = OPTS_GET(opts, tcx.expected_revision, 0); in bpf_link_create()
821 if (!OPTS_ZEROED(opts, tcx)) in bpf_link_create()
H A Dbpf.h435 } tcx; member
H A Dlibbpf.c12797 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
12798 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx()
12799 link_create_opts.tcx.relative_id = relative_id; in bpf_program__attach_tcx()
/linux/include/linux/
H A Dbpf_types.h147 BPF_LINK_TYPE(BPF_LINK_TYPE_TCX, tcx)
/linux/tools/bpf/bpftool/
H A 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/arch/s390/include/asm/
H A Dctlreg.h199 unsigned long tcx : 1; /* Transactional-Execution control */ member
/linux/drivers/video/fbdev/
H A DMakefile54 obj-$(CONFIG_FB_TCX) += tcx.o
H A Dtcx.c46 FB_DEFAULT_SBUS_OPS(tcx),
/linux/include/uapi/linux/
H A Dbpf.h1775 } tcx; member
6741 } tcx; member
/linux/tools/include/uapi/linux/
H A Dbpf.h1775 } tcx; member
6741 } tcx; member
/linux/arch/s390/kernel/
H A Dptrace.c65 cr0_new.tcx = 1; in update_cr_regs()
67 cr0_new.tcx = 0; in update_cr_regs()
/linux/
H A DMAINTAINERS4362 BPF [NETWORKING] (tcx & tc BPF, sock_addr)
4369 F: include/net/tcx.h
4370 F: kernel/bpf/tcx.c