Go to main content

Oracle® Quad Port 10GBase-T Adapter User's Guide

Exit Print View

Updated: June 2019
 
 

Set Driver Parameters (Oracle Solaris)

  1. Locate the path names and the associated instance numbers in the /etc/path_to_inst file.

    For example, on an Oracle SPARC server, you should see output similar to this:

    # grep i40e /etc/path_to_inst
    "/pci@500/pci@2/pci@0/pci@a/network@0" 1 "i40e"
    "/pci@500/pci@2/pci@0/pci@a/network@0,1" 2 "i40e"

    On an Oracle Solaris x86 server, you should see output similar to this:

    # grep i40e /etc/path_to_inst
    "/pci@0,0/pci8086,3c0a@3,2/pci108e,7b15@0" 0 "i40e"
    "/pci@0,0/pci8086,3c0a@3,2/pci108e,7b15@0,1" 1 "i40e"

    In these preceding examples:

    • The first part within the double quotes specifies the hardware node name in the device tree.

    • The number not enclosed in quotes is the instance number (shown in bold for emphasis).

    • The last part in double quotes is the driver name.


    Note - To identify a PCIe device unambiguously in the i40e.conf file, use the name, parent name, and unit address for the device. In the example, the name is pci108e,7b15, the parent is /pci@0,0/pci8086,3c0a@3,2, and the unit address is 0. Refer to the pci(4) man page for more information about the PCIe device specification.
  2. Set the parameters for the i40e devices in one of these ways:
    1. Copy the i40e.conf file to the /etc/driver/drv/ and edit the copied file.

      Save the i40e.conf file.

      Reboot the system.

      See Driver Parameters (Oracle Solaris).

      # "/pci@340/pci@1/pci@0/pci@5/ethernet@0" 0 "i40e"
      # "/pci@340/pci@1/pci@0/pci@5/ethernet@0,1" 1 "i40e"
      # 
      #   name = "pciex8086,1589" parent = "/pci@340/pci@1/pci@0/pci@5"
          unit-address = "0" 
      # rx_ring_size = 2048;
    2. Use the dladm command to set a property.
      # dladm show-linkprop -p flowctrl  net5
      LINK     PROPERTY        PERM VALUE        EFFECTIVE    DEFAULT   POSSIBLE
      net5     flowctrl        rw   no           no           no        no,tx,rx,bi,                                                                  pfc,auto 
      flow_control = 3;

      For bidirectional flow control, type:

      # dladm set-linkprop -p flowctrl=bi  net5
      

Related Information