Searched refs:program_fd (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/ebpf/ |
H A D | ebpf_rss.c | 34 ctx->program_fd = -1; in ebpf_rss_init() 47 return ctx != NULL && (ctx->obj != NULL || ctx->program_fd != -1); in ebpf_rss_is_loaded() 128 ctx->program_fd = bpf_program__fd( in ebpf_rss_load() 145 ctx->program_fd = -1; in ebpf_rss_load() 153 bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd, in ebpf_rss_load_fds() argument 160 if (program_fd < 0 || config_fd < 0 || toeplitz_fd < 0 || table_fd < 0) { in ebpf_rss_load_fds() 164 ctx->program_fd = program_fd; in ebpf_rss_load_fds() 170 ctx->program_fd = -1; in ebpf_rss_load_fds() 261 close(ctx->program_fd); in ebpf_rss_unload() 268 ctx->program_fd = -1; in ebpf_rss_unload()
|
H A D | ebpf_rss.h | 21 int program_fd; member 46 bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd,
|
H A D | ebpf_rss-stub.c | 31 bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd, in ebpf_rss_load_fds() argument
|
/openbmc/qemu/docs/devel/ |
H A D | ebpf_rss.rst | 78 - program_fd - file descriptor of the eBPF RSS program. 94 …am from the rss.bpf.skeleton.h. Returns 'true' on success. After that, program_fd can be used to s… 116 net_client->info->set_steering_ebpf(net_client, ctx->program_fd);
|
/openbmc/linux/Documentation/hid/ |
H A D | hid-bpf.rst | 299 ``hid_bpf_attach_prog(hid_id, program_fd, flags)``.
|
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | 1272 if (!virtio_net_attach_ebpf_to_backend(n->nic, n->ebpf_rss.program_fd)) { in virtio_net_attach_epbf_rss()
|