Marvell Technology shares surged after the chipmaker posted earnings that topped estimates and lifted its revenue outlook.