Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c175 u32 *key_layer_two, u8 *key_layer, int *key_size, in nfp_flower_calc_udp_tun_layer() argument
185 *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() local
269 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 …]
Dconntrack.c629 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()
[all …]
Dmatch.c564 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()
Dmain.h400 u8 key_layer; member
702 nfp_flower_allocate_new(struct nfp_fl_key_ls *key_layer);