Tech Mahindra topped the gains, rising 3.16%, followed by HDFC Bank, which reported a 5% year-on-year increase in Q2 net profit