• Home
  • Raw
  • Download

Lines Matching refs:key_layer

602 	if (in_key_ls.key_layer & NFP_FLOWER_LAYER_EXT_META) {  in nfp_fl_calc_key_layers_sz()
606 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_PORT) { in nfp_fl_calc_key_layers_sz()
610 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_MAC) { in nfp_fl_calc_key_layers_sz()
614 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_TP) { in nfp_fl_calc_key_layers_sz()
618 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_IPV4) { in nfp_fl_calc_key_layers_sz()
622 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_IPV6) { in nfp_fl_calc_key_layers_sz()
640 if ((in_key_ls.key_layer & NFP_FLOWER_LAYER_VXLAN) || in nfp_fl_calc_key_layers_sz()
787 struct nfp_fl_key_ls key_layer, tmp_layer; in nfp_fl_ct_add_offload() local
808 memset(&key_layer, 0, sizeof(struct nfp_fl_key_ls)); in nfp_fl_ct_add_offload()
820 key_layer.key_layer |= tmp_layer.key_layer; in nfp_fl_ct_add_offload()
821 key_layer.key_layer_two |= tmp_layer.key_layer_two; in nfp_fl_ct_add_offload()
823 key_layer.key_size = nfp_fl_calc_key_layers_sz(key_layer, key_map); in nfp_fl_ct_add_offload()
825 flow_pay = nfp_flower_allocate_new(&key_layer); in nfp_fl_ct_add_offload()
829 memset(flow_pay->unmasked_data, 0, key_layer.key_size); in nfp_fl_ct_add_offload()
830 memset(flow_pay->mask_data, 0, key_layer.key_size); in nfp_fl_ct_add_offload()
840 key_layer.key_layer); in nfp_fl_ct_add_offload()
842 if (NFP_FLOWER_LAYER_EXT_META & key_layer.key_layer) { in nfp_fl_ct_add_offload()
847 key_layer.key_layer_two); in nfp_fl_ct_add_offload()
849 key_layer.key_layer_two); in nfp_fl_ct_add_offload()
888 if (NFP_FLOWER_LAYER_MAC & key_layer.key_layer) { in nfp_fl_ct_add_offload()
904 if (NFP_FLOWER_LAYER_IPV4 & key_layer.key_layer) { in nfp_fl_ct_add_offload()
915 if (NFP_FLOWER_LAYER_IPV6 & key_layer.key_layer) { in nfp_fl_ct_add_offload()
926 if (NFP_FLOWER_LAYER_TP & key_layer.key_layer) { in nfp_fl_ct_add_offload()
937 if (NFP_FLOWER_LAYER2_QINQ & key_layer.key_layer_two) { in nfp_fl_ct_add_offload()
948 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_GRE) { in nfp_fl_ct_add_offload()
952 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) { in nfp_fl_ct_add_offload()
988 if (key_layer.key_layer & NFP_FLOWER_LAYER_VXLAN || in nfp_fl_ct_add_offload()
989 key_layer.key_layer_two & NFP_FLOWER_LAYER2_GENEVE) { in nfp_fl_ct_add_offload()
993 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) { in nfp_fl_ct_add_offload()
1028 if (key_layer.key_layer_two & NFP_FLOWER_LAYER2_GENEVE_OP) { in nfp_fl_ct_add_offload()