Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c111 struct flow_match_enc_keyid enc_keyid; in mlx5e_tc_tun_parse_vxlan() local
120 flow_rule_match_enc_keyid(rule, &enc_keyid); in mlx5e_tc_tun_parse_vxlan()
122 if (!enc_keyid.mask->keyid) in mlx5e_tc_tun_parse_vxlan()
137 be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_vxlan()
139 be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_vxlan()
Dtc_tun_gre.c74 struct flow_match_enc_keyid enc_keyid; in mlx5e_tc_tun_parse_gretap() local
76 flow_rule_match_enc_keyid(rule, &enc_keyid); in mlx5e_tc_tun_parse_gretap()
78 gre_key.key, be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_gretap()
80 gre_key.key, be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_gretap()
Dtc_tun_geneve.c129 struct flow_match_enc_keyid enc_keyid; in mlx5e_tc_tun_parse_geneve_vni() local
138 flow_rule_match_enc_keyid(rule, &enc_keyid); in mlx5e_tc_tun_parse_geneve_vni()
140 if (!enc_keyid.mask->keyid) in mlx5e_tc_tun_parse_geneve_vni()
149 MLX5_SET(fte_match_set_misc, misc_c, geneve_vni, be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_geneve_vni()
150 MLX5_SET(fte_match_set_misc, misc_v, geneve_vni, be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_geneve_vni()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c1111 struct flow_match_enc_keyid enc_keyid; in ice_parse_tunnel_attr() local
1113 flow_rule_match_enc_keyid(rule, &enc_keyid); in ice_parse_tunnel_attr()
1115 if (!enc_keyid.mask->keyid || in ice_parse_tunnel_attr()
1116 enc_keyid.mask->keyid != cpu_to_be32(ICE_TC_FLOWER_MASK_32)) in ice_parse_tunnel_attr()
1120 fltr->tenant_id = enc_keyid.key->keyid; in ice_parse_tunnel_attr()