Inter Milan striker Mauro Icardi will be out of action for a month after undergoing a hernia operation.