|
@@ -2685,7 +2685,7 @@ static int parse_flow_attr(struct mlx5_core_dev *mdev, u32 *match_c,
|
|
|
IPPROTO_GRE);
|
|
|
|
|
|
MLX5_SET(fte_match_set_misc, misc_params_c, gre_protocol,
|
|
|
- 0xffff);
|
|
|
+ ntohs(ib_spec->gre.mask.protocol));
|
|
|
MLX5_SET(fte_match_set_misc, misc_params_v, gre_protocol,
|
|
|
ntohs(ib_spec->gre.val.protocol));
|
|
|
|