User Manual
Rev 2.1-1.0.6
Mellanox Technologies
173
8.6.6 Simple QoS Policy - Details and Examples
qos-ulps
default : 0 #default SL
end-qos-ulps
qos-ulps
default : 0 # default SL
sdp, port-num 30000 : 0 # SL for application running on
# top of SDP when a destination
# TCP/IPport is 30000
sdp, port-num 10000-20000 : 0
sdp : 1 # default SL for any other
# application running on top of SDP
rds : 2 # SL for RDS traffic
ipoib, pkey 0x0001 : 0 # SL for IPoIB on partition with
# pkey 0x0001
ipoib : 4 # default IPoIB partition,
# pkey=0x7FFF
any, service-id 0x6234 : 6 # match any PR/MPR query with a
# specific Service ID
Simple QoS policy match rules are tailored for matching ULPs (or some application on top of a
ULP) PR/MPR requests. This section has a list of per-ULP (or per-application) match rules and
the SL that should be enforced on the matched PR/MPR query.
Match rules include:
• Default match rule that is applied to PR/MPR query that didn't match any of the other
match rules
• SDP
• SDP application with a specific target TCP/IP port range
• SRP with a specific target IB port GUID
• RDS
• IPoIB with a default PKey
• IPoIB with a specific PKey
• Any ULP/application with a specific Service ID in the PR/MPR query
• Any ULP/application with a specific PKey in the PR/MPR query
• Any ULP/application with a specific target IB port GUID in the PR/MPR query
Since any section of the policy file is optional, as long as basic rules of the file are kept (such as
no referring to nonexisting port group, having default QoS Level, etc), the simple policy section
(qos-ulps) can serve as a complete QoS policy file.
The shortest policy file in this case would be as follows:
It is equivalent to the previous example of the shortest policy file, and it is also equivalent to not
having policy file at all. Below is an example of simple QoS policy with all the possible key-
words: