Lewis Hamilton was left frustrated with the performance of his Ferrari after finishing sixth at the Chinese Grand Prix.