Home
last modified time | relevance | path

Searched refs:xdp_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/net/core/
Ddev.c8907 return dev->xdp_state[mode].link; in dev_xdp_link()
8917 return dev->xdp_state[mode].prog; in dev_xdp_prog()
8926 if (dev->xdp_state[i].prog || dev->xdp_state[i].link) in dev_xdp_prog_count()
8941 dev->xdp_state[mode].link = link; in dev_xdp_set_link()
8942 dev->xdp_state[mode].prog = NULL; in dev_xdp_set_link()
8948 dev->xdp_state[mode].link = NULL; in dev_xdp_set_prog()
8949 dev->xdp_state[mode].prog = prog; in dev_xdp_set_prog()
/Linux-v5.10/include/linux/
Dnetdevice.h2166 struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; member