Home
last modified time | relevance | path

Searched refs:key_layer (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c249 u8 key_layer; in nfp_flower_calculate_key_layers() local
269 key_layer = NFP_FLOWER_LAYER_PORT; in nfp_flower_calculate_key_layers()
396 &key_layer, in nfp_flower_calculate_key_layers()
536 ret_key_ls->key_layer = key_layer; in nfp_flower_calculate_key_layers()
707 u8 key_layer, match_size; in nfp_flower_populate_merge_match() local
1136 u8 key_layer; in nfp_flower_validate_pre_tun_rule() local
1139 key_layer = key_ls->key_layer; in nfp_flower_validate_pre_tun_rule()
1353 key_layer = kmalloc(sizeof(*key_layer), GFP_KERNEL); in nfp_flower_add_offload()
1354 if (!key_layer) in nfp_flower_add_offload()
1428 kfree(key_layer); in nfp_flower_add_offload()
[all …]
H A Dconntrack.c856 key_layer.key_layer |= tmp_layer.key_layer; in nfp_fl_ct_add_offload()
859 key_layer.key_size = nfp_fl_calc_key_layers_sz(key_layer, key_map); in nfp_fl_ct_add_offload()
876 key_layer.key_layer); in nfp_fl_ct_add_offload()
878 if (NFP_FLOWER_LAYER_EXT_META & key_layer.key_layer) { in nfp_fl_ct_add_offload()
883 key_layer.key_layer_two); in nfp_fl_ct_add_offload()
885 key_layer.key_layer_two); in nfp_fl_ct_add_offload()
924 if (NFP_FLOWER_LAYER_MAC & key_layer.key_layer) { in nfp_fl_ct_add_offload()
940 if (NFP_FLOWER_LAYER_IPV4 & key_layer.key_layer) { in nfp_fl_ct_add_offload()
951 if (NFP_FLOWER_LAYER_IPV6 & key_layer.key_layer) { in nfp_fl_ct_add_offload()
962 if (NFP_FLOWER_LAYER_TP & key_layer.key_layer) { in nfp_fl_ct_add_offload()
[all …]
H A Dmatch.c564 rule, key_ls->key_layer, qinq_sup); in nfp_flower_compile_flow_match()
569 if (NFP_FLOWER_LAYER_EXT_META & key_ls->key_layer) { in nfp_flower_compile_flow_match()
593 if (NFP_FLOWER_LAYER_MAC & key_ls->key_layer) { in nfp_flower_compile_flow_match()
604 if (NFP_FLOWER_LAYER_TP & key_ls->key_layer) { in nfp_flower_compile_flow_match()
612 if (NFP_FLOWER_LAYER_IPV4 & key_ls->key_layer) { in nfp_flower_compile_flow_match()
620 if (NFP_FLOWER_LAYER_IPV6 & key_ls->key_layer) { in nfp_flower_compile_flow_match()
671 if (key_ls->key_layer & NFP_FLOWER_LAYER_VXLAN || in nfp_flower_compile_flow_match()
H A Dmain.h400 u8 key_layer; member
702 nfp_flower_allocate_new(struct nfp_fl_key_ls *key_layer);