Home
last modified time | relevance | path

Searched full:tcx (Results 1 – 25 of 25) sorted by relevance

/linux/kernel/bpf/
H A Dtcx.c8 #include <net/tcx.h>
144 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()
[all …]
H A DMakefile27 obj-$(CONFIG_BPF_SYSCALL) += tcx.o
H A Dsyscall.c46 #include <net/tcx.h>
/linux/drivers/video/fbdev/
H A Dtcx.c2 /* tcx.c: TCX frame buffer driver
46 FB_DEFAULT_SBUS_OPS(tcx),
375 par->lowdepth = of_property_read_bool(dp, "tcx-8-bit"); in tcx_probe()
387 sizeof(struct tcx_tec), "tcx tec"); in tcx_probe()
389 sizeof(struct tcx_thc), "tcx thc"); in tcx_probe()
391 sizeof(struct bt_regs), "tcx dac"); in tcx_probe()
393 info->fix.smem_len, "tcx ram"); in tcx_probe()
402 "tcx cplane"); in tcx_probe()
462 printk(KERN_INFO "%pOF: TCX at %lx:%lx, %s\n", in tcx_probe()
496 .name = "SUNW,tcx",
[all …]
H A DMakefile54 obj-$(CONFIG_FB_TCX) += tcx.o
/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,
72 **tcx_ingress** - Ingress TCX. runs on ingress net traffic;
73 **tcx_egress** - Egress TCX. runs on egress net traffic;
192 lo(1) tcx/ingress tc_prog prog_id 29
/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/testing/selftests/bpf/progs/
H A Dverifier_ldsx.c196 SEC("tcx/ingress") in ldsx_ctx_4()
197 __description("LDSX, tcx s32 __sk_buff->data") in ldsx_ctx_4()
210 SEC("tcx/ingress") in ldsx_ctx_5()
211 __description("LDSX, tcx s32 __sk_buff->data_end") in ldsx_ctx_5()
224 SEC("tcx/ingress") in ldsx_ctx_6()
225 __description("LDSX, tcx s32 __sk_buff->data_meta") in ldsx_ctx_6()
H A Dtest_tc_bpf.c17 SEC("tcx/ingress")
/linux/include/linux/
H A Dbpf_mprog.h98 * (like RTNL in case of tcx).
100 * bpf_mprog_entry pointer can be an __rcu annotated pointer (in case of tcx
106 * (in case of tcx it runs in NAPI which provides RCU protection there,
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_helpers.h21 return link_info.tcx.ifindex; in ifindex_from_link_fd()
/linux/tools/bpf/bpftool/
H A Dnet.c84 [BPF_TCX_INGRESS] = "tcx/ingress",
85 [BPF_TCX_EGRESS] = "tcx/egress",
728 /* attach tcx prog */ in do_attach()
779 /* detach tcx prog */ in do_detach()
997 "Note: Only xdp, tcx, tc, netkit, flow_dissector and netfilter attachments\n" in do_help()
/linux/Documentation/devicetree/bindings/regulator/
H A Dbrcm,bcm59054.yaml25 "^(rf|sd|sdx|aud|mic|usb|vib|tcx)ldo$":
/linux/arch/sparc/include/asm/
H A Dfbio.h21 /* Addresses on the fd of a tcx that are mappable */
H A Dswift.h20 #define SWIFT_AP 0x00010000 /* Graphics page mode control (TCX/SX) */
/linux/arch/m68k/include/asm/
H A Dfbio.h36 #define FBTYPE_TCXCOLOR 21 /* SUNW,tcx card */
236 /* Addresses on the fd of a tcx that are mappable */
/linux/arch/sparc/include/uapi/asm/
H A Dfbio.h36 #define FBTYPE_TCXCOLOR 21 /* SUNW,tcx card */
/linux/arch/s390/include/asm/
H A Dctlreg.h199 unsigned long tcx : 1; /* Transactional-Execution control */ member
/linux/net/sched/
H A Dsch_ingress.c16 #include <net/tcx.h>
/linux/include/uapi/linux/
H A Dfb.h97 #define FB_ACCEL_SUN_TCX 25 /* Sun tcx */
H A Dbpf.h1818 } tcx;
6494 /* (Simplified) user return codes for tcx prog type.
6495 * A valid tcx program must return one of these defined values. All other
6818 } tcx;
1814 } tcx; global() member
6813 } tcx; global() member
/linux/tools/lib/bpf/
H A Dlibbpf.c152 [BPF_LINK_TYPE_TCX] = "tcx",
9834 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */
9835 SEC_DEF("tc/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), /* alias for tcx */
9836 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),
9837 SEC_DEF("tcx/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE),
9838 SEC_DEF("tc", SCHED_CLS, 0, SEC_NONE), /* deprecated / legacy, use tcx */
9839 SEC_DEF("classifier", SCHED_CLS, 0, SEC_NONE), /* deprecated / legacy, use tcx */
9840 SEC_DEF("action", SCHED_ACT, 0, SEC_NONE), /* deprecated / legacy, use tcx */
13229 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
13230 link_create_opts.tcx.relative_fd = relative_fd; in bpf_program__attach_tcx()
[all …]
/linux/tools/include/uapi/linux/
H A Dbpf.h1818 } tcx;
6494 /* (Simplified) user return codes for tcx prog type.
6495 * A valid tcx program must return one of these defined values. All other
6818 } tcx;
1814 } tcx; global() member
6813 } tcx; global() member
/linux/net/core/
H A Ddev.c114 #include <net/tcx.h>
/linux/
H A DMAINTAINERS4826 BPF [NETWORKING] (tcx & tc BPF, sock_addr)
4834 F: include/net/tcx.h
4835 F: kernel/bpf/tcx.c