Lines Matching refs:xsks_map_fd
68 int xsks_map_fd; member
385 BPF_LD_MAP_FD(BPF_REG_1, ctx->xsks_map_fd), in xsk_load_xdp_prog()
397 BPF_LD_MAP_FD(BPF_REG_1, ctx->xsks_map_fd), in xsk_load_xdp_prog()
409 BPF_LD_MAP_FD(BPF_REG_1, ctx->xsks_map_fd), in xsk_load_xdp_prog()
491 ctx->xsks_map_fd = fd; in xsk_create_bpf_maps()
500 bpf_map_delete_elem(ctx->xsks_map_fd, &ctx->queue_id); in xsk_delete_bpf_maps()
501 close(ctx->xsks_map_fd); in xsk_delete_bpf_maps()
531 ctx->xsks_map_fd = -1; in xsk_lookup_bpf_maps()
545 ctx->xsks_map_fd = fd; in xsk_lookup_bpf_maps()
553 if (ctx->xsks_map_fd == -1) in xsk_lookup_bpf_maps()
565 return bpf_map_update_elem(ctx->xsks_map_fd, &ctx->queue_id, in xsk_set_bpf_maps()