Searched refs:key_layer (Results 1 – 4 of 4) sorted by relevance
175 u32 *key_layer_two, u8 *key_layer, int *key_size, in nfp_flower_calc_udp_tun_layer() argument185 *key_layer |= NFP_FLOWER_LAYER_VXLAN; in nfp_flower_calc_udp_tun_layer()188 *key_layer |= NFP_FLOWER_LAYER_EXT_META; in nfp_flower_calc_udp_tun_layer()207 *key_layer |= NFP_FLOWER_LAYER_EXT_META; in nfp_flower_calc_udp_tun_layer()249 u8 key_layer; in nfp_flower_calculate_key_layers() local269 key_layer = NFP_FLOWER_LAYER_PORT; in nfp_flower_calculate_key_layers()275 key_layer |= NFP_FLOWER_LAYER_MAC; in nfp_flower_calculate_key_layers()290 key_layer |= NFP_FLOWER_LAYER_EXT_META; in nfp_flower_calculate_key_layers()307 key_layer |= NFP_FLOWER_LAYER_EXT_META; in nfp_flower_calculate_key_layers()369 key_layer |= NFP_FLOWER_LAYER_EXT_META; in nfp_flower_calculate_key_layers()[all …]
485 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_EXT_META) { in nfp_fl_calc_key_layers_sz()489 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_PORT) { in nfp_fl_calc_key_layers_sz()493 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_MAC) { in nfp_fl_calc_key_layers_sz()497 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_TP) { in nfp_fl_calc_key_layers_sz()501 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_IPV4) { in nfp_fl_calc_key_layers_sz()505 if (in_key_ls.key_layer & NFP_FLOWER_LAYER_IPV6) { in nfp_fl_calc_key_layers_sz()523 if ((in_key_ls.key_layer & NFP_FLOWER_LAYER_VXLAN) || in nfp_fl_calc_key_layers_sz()611 struct nfp_fl_key_ls key_layer, tmp_layer; in nfp_fl_ct_add_offload() local632 memset(&key_layer, 0, sizeof(struct nfp_fl_key_ls)); in nfp_fl_ct_add_offload()644 key_layer.key_layer |= tmp_layer.key_layer; in nfp_fl_ct_add_offload()[all …]
564 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()
382 u8 key_layer; member681 nfp_flower_allocate_new(struct nfp_fl_key_ls *key_layer);