Searched refs:xdp_state (Results 1 – 2 of 2) sorted by relevance
9135 return dev->xdp_state[mode].link; in dev_xdp_link()9145 return dev->xdp_state[mode].prog; in dev_xdp_prog()9154 if (dev->xdp_state[i].prog || dev->xdp_state[i].link) in dev_xdp_prog_count()9170 dev->xdp_state[mode].link = link; in dev_xdp_set_link()9171 dev->xdp_state[mode].prog = NULL; in dev_xdp_set_link()9177 dev->xdp_state[mode].link = NULL; in dev_xdp_set_prog()9178 dev->xdp_state[mode].prog = prog; in dev_xdp_set_prog()
2411 struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; member