Home
last modified time | relevance | path

Searched refs:xdp_hw (Results 1 – 5 of 5) sorted by relevance

/drivers/net/netdevsim/
Dbpf.c84 return ns->xdp_hw.prog; in nsim_xdp_offload_active()
555 return xdp_attachment_query(&ns->xdp_hw, bpf); in nsim_bpf()
567 return nsim_xdp_set_prog(ns, bpf, &ns->xdp_hw); in nsim_bpf()
648 WARN_ON(ns->xdp_hw.prog); in nsim_bpf_uninit()
Dnetdevsim.h66 struct xdp_attachment_info xdp_hw; member
/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c47 xdp_running = running && nn->xdp_hw.prog; in nfp_bpf_xdp_offload()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h621 struct xdp_attachment_info xdp_hw; member
Dnfp_net_common.c3681 if (!xdp_attachment_flags_ok(&nn->xdp_hw, bpf)) in nfp_net_xdp_setup_hw()
3688 xdp_attachment_setup(&nn->xdp_hw, bpf); in nfp_net_xdp_setup_hw()
3704 return xdp_attachment_query(&nn->xdp_hw, xdp); in nfp_net_xdp()