[PATCH 5.15 341/392] net/mlx5e: Fix validation logic in rate limiting