Searched refs:xdp_link (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/net/core/ |
D | dev.c | 9556 struct bpf_xdp_link *xdp_link = container_of(link, struct bpf_xdp_link, link); in bpf_xdp_link_release() local 9563 if (xdp_link->dev) { in bpf_xdp_link_release() 9564 WARN_ON(dev_xdp_detach_link(xdp_link->dev, NULL, xdp_link)); in bpf_xdp_link_release() 9565 xdp_link->dev = NULL; in bpf_xdp_link_release() 9579 struct bpf_xdp_link *xdp_link = container_of(link, struct bpf_xdp_link, link); in bpf_xdp_link_dealloc() local 9581 kfree(xdp_link); in bpf_xdp_link_dealloc() 9587 struct bpf_xdp_link *xdp_link = container_of(link, struct bpf_xdp_link, link); in bpf_xdp_link_show_fdinfo() local 9591 if (xdp_link->dev) in bpf_xdp_link_show_fdinfo() 9592 ifindex = xdp_link->dev->ifindex; in bpf_xdp_link_show_fdinfo() 9601 struct bpf_xdp_link *xdp_link = container_of(link, struct bpf_xdp_link, link); in bpf_xdp_link_fill_link_info() local [all …]
|