An LPAR can easily have several logical SR-IOV ports. With the command “lpar lssriov” (list SR-IOV logical ports) all logical ports of an LPAR can be displayed:
$ lpar lssriov aix22
LPORT REQ ADAPTER PPORT CONFIG_ID CAPACITY MAX_CAPACITY PVID VLANS CURR_MAC_ADDR CLIENTS
27004001 Yes 1 0 0 2.0 100.0 0 all a1b586737e00 -
$
There are a number of attributes that can be specified for a logical port when it is created. Among other things, the following properties can be configured:
- capacity – the guaranteed capacity for the logical port.
- port_vlan_id – the VLAN ID for untagged packets or 0 to switch off VLAN tagging.
- promisc_mode – switch promiscuous mode on or off.
The complete list of attributes and their possible values can be found in the online help (“lpar help addsriov“).
As an example we add another logical port with port VLAN-ID 55 and a capacity of 20% to the LPAR aix22:
$ lpar addsriov aix22 P1-C4-T2 port_vlan_id=55 capacity=20
$
The generated logical port thus has a guaranteed share of 20% of the bandwidth of the physical port P1-C4-T2! The LPAR now has 2 logical SR-IOV ports:
$ lpar lssriov aix22
LPORT REQ ADAPTER PPORT CONFIG_ID CAPACITY MAX_CAPACITY PVID VLANS CURR_MAC_ADDR CLIENTS
27004001 Yes 1 0 0 2.0 100.0 0 all a1b586737e00 -
2700c003 Yes 3 2 1 20.0 100.0 55 all a1b586737e01 -
$
After the logical ports have been added to the LPAR using the PowerVM Hypervisor, they appear in the Defined state. The logical ports appear under AIX as ent devices, like all other Ethernet adapters!
aix22 # lsdev -l ent\*
ent0 Available Virtual I/O Ethernet Adapter (l-lan)
ent1 Defined 00-00 PCIe2 10GbE SFP+ SR 4-port Converged Network Adapter VF (df1028e214100f04)
ent2 Defined 01-00 PCIe2 100/1000 Base-TX 4-port Converged Network Adapter VF (df1028e214103c04)
aix22 #
After the config manager cfgmgr has run, the new ent devices are in the Available state and can be used in exactly the same way as all other Ethernet adapters.
You must be logged in to post a comment.