[ofa-general] Re: [PATCH v2] osm: QoS - adding simplified syntax for policy definition

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Nov 19 11:30:16 PST 2007


Sasha Khapyorsky wrote:
> Hi Yevgeny,
> 
> On 15:04 Mon 19 Nov     , Yevgeny Kliteynik wrote:
>> This patch adds simplified syntax for QoS definition in QoS Policy file.
>> Using this syntax the administrator is able to define QoS policy per
>> ULP and/or per Service ID and/or per partition (pkey).
>>
>> Here's an example of the policy file with the new syntax, which is added
>> in a new section called qos-policy:
>>
>> qos-ulps
>>      sdp, port-num 30000                   : 1 #SL for SDP when destination port is 30000
>>      sdp, port-num 10000-20000, 0xfffd     : 2
>>      sdp                                   : 0 #default SL for SDP
>>      srp, target-port-guid 0x1234-0x1235   : 2
>>      iser, port-num 0x3234-0x3235          : 4 #SL for iSER whith specific target ports
>>      iser                                  : 5 #default SL for iSER
>>      rds, port-num 25000                   : 2 #SL for RDS when destination port is 25000
>>      rds                                   : 0 #default SL for RDS
>>      ipoib, pkey 0x0001                    : 5 #SL for IPoIB on partition with pkey 0x0001
>>      ipoib                                 : 6 #default IPoIB partition - pkey=0x7FFF
>>      any, pkey 0x0ABC                      : 3
>>      any, pkey 0x0ABD-0x0ABF,0x0BBD-0x0BBA : 4
>>      any, service-id 0x6234                : 2
>>      any, target-port-guid 0x2234-0xF235   : 2
>>      default                               : 0 #default SL
>> end-qos-ulps
>>
>> Since any section of the policy file is optional as long as basic rules
>> of the file are kept, the above example can serve as a complete QoS
>> policy file - short and clear.
> 
> I think it could be good idea to add to opensm/doc|man some paper which
> describes QoS setup in details.

Sure - it's on my to do list.

-- Yevgeny

> Sasha
> 




More information about the general mailing list