6–VMware Driver Software
Networking Support
num_tx_queues
The optional parameter num_tx_queues may be used to set the number of Tx
queues on kernels starting from 2.6.27 when multi_mode is set to 1 and interrupt
mode is MSI-X. The number of Rx queues must be equal to or greater than the
number of Tx queues (see num_rx_queues parameter). If the interrupt mode is
different than MSI-X (see int_mode parameter), then the number of Tx queues
will be set to 1, discarding the value of this parameter.
pri_map
The optional parameter pri_map is used to map the VLAN PRI value or the IP
DSCP value to a different or the same CoS in the hardware. This 32-bit parameter
is evaluated by the driver as 8 values of 4 bits each. Each nibble sets the desired
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 to 7 to CoS 2. In another
example, set the pri_map parameter to 0x11110000 to map priority 0 to 3 to CoS
0, and map priority 4 to 7 to CoS 1.
qs_per_cos
The optional parameter qs_per_cos is used to specify the number of queues that
will share the same CoS. This parameter is evaluated by the driver up to 3 values
of 8 bits each. Each byte sets the desired number of queues for that CoS. The
total number of queues is limited by the hardware limit.
For example, set the qs_per_cos parameter to 0x10101 to create a total of three
queues, one per CoS. In another example, set the qs_per_cos parameter to
0x404 to create a total of 8 queues, divided into only 2 CoS, 4 queues in each
CoS.
cos_min_rate
The optional parameter cos_min_rate is used to determine the weight of each
CoS for round-robin scheduling in transmission. This parameter is evaluated by
the driver up to three values of eight bits each. Each byte sets the desired weight
for that CoS. The weight ranges from 0 to 100.
For example, set the cos_min_rate parameter to 0x101 for fair transmission rate
between two CoS. In another example, set the cos_min_rate parameter to
0x30201 to give the higher CoS the higher rate of transmission. To avoid using the
fairness algorithm, omit setting the optional parameter cos_min_rate or set it to 0.
53
83840-546-00 E
Need help?
Do you have a question about the FastLinQ 3400 Series and is the answer not in the manual?
Questions and answers