Searched refs:flow_pay (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/ |
D | offload.c | 550 struct nfp_fl_payload *flow_pay; in nfp_flower_allocate_new() local 552 flow_pay = kmalloc(sizeof(*flow_pay), GFP_KERNEL); in nfp_flower_allocate_new() 553 if (!flow_pay) in nfp_flower_allocate_new() 556 flow_pay->meta.key_len = key_layer->key_size; in nfp_flower_allocate_new() 557 flow_pay->unmasked_data = kmalloc(key_layer->key_size, GFP_KERNEL); in nfp_flower_allocate_new() 558 if (!flow_pay->unmasked_data) in nfp_flower_allocate_new() 561 flow_pay->meta.mask_len = key_layer->key_size; in nfp_flower_allocate_new() 562 flow_pay->mask_data = kmalloc(key_layer->key_size, GFP_KERNEL); in nfp_flower_allocate_new() 563 if (!flow_pay->mask_data) in nfp_flower_allocate_new() 566 flow_pay->action_data = kmalloc(NFP_FL_MAX_A_SIZ, GFP_KERNEL); in nfp_flower_allocate_new() [all …]
|
D | conntrack.c | 712 struct nfp_fl_payload *flow_pay, in nfp_fl_merge_actions_offload() argument 805 err = nfp_flower_compile_action(priv->app, a_rule, netdev, flow_pay, NULL); in nfp_fl_merge_actions_offload() 820 struct nfp_fl_payload *flow_pay; in nfp_fl_ct_add_offload() local 861 flow_pay = nfp_flower_allocate_new(&key_layer); in nfp_fl_ct_add_offload() 862 if (!flow_pay) in nfp_fl_ct_add_offload() 865 memset(flow_pay->unmasked_data, 0, key_layer.key_size); in nfp_fl_ct_add_offload() 866 memset(flow_pay->mask_data, 0, key_layer.key_size); in nfp_fl_ct_add_offload() 868 kdata = flow_pay->unmasked_data; in nfp_fl_ct_add_offload() 869 mdata = flow_pay->mask_data; in nfp_fl_ct_add_offload() 1006 flow_pay->nfp_tun_ipv6 = entry; in nfp_fl_ct_add_offload() [all …]
|
D | main.h | 200 struct nfp_fl_payload *flow_pay; member 536 static inline bool nfp_flower_is_merge_flow(struct nfp_fl_payload *flow_pay) in nfp_flower_is_merge_flow() argument 538 return flow_pay->tc_flower_cookie == (unsigned long)flow_pay; in nfp_flower_is_merge_flow()
|
D | tunnel_conf.c | 325 struct nfp_fl_payload *flow_pay = predt->flow_pay; in nfp_tun_mutual_link() local 329 if (flow_pay->pre_tun_rule.is_ipv6 != neigh->is_ipv6) in nfp_tun_mutual_link() 346 if (memcmp(flow_pay->pre_tun_rule.loc_mac, in nfp_tun_mutual_link() 348 memcmp(flow_pay->pre_tun_rule.rem_mac, in nfp_tun_mutual_link() 354 ext->host_ctx = flow_pay->meta.host_ctx_id; in nfp_tun_mutual_link() 355 ext->vlan_tci = flow_pay->pre_tun_rule.vlan_tci; in nfp_tun_mutual_link() 356 ext->vlan_tpid = flow_pay->pre_tun_rule.vlan_tpid; in nfp_tun_mutual_link()
|
D | conntrack.h | 193 struct nfp_fl_payload *flow_pay; member
|