Home
last modified time | relevance | path

Searched refs:flow_pay (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c473 struct nfp_fl_payload *flow_pay; in nfp_flower_allocate_new() local
475 flow_pay = kmalloc(sizeof(*flow_pay), GFP_KERNEL); in nfp_flower_allocate_new()
476 if (!flow_pay) in nfp_flower_allocate_new()
479 flow_pay->meta.key_len = key_layer->key_size; in nfp_flower_allocate_new()
480 flow_pay->unmasked_data = kmalloc(key_layer->key_size, GFP_KERNEL); in nfp_flower_allocate_new()
481 if (!flow_pay->unmasked_data) in nfp_flower_allocate_new()
484 flow_pay->meta.mask_len = key_layer->key_size; in nfp_flower_allocate_new()
485 flow_pay->mask_data = kmalloc(key_layer->key_size, GFP_KERNEL); in nfp_flower_allocate_new()
486 if (!flow_pay->mask_data) in nfp_flower_allocate_new()
489 flow_pay->action_data = kmalloc(NFP_FL_MAX_A_SIZ, GFP_KERNEL); in nfp_flower_allocate_new()
[all …]
Dmain.h341 static inline bool nfp_flower_is_merge_flow(struct nfp_fl_payload *flow_pay) in nfp_flower_is_merge_flow() argument
343 return flow_pay->tc_flower_cookie == (unsigned long)flow_pay; in nfp_flower_is_merge_flow()