It's an adjective modifying 'portion'. Compare: I'm interested in learning your name ~ in learning what name you prefer to be called. " I hope this helps.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.