[PATCH 5.0 028/115] net/mlx5e: Protect against non-uplink representor for encap