Lines Matching refs:key_layer_two
155 u32 *key_layer_two, int *key_size, bool ipv6, in nfp_flower_calc_opt_layer() argument
165 *key_layer_two |= NFP_FLOWER_LAYER2_GENEVE_OP; in nfp_flower_calc_opt_layer()
175 u32 *key_layer_two, u8 *key_layer, int *key_size, in nfp_flower_calc_udp_tun_layer() argument
190 *key_layer_two |= NFP_FLOWER_LAYER2_TUN_IPV6; in nfp_flower_calc_udp_tun_layer()
209 *key_layer_two |= NFP_FLOWER_LAYER2_GENEVE; in nfp_flower_calc_udp_tun_layer()
212 *key_layer_two |= NFP_FLOWER_LAYER2_TUN_IPV6; in nfp_flower_calc_udp_tun_layer()
224 err = nfp_flower_calc_opt_layer(enc_op, key_layer_two, key_size, in nfp_flower_calc_udp_tun_layer()
248 u32 key_layer_two; in nfp_flower_calculate_key_layers() local
268 key_layer_two = 0; in nfp_flower_calculate_key_layers()
289 !(key_layer_two & NFP_FLOWER_LAYER2_QINQ)) { in nfp_flower_calculate_key_layers()
293 key_layer_two |= NFP_FLOWER_LAYER2_QINQ; in nfp_flower_calculate_key_layers()
306 if (!(key_layer_two & NFP_FLOWER_LAYER2_QINQ)) { in nfp_flower_calculate_key_layers()
310 key_layer_two |= NFP_FLOWER_LAYER2_QINQ; in nfp_flower_calculate_key_layers()
375 key_layer_two |= NFP_FLOWER_LAYER2_GRE; in nfp_flower_calculate_key_layers()
378 key_layer_two |= NFP_FLOWER_LAYER2_TUN_IPV6; in nfp_flower_calculate_key_layers()
399 &key_layer_two, in nfp_flower_calculate_key_layers()
541 ret_key_ls->key_layer_two = key_layer_two; in nfp_flower_calculate_key_layers()
1159 } else if (key_ls->key_layer_two & ~NFP_FLOWER_LAYER2_QINQ) { in nfp_flower_validate_pre_tun_rule()
1183 if (key_ls->key_layer_two) { in nfp_flower_validate_pre_tun_rule()
1253 if (key_ls->key_layer_two & NFP_FLOWER_LAYER2_QINQ) { in nfp_flower_validate_pre_tun_rule()