Pri_Map; Qs_Per_Cos; Cos_Min_Rate - Qlogic FastLinQ 3400 Series User Manual

Converged network adapters and intelligent ethernet adapters
Table of Contents

Advertisement

5–Linux Driver Software
Setting Values for Optional Properties

pri_map

The optional parameter pri_map is used to map the VLAN PRI value or the IP
DSCP value to a different or same CoS in the hardware. This 32-bit parameter is
evaluated by the driver as an 8 value of 4 bits each. Each nibble sets the desired
hardware queue number for that priority. For example, set pri_map 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 how many queues 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 qs_per_cos
to 0x10101 to create a total of three queues, one per CoS. In another example,
set qs_per_cos to 0x404 to create a total of 8 queues, divided into 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 as up to 3 values of 8 bits each. Each byte sets the desired weight for
that CoS. The weight ranges from 0 to 100. For example, set cos_min_rate to
0x101 for fair transmission rate between 2 CoS. In another example, set the
cos_min_rate to 0x30201 to give CoS the higher rate of transmission. To avoid
using the fairness algorithm, omit setting cos_min_rate or set it to 0.
Set the multi_mode parameter to 2 as shown below to differentiate the traffic
according to the VLAN PRI value.
insmod bnx2x.ko multi_mode=2 pri_map=0x11110000 qs_per_cos=0x404
or
modprobe bnx2x multi_mode=2 pri_map=0x11110000 qs_per_cos=0x404
Set the multi_mode parameter to 4, as shown below, to differentiate the traffic
according to the IP DSCP value.
insmod bnx2x.ko multi_mode=4 pri_map=0x22221100 qs_per_cos=0x10101
cos_min_rate=0x30201
or
modprobe bnx2x multi_mode=4 pri_map=0x22221100 qs_per_cos=0x10101
cos_min_rate=0x30201
37
83840-546-00 E

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FastLinQ 3400 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fastlinq 8400 series

Table of Contents