Home
last modified time | relevance | path

Searched refs:NFP_NET_CFG_CTRL_BPF (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c543 nn->dp.ctrl |= NFP_NET_CFG_CTRL_BPF; in nfp_net_bpf_start()
553 if (!(nn->dp.ctrl & NFP_NET_CFG_CTRL_BPF)) in nfp_net_bpf_stop()
556 nn->dp.ctrl &= ~NFP_NET_CFG_CTRL_BPF; in nfp_net_bpf_stop()
582 if (!old_prog && nn->dp.ctrl & NFP_NET_CFG_CTRL_BPF) in nfp_net_bpf_offload()
Dmain.c29 return nn->cap & NFP_NET_CFG_CTRL_BPF && in nfp_net_ebpf_capable()
46 running = nn->dp.ctrl & NFP_NET_CFG_CTRL_BPF; in nfp_bpf_xdp_offload()
187 if (~nn->dp.ctrl & NFP_NET_CFG_CTRL_BPF) in nfp_bpf_check_mtu()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ctrl.h110 #define NFP_NET_CFG_CTRL_BPF (0x1 << 27) /* BPF offload capable */ macro