Searched refs:program_fd (Results 1 – 5 of 5) sorted by relevance
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()129 ctx->program_fd = bpf_program__fd( in ebpf_rss_load()139 ctx->program_fd, in ebpf_rss_load()151 ctx->program_fd = -1; in ebpf_rss_load()168 if (program_fd < 0) { in ebpf_rss_load_fds()185 ctx->program_fd = program_fd; in ebpf_rss_load_fds()191 ctx->program_fd, in ebpf_rss_load_fds()197 ctx->program_fd = -1; in ebpf_rss_load_fds()295 close(ctx->program_fd); in ebpf_rss_unload()[all …]
23 int program_fd; member48 bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd,
31 bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd, in ebpf_rss_load_fds() argument
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);
1274 if (!virtio_net_attach_ebpf_to_backend(n->nic, n->ebpf_rss.program_fd)) { in virtio_net_attach_ebpf_rss()
Completed in 21 milliseconds