User Manual

end-qos-ulps
Rev 2.2-1.0.1
Mellanox Technologies
205
Similar to the advanced policy definition, matching of PR/MPR queries is done in order of
appearance in the QoS policy file such as the first match takes precedence, except for the
"default" rule, which is applied only if the query didn't match any other rule. All other sections of
the QoS policy file take precedence over the qos-ulps section. That is, if a policy file has both
qos-match-rules and qos-ulps sections, then any query is matched first against the rules in the
qos-match-rules section, and only if there was no match, the query is matched against the rules in
qos-ulps section.
Note that some of these match rules may overlap, so in order to use the simple QoS definition
ef
fectively, it is important to understand how each of the ULPs is matched.
8.6.6.1 IPoIB
IPoIB query is matched by PKey or by destination GID, in which case this is the GID of the mul-
ticast group that OpenSM creates for each IPoIB partition.
Default PKey for IPoIB partition is 0x7fff, so the following three match rules are equivalent:
ipoib :<SL>
ipoib, pkey 0x7fff : <SL>
any, pkey 0x7fff : <SL>
8.6.6.2 SDP
SDP PR query is matched by Service ID. The Service-ID for SDP is 0x000000000001PPPP,
where PPPP are 4 hex digits holding the remote
TCP/IP Port Number to connect to. The follow-
ing two match rules are equivalent:
sdp :<SL>
any, service-id 0x0000000000010000-0x000000000001ffff : <SL>
8.6.6.3 RDS
Similar to SDP, RDS PR query is matched by Service ID. The Service ID for RDS is
0x000000000106PPPP
, where PPPP are 4 hex digits holding the remote TCP/IP Port Number to
connect to. Default port number for RDS is 0x48CA, which makes a default Service-ID
0x00000000010648CA. The following two match rules are equivalent:
rds :<SL>
any, service-id 0x00000000010648CA : <SL>
8.6.6.4 SRP
Service ID for SRP varies from storage vendor to vendor, thus SRP query is matched by the tar-
get IB port GUID. The following two match rules are equivalent:
srp, target-port-guid 0x1234 : <SL>
any, target-port-guid 0x1234 : <SL>