Lines Matching full:offload
68 state = env->prog->aux->offload->dev_priv; in nsim_bpf_verify_insn()
99 state = prog->aux->offload->dev_priv; in nsim_prog_set_loaded()
109 "bad offload state, expected offload %sto be active", in nsim_bpf_offload()
128 "only offload of BPF classifiers supported"); in nsim_bpf_setup_tc_block_cb()
143 "netdevsim configured to reject BPF TC offload"); in nsim_bpf_setup_tc_block_cb()
147 if (prog && !prog->aux->offload && !ns->bpf_tc_non_bound_accept) { in nsim_bpf_setup_tc_block_cb()
165 "driver and netdev offload states mismatch"); in nsim_bpf_setup_tc_block_cb()
203 NSIM_EA(bpf->extack, "XDP offload disabled in DebugFS"); in nsim_xdp_set_prog()
249 prog->aux->offload->dev_priv = state; in nsim_bpf_create_prog()
257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()
267 struct nsim_bpf_bound_prog *state = prog->aux->offload->dev_priv; in nsim_bpf_translate()
277 state = prog->aux->offload->dev_priv; in nsim_bpf_destroy_prog()
279 "offload state destroyed while program still bound"); in nsim_bpf_destroy_prog()
295 if (bpf->prog && bpf->prog->aux->offload) { in nsim_setup_prog_checks()
319 state = bpf->prog->aux->offload->dev_priv; in nsim_setup_prog_hw_checks()