• Home
  • Raw
  • Download

Lines Matching refs:nfp_flow

294 			      struct nfp_fl_payload *nfp_flow,  in nfp_compile_flow_metadata()  argument
311 nfp_flow->meta.host_ctx_id = cpu_to_be32(stats_cxt); in nfp_compile_flow_metadata()
312 nfp_flow->meta.host_cookie = cpu_to_be64(flow->cookie); in nfp_compile_flow_metadata()
313 nfp_flow->ingress_dev = netdev; in nfp_compile_flow_metadata()
322 ctx_entry->flow = nfp_flow; in nfp_compile_flow_metadata()
336 if (!nfp_flow->pre_tun_rule.dev && in nfp_compile_flow_metadata()
337 !nfp_check_mask_add(app, nfp_flow->mask_data, in nfp_compile_flow_metadata()
338 nfp_flow->meta.mask_len, in nfp_compile_flow_metadata()
339 &nfp_flow->meta.flags, &new_mask_id)) { in nfp_compile_flow_metadata()
350 nfp_flow->meta.flow_version = cpu_to_be64(priv->flower_version); in nfp_compile_flow_metadata()
354 nfp_flow->unmasked_data[NFP_FL_MASK_ID_LOCATION] = new_mask_id; in nfp_compile_flow_metadata()
368 if (!nfp_flow->pre_tun_rule.dev && in nfp_compile_flow_metadata()
369 !nfp_check_mask_remove(app, nfp_flow->mask_data, in nfp_compile_flow_metadata()
370 nfp_flow->meta.mask_len, in nfp_compile_flow_metadata()
384 if (!nfp_flow->pre_tun_rule.dev) in nfp_compile_flow_metadata()
385 nfp_check_mask_remove(app, nfp_flow->mask_data, in nfp_compile_flow_metadata()
386 nfp_flow->meta.mask_len, in nfp_compile_flow_metadata()
401 struct nfp_fl_payload *nfp_flow) in __nfp_modify_flow_metadata() argument
403 nfp_flow->meta.flags &= ~NFP_FL_META_FLAG_MANAGE_MASK; in __nfp_modify_flow_metadata()
404 nfp_flow->meta.flow_version = cpu_to_be64(priv->flower_version); in __nfp_modify_flow_metadata()
409 struct nfp_fl_payload *nfp_flow) in nfp_modify_flow_metadata() argument
416 __nfp_modify_flow_metadata(priv, nfp_flow); in nfp_modify_flow_metadata()
418 if (!nfp_flow->pre_tun_rule.dev) in nfp_modify_flow_metadata()
419 nfp_check_mask_remove(app, nfp_flow->mask_data, in nfp_modify_flow_metadata()
420 nfp_flow->meta.mask_len, &nfp_flow->meta.flags, in nfp_modify_flow_metadata()
424 nfp_flow->unmasked_data[NFP_FL_MASK_ID_LOCATION] = new_mask_id; in nfp_modify_flow_metadata()
427 temp_ctx_id = be32_to_cpu(nfp_flow->meta.host_ctx_id); in nfp_modify_flow_metadata()