Ion acceleration regimes in underdense plasmas