Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dtcx.c144 struct tcx_link *tcx = tcx_link(link); in tcx_link_prog_attach() local
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
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
213 dev = tcx->dev; in tcx_link_update()
253 const struct tcx_link *tcx = tcx_link(link); in tcx_link_fdinfo() local
257 if (tcx->dev) in tcx_link_fdinfo()
258 ifindex = tcx->dev->ifindex; in tcx_link_fdinfo()
[all …]
/linux/include/net/
H A Dtcx.h79 struct tcx_entry *tcx = kzalloc_noprof(sizeof(*tcx), GFP_KERNEL); in tcx_entry_create_noprof() local
81 if (tcx) { in tcx_entry_create_noprof()
82 bpf_mprog_bundle_init(&tcx->bundle); in tcx_entry_create_noprof()
83 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,
197 lo(1) tcx/ingress tc_prog prog_id 29
207 lo(1) tcx/ingress tc_prog2 prog_id 30
208 lo(1) tcx/ingress tc_prog prog_id 29
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_helpers.h21 return link_info.tcx.ifindex; in ifindex_from_link_fd()
/linux/arch/s390/include/asm/
H A Dctlreg.h199 unsigned long tcx : 1; /* Transactional-Execution control */ member
/linux/arch/s390/kernel/
H A Dptrace.c63 cr0_new.tcx = 1; in update_cr_regs()
65 cr0_new.tcx = 0; in update_cr_regs()
/linux/drivers/video/fbdev/
H A Dtcx.c46 FB_DEFAULT_SBUS_OPS(tcx),
/linux/tools/include/uapi/linux/
H A Dbpf.h1862 } tcx;
6552 /* (Simplified) user return codes for tcx prog type.
6553 * A valid tcx program must return one of these defined values. All other
6878 } tcx;
1814 } tcx; global() member
6813 } tcx; global() member
/linux/tools/lib/bpf/
H A Dlibbpf.c156 [BPF_LINK_TYPE_TCX] = "tcx",
10099 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */ in libbpf_get_type_names()
10100 SEC_DEF("tc/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), /* alias for tcx */ in libbpf_get_type_names()
10101 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), in libbpf_get_type_names()
10102 SEC_DEF("tcx/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), in libbpf_get_type_names()
10103 SEC_DEF("tc", SCHED_CLS, 0, SEC_NONE), /* deprecated / legacy, use tcx */ in libbpf_get_type_names()
10104 SEC_DEF("classifier", SCHED_CLS, 0, SEC_NONE), /* deprecated / legacy, use tcx */ in libbpf_get_type_names()
10105 SEC_DEF("action", SCHED_ACT, 0, SEC_NONE), /* deprecated / legacy, use tcx */ in libbpf_get_type_names()
13841 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in __perf_buffer__new()
13842 link_create_opts.tcx in __perf_buffer__new()
[all...]
/linux/
H A DMAINTAINERS5009 BPF [NETWORKING] (tcx & tc BPF, sock_addr)
5017 F: include/net/tcx.h
5018 F: kernel/bpf/tcx.c