Users Guide

Table Of Contents
7–Linux Driver Software
Setting Values for Optional Properties
Doc No. BC0054508-00 Rev. R
January 21, 2021 Page 46 Copyright © 2021 Marvell
or
modprobe bnx2x dropless_fc=1
autogreen
The autogreen parameter forces the specific AutoGrEEEN behavior.
AutoGrEEEn is a proprietary, pre-IEEE standard Energy Efficient Ethernet (EEE)
mode supported by some 1000BASE-T and 10GBASE-T RJ45 interfaced
switches.
By default, the driver uses the NVRAM configuration settings per port. When this
module parameter is set, it can override the NVRAM configuration settings to
force AutoGrEEEN to either the active (
1) or inactive (2) state. The default value
of
0 sets the port to use the NVRAM settings.
native_eee
The native_eee parameter can force specific IEEE 802.3az Energy Efficient
Ethernet (EEE) behavior, which is supported on some 1000BASE-T and
10GBASE-T RJ45 interfaced switches.
By default, the driver uses the NVRAM configuration settings per port. If this
parameter is set, it can force EEE to be enabled, and the value will be used as the
idle time (
1–FFFFFh or 1,048,575) required before entering transmit LPI.
Set
native_eee to -1 to forcefully disable EEE. Set native_eee to 0 (default)
to use the NVRAM settings.
num_queues
The num_queues parameter forces the number of RSS queues and overrides the
default value, which is equal to number of CPU cores.
pri_map
On earlier versions of Linux that do not support tc-mqprio, use the optional
parameter pri_map to map the VLAN PRI value or the IP DSCP value to a
different or the same class of service (CoS) in the hardware. This 32-bit parameter
is evaluated by the driver as eight values of 4 bits each. Each nibble sets the
required hardware queue number for that priority.
For example, set the pri_map parameter to 0x22221100 to map priority 0 and
1 to CoS 0, map priority 2 and 3 to CoS 1, and map priority 4–7 to CoS 2. In
another example, set the pri_map parameter to 0x11110000 to map
priority 0–3 to CoS 0, and map priority 4–7 to CoS 1.