Kansas City Chiefs quarterback Alex Smith threw for 297 yards and two touchdowns, as the Chiefs beat the Oakland Raiders 31-13.