40 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010
b. The following parameters operate on a per port basis and can be set usingthe /platform/sun4u/kernel/drv/nxge.conf file.c. Inthe following example, the ports of all the Sun x8 Express Dual 10 GigabitEthernet Fiber XFP Low ProfileAdapter are being set for load balancing Rxtrafficbased on IP source address. The default value is F80 indicating Rxload balancing based on IP 5-tuple. Notice the semi-colon at the end of thelast parameter.
#
# ------- How to set parameters for a particular interface --------
# The example below shows how to locate the device path and set a
# parameter for a particular nxge interface. (Using jumbo support as
# an example)
#
# Use the following command to find out the device paths for nxge,
# more /etc/path_to_inst | grep nxge
#
# For example, if you see,
# "/pci@7c0/pci@0/pci@8/network@0" 0 "nxge"
# "/pci@7c0/pci@0/pci@8/network@0,1" 1 "nxge"
# "/pci@7c0/pci@0/pci@8/network@0,2" 2 "nxge"
# "/pci@7c0/pci@0/pci@8/network@0,3" 3 "nxge"
#
# then you can enable jumbo for ports 0 and 1 and disable jumbo for ports 2
# and 3 as follows,
#
# name = "pciex108e,abcd" parent = "/pci@7c0/pci@0/pci@8/" unit-address
= "0"
# accept_jumbo = 1;
# name = "pciex108e,abcd" parent = "/pci@7c0/pci@0/pci@8/" unit-address
= "0,1"
# accept_jumbo = 1;
# name = "pciex108e,abcd" parent = "/pci@7c0/pci@0/pci@8/" unit-address
= "0,2"
# accept_jumbo = 0;
# name = "pciex108e,abcd" parent = "/pci@7c0/pci@0/pci@8/" unit-address
= "0,3"
# accept_jumbo = 0;
class-opt-ipv4-tcp = 100;
class-opt-ipv4-udp = 100;