b. The following parameters operate on a per port basis and can be set using the /platform/sun4u/kernel/drv/nxge.conf file.

#

#------- 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;

c.In the following example, the ports of all the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Profile Adapter are being set for load balancing Rx traffic based on IP source address. The default value is F80 indicating Rx load balancing based on IP 5-tuple. Notice the semi-colon at the end of the last parameter.

class-opt-ipv4-tcp = 100; class-opt-ipv4-udp = 100;

42 Sun Dual 10GbE XFP PCI Express Card User’s Guide • January 2009

Page 60
Image 60
Sun Microsystems 10GBE XFP manual Class-opt-ipv4-tcp = 100 class-opt-ipv4-udp =