You can create a DLMP aggregation of InfiniBand HCA ports. However, you cannot create an aggregation with the combination of Ethernet datalinks and InfiniBand HCA ports together.
In the global zone, you can specify virtual HCA as a member port of DLMP aggregation, even though the virtual HCA port does not share the same physical HCA with the other member ports of DLMP aggregation.
Likewise, you cannot create an InfiniBand DLMP aggregation inside a kernel zone.
Before You Begin
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
$ dladm show-ib LINK HCAGUID PORTGUID PORT STATE GWNAME GWPORT PKEYS net4 21280001EFA276 21280001EFA277 1 up -- -- FFFF,8001 net5 21280001EFA276 21280001EFA278 2 up -- -- FFFF,8001
$ dladm create-aggr -l net4 -l net5 -m dlmp dlmp_ib0
$ dladm show-aggr -x dlmp_ib0
LINK       PORT    SPEED   DUPLEX  STATE     ADDRESS    PORTSTATE
dlmp_ib0   --      32000Mb full    up       unknown    --
           net4    32000Mb full    up       unknown    attached
           net5    32000Mb full    up       unknown    attached
            $ dladm create-vnic -l dlmp_ib0 -P ffff ibvnic1
$ dladm show-vnic ibvnic1 LINK OVER SPEED MACADDRESS MACADDRTYPE IDS ibvnic1 dlmp_ib0 32000 80:0:0:4a:fe:.. fixed PKEY:0xffff
$ dladm show-aggr -C dlmp_ib0
LINK       PORT           SPEED DUPLEX   STATE     CLIENTS
dlmp_ib0   --             32000Mb full    up       --
           net4           32000Mb full    up       ibvnic1
           net5           32000Mb full    up       --
                  $ dladm show-aggr -v LINK MODE IDS dlmp_ib0 dlmp PKEY:0xFFFF,0x8001 trunk1 trunk --