Lines Matching refs:key_layer

629 	if (in_key_ls.key_layer & NFP_FLOWER_LAYER_EXT_META) {  in nfp_fl_calc_key_layers_sz()
633 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_PORT) { in nfp_fl_calc_key_layers_sz()
637 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_MAC) { in nfp_fl_calc_key_layers_sz()
641 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_TP) { in nfp_fl_calc_key_layers_sz()
645 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_IPV4) { in nfp_fl_calc_key_layers_sz()
649 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_IPV6) { in nfp_fl_calc_key_layers_sz()
667 if ((in_key_ls.key_layer & NFP_FLOWER_LAYER_VXLAN) || in nfp_fl_calc_key_layers_sz()
817 struct nfp_fl_key_ls key_layer, tmp_layer; in nfp_fl_ct_add_offload() local
844 memset(&key_layer, 0, sizeof(struct nfp_fl_key_ls)); in nfp_fl_ct_add_offload()
856 key_layer.key_layer |= tmp_layer.key_layer; in nfp_fl_ct_add_offload()
857 key_layer.key_layer_two |= tmp_layer.key_layer_two; 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()
861 flow_pay = nfp_flower_allocate_new(&key_layer); 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()
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()
973 if (NFP_FLOWER_LAYER2_QINQ & key_layer.key_layer_two) { in nfp_fl_ct_add_offload()
984 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_GRE) { in nfp_fl_ct_add_offload()
988 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) { in nfp_fl_ct_add_offload()
1024 if (key_layer.key_layer & NFP_FLOWER_LAYER_VXLAN || in nfp_fl_ct_add_offload()
1025 key_layer.key_layer_two & NFP_FLOWER_LAYER2_GENEVE) { in nfp_fl_ct_add_offload()
1029 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) { in nfp_fl_ct_add_offload()
1064 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_GENEVE_OP) { in nfp_fl_ct_add_offload()