Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_vxlan.c118 u32 *gbp, *gbp_mask; in mlx5e_tc_tun_parse_vxlan_gbp_option() local
134 enc_opts.mask->len != sizeof(*gbp_mask)) { in mlx5e_tc_tun_parse_vxlan_gbp_option()
140 gbp_mask = (u32 *)&enc_opts.mask->data[0]; in mlx5e_tc_tun_parse_vxlan_gbp_option()
142 if (*gbp_mask & ~VXLAN_GBP_MASK) { in mlx5e_tc_tun_parse_vxlan_gbp_option()
143 NL_SET_ERR_MSG_FMT_MOD(extack, "Wrong VxLAN GBP mask(0x%08X)\n", *gbp_mask); in mlx5e_tc_tun_parse_vxlan_gbp_option()
149 MLX5_SET(fte_match_set_misc5, misc5_c, tunnel_header_0, *gbp_mask); in mlx5e_tc_tun_parse_vxlan_gbp_option()