Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c155 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()
[all …]
Dmatch.c571 key_ls->key_layer_two); in nfp_flower_compile_flow_match()
573 key_ls->key_layer_two); in nfp_flower_compile_flow_match()
628 if (NFP_FLOWER_LAYER2_QINQ & key_ls->key_layer_two) { in nfp_flower_compile_flow_match()
636 if (key_ls->key_layer_two & NFP_FLOWER_LAYER2_GRE) { in nfp_flower_compile_flow_match()
637 if (key_ls->key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) { in nfp_flower_compile_flow_match()
672 key_ls->key_layer_two & NFP_FLOWER_LAYER2_GENEVE) { in nfp_flower_compile_flow_match()
673 if (key_ls->key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) { in nfp_flower_compile_flow_match()
706 if (key_ls->key_layer_two & NFP_FLOWER_LAYER2_GENEVE_OP) { in nfp_flower_compile_flow_match()
Dconntrack.c510 if (in_key_ls.key_layer_two & NFP_FLOWER_LAYER2_QINQ) { in nfp_fl_calc_key_layers_sz()
515 if (in_key_ls.key_layer_two & NFP_FLOWER_LAYER2_GRE) { in nfp_fl_calc_key_layers_sz()
517 if (in_key_ls.key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) in nfp_fl_calc_key_layers_sz()
524 (in_key_ls.key_layer_two & NFP_FLOWER_LAYER2_GENEVE)) { in nfp_fl_calc_key_layers_sz()
526 if (in_key_ls.key_layer_two & NFP_FLOWER_LAYER2_TUN_IPV6) in nfp_fl_calc_key_layers_sz()
532 if (in_key_ls.key_layer_two & NFP_FLOWER_LAYER2_GENEVE_OP) { in nfp_fl_calc_key_layers_sz()
645 key_layer.key_layer_two |= tmp_layer.key_layer_two; in nfp_fl_ct_add_offload()
671 key_layer.key_layer_two); in nfp_fl_ct_add_offload()
673 key_layer.key_layer_two); in nfp_fl_ct_add_offload()
761 if (NFP_FLOWER_LAYER2_QINQ & key_layer.key_layer_two) { in nfp_fl_ct_add_offload()
[all …]
Dmain.h381 u32 key_layer_two; member