Subject: Re: [PATCH V1 6/6] IB/rdma_cm: TOS <=> UP mapping for IBoE

From: Amir Vadai <[email-masked]>
Date: Wed, 21 Mar 2012 15:26:35 +0200

On 03/21/2012 12:03 PM, Eric Dumazet wrote:
> Le mercredi 21 mars 2012 à 11:25 +0200, Amir Vadai a écrit :
>> From: Amir Vadai<[email-masked]>
>>
>> Both tagged traffic and untagged traffic use tc tool mapping.
>> Treat RDMA TOS same as IP TOS when mapping to SL
>>
>> Since IP TOS to priority mapping is not exported, had to borrow the code from
>> net/ipv4/route.c
>>
>> Signed-off-by: Amir Vadai<[email-masked]>
>> CC: Sean Hefty<[email-masked]>
>>
>> ---
>>
>> We can export IP TOS to priority mapping if the networking maintainers will say
>> where they want it.
>
> Yes please do so. This makes no sense to duplicate ip_tos2prio[]
>

Ok, I will add a patch to export ip_tos2prio, and will use in the code
rt_tos2priority().

- Amir