Searched refs:nfp_flow (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/netronome/nfp/flower/ |
D | metadata.c | 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() [all …]
|
D | offload.c | 92 nfp_flower_xmit_flow(struct nfp_app *app, struct nfp_fl_payload *nfp_flow, in nfp_flower_xmit_flow() argument 100 key_len = nfp_flow->meta.key_len; in nfp_flower_xmit_flow() 101 mask_len = nfp_flow->meta.mask_len; in nfp_flower_xmit_flow() 102 act_len = nfp_flow->meta.act_len; in nfp_flower_xmit_flow() 109 nfp_flow->meta.key_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow() 110 nfp_flow->meta.mask_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow() 111 nfp_flow->meta.act_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow() 118 memcpy(msg, &nfp_flow->meta, meta_len); in nfp_flower_xmit_flow() 119 memcpy(&msg[meta_len], nfp_flow->unmasked_data, key_len); in nfp_flower_xmit_flow() 120 memcpy(&msg[meta_len + key_len], nfp_flow->mask_data, mask_len); in nfp_flower_xmit_flow() [all …]
|
D | match.c | 475 struct nfp_fl_payload *nfp_flow, in nfp_flower_compile_flow_match() argument 490 memset(nfp_flow->unmasked_data, 0, key_ls->key_size); in nfp_flower_compile_flow_match() 491 memset(nfp_flow->mask_data, 0, key_ls->key_size); in nfp_flower_compile_flow_match() 493 ext = nfp_flow->unmasked_data; in nfp_flower_compile_flow_match() 494 msk = nfp_flow->mask_data; in nfp_flower_compile_flow_match() 581 nfp_flow->nfp_tun_ipv6 = entry; in nfp_flower_compile_flow_match() 594 nfp_flow->nfp_tun_ipv4_addr = dst; in nfp_flower_compile_flow_match() 625 nfp_flow->nfp_tun_ipv6 = entry; in nfp_flower_compile_flow_match() 638 nfp_flow->nfp_tun_ipv4_addr = dst; in nfp_flower_compile_flow_match() 652 ext_len = (u32 *)ext - (u32 *)nfp_flow->unmasked_data; in nfp_flower_compile_flow_match()
|
D | action.c | 134 struct nfp_fl_payload *nfp_flow, int act_len, in nfp_fl_pre_lag() argument 155 memmove(nfp_flow->action_data + act_size, in nfp_fl_pre_lag() 156 nfp_flow->action_data, act_len); in nfp_fl_pre_lag() 158 pre_lag = (struct nfp_fl_pre_lag *)nfp_flow->action_data; in nfp_fl_pre_lag() 166 nfp_flow->meta.shortcut = cpu_to_be32(NFP_FL_SC_ACT_NULL); in nfp_fl_pre_lag() 174 struct nfp_fl_payload *nfp_flow, in nfp_fl_output() argument 228 if (nfp_flow->pre_tun_rule.dev || !pkt_host) { in nfp_fl_output() 233 nfp_flow->pre_tun_rule.dev = out_dev; in nfp_fl_output() 259 nfp_flow->meta.shortcut = output->port; in nfp_fl_output() 1200 struct nfp_fl_payload *nfp_flow, in nfp_flower_compile_action() argument [all …]
|
D | main.h | 412 struct nfp_fl_payload *nfp_flow, 418 struct nfp_fl_payload *nfp_flow, 422 struct nfp_fl_payload *nfp_flow, 426 struct nfp_fl_payload *nfp_flow); 428 struct nfp_fl_payload *nfp_flow);
|