Home
last modified time | relevance | path

Searched refs:tcx (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/kernel/bpf/
H A Dtcx.c8 #include <net/tcx.h>
144 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 in tcx_link_update()
253 const struct tcx_link *tcx = tcx_link_const(link); tcx_link_fdinfo() local
270 const struct tcx_link *tcx = tcx_link_const(link); tcx_link_fill_info() local
298 tcx_link_init(struct tcx_link *tcx, struct bpf_link_primer *link_primer, const union bpf_attr *attr, struct net_device *dev, struct bpf_prog *prog) tcx_link_init() argument
315 struct tcx_link *tcx; tcx_link_attach() local
[all...]
H A DMakefile24 obj-$(CONFIG_BPF_SYSCALL) += tcx.o
H A Dsyscall.c40 #include <net/tcx.h>
/kernel/linux/linux-6.6/include/net/
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtc_helpers.h45 return link_info.tcx.ifindex; in ifindex_from_link_fd()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dctl_reg.h84 unsigned long tcx : 1; /* Transactional-Execution control */ member
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dctl_reg.h93 unsigned long tcx : 1; /* Transactional-Execution control */ member
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A 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()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A 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()
H A Dbpf.h417 } tcx; member
H A Dlibbpf.c139 [BPF_LINK_TYPE_TCX] = "tcx",
8794 SEC_DEF("tc/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE), /* alias for tcx */
8795 SEC_DEF("tc/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE), /* alias for tcx */
8796 SEC_DEF("tcx/ingress", SCHED_CLS, BPF_TCX_INGRESS, SEC_NONE),
8797 SEC_DEF("tcx/egress", SCHED_CLS, BPF_TCX_EGRESS, SEC_NONE),
8798 SEC_DEF("tc", SCHED_CLS, 0, SEC_NONE), /* deprecated / legacy, use tcx */
8799 SEC_DEF("classifier", SCHED_CLS, 0, SEC_NONE), /* deprecated / legacy, use tcx */
8800 SEC_DEF("action", SCHED_ACT, 0, SEC_NONE), /* deprecated / legacy, use tcx */
11988 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
11989 link_create_opts.tcx in bpf_program__attach_tcx()
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_ingress.c16 #include <net/tcx.h>
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbpf.h1637 } tcx; member
6267 /* (Simplified) user return codes for tcx prog type.
6268 * A valid tcx program must return one of these defined values. All other
6565 } tcx; member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dbpf.h1637 } tcx; member
6267 /* (Simplified) user return codes for tcx prog type.
6268 * A valid tcx program must return one of these defined values. All other
6565 } tcx; member
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dptrace.c59 cr0_new.tcx = 1; in update_cr_regs()
61 cr0_new.tcx = 0; in update_cr_regs()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dptrace.c56 cr0_new.tcx = 1; in update_cr_regs()
58 cr0_new.tcx = 0; in update_cr_regs()
/kernel/linux/linux-6.6/net/core/
H A Ddev.c110 #include <net/tcx.h>

Completed in 66 milliseconds