7.6.6. Setting an SR-IOV Adapter from Shared back to Dedicated

The operating mode of an SR-IOV adapter can only be changed if no logical ports are configured! In order to set such an adapter back to dedicated, all logical ports must be removed. The list of logical ports can be obtained by using the option “-l” (logical ports) with the command “ms lssriov“:

$ ms lssriov -l ms03
LOCATION_CODE                   ADAPTER  PPORT  LPORT     LPAR   CAPACITY  CURR_MAC_ADDR  CLIENTS
U78AA.001.VYRGU0Q-P1-C11-T1-S1  1        0      27004001  aix22  2.0       a1b586737e00   -
U78AA.001.VYRGU0Q-P1-C11-T1-S3  3        2      2700c003  aix22  20.0      a1b586737e01   -
$

If all logical ports have been deleted, see the previous subsection, then the SR-IOV adapter can be set back to dedicated with the help of “ms chsriov“:

$ ms chsriov ms03 P1-C11-T1 dedicated
$