1. A method of managing a self-virtualizing input/output (IO) resource in a logically partitioned data processing system, wherein the self-virtualizing IO resource includes a plurality of physical functions, a plurality of physical ports, and a plurality of protocols, each physical function associated with a physical port from among the plurality of physical ports and a protocol from among the plurality of protocols, and each physical function associated with a plurality of virtual functions, the method comprising: mapping a logical port to a selected physical port from among the plurality of physical ports and a selected protocol from among the plurality of protocols; and automatically assigning a virtual function to the logical port from among the plurality of virtual functions associated with the physical function associated with the selected physical port and selected protocol.