net/mlx5e: Modify TIRs hash only when it's needed