net/mlx5: fix Rx packet validation and type