Go to main content

Managing Network Datalinks in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020

How to Configure DLMP Aggregation of SR-IOV NICs

To configure a DLMP aggregation using SR-IOV NICs, the aggregated datalinks must have their iov property set to on. However, the VNICs that you created on the aggregation must have their iov property set to either off or inherit. If the property is set to on, the VNICs cannot be created.

You can dynamically add or remove ports without deleting the existing configuration or stopping the network connections.

Before You Begin

Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.

  1. Set the datalinks to be aggregated to be SR-IOV-enabled.
    $ dladm set-linkprop -p iov=on link1
    $ dladm set-linkprop -p iov=on link2
  2. Create an aggregation of SR-IOV-enabled datalinks.
    $ dladm create-aggr -l link1 -l link2 -m dlmp aggr
  3. Configure a VNIC on top of the aggregation.
    $ dladm create-vnic -l aggr [-p iov=off] VNIC
  4. Display the VNIC to verify that the VNIC is associated with a VF.
    $ dladm show-vnic -V VNIC
Example 3  Configuring a DLMP Aggregation of SR-IOV NICs

This example shows how to create DLMP aggregation with two underlying links net0 and net1. The iov property of net0 and net1 is set to on.

$ dladm set-linkprop -p iov=on net0
$ dladm set-linkprop -p iov=on net1
$ dladm create-aggr -l net0 -l net1 -m dlmp dlmp0
$ dladm create-vnic -l dlmp0 vnic1
$ dladm create-vnic -l dlmp0 -p iov=off vnic2
$ dladm create-vnic -l dlmp0 -p iov=inherit vnic3
$ dladm show-vnic -V vnic1
LINK        OVER           VF-ASSIGNED
vnic1       dlmp0          ixgbevf0
vnic2       dlmp0          --     
vnic3       dlmp0          ixgbevf1
$ dladm show-aggr -C
dlmp0      --             1000Mb  full     up         --
           net0           1000Mb  full     up        dlmp0,vnic1
           net1           1000Mb full      up        vnic2,vnic3

The dladm show-aggr -C commands shows clients associated with each aggregated port. For more information, see Displaying the Clients Associated With Each Port.