On 03/21/2012 12:03 PM, Eric Dumazet wrote:
Le mercredi 21 mars 2012 à 11:25 +0200, Amir Vadai a écrit :
quoted
From: Amir Vadai<redacted>
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<redacted>
CC: Sean Hefty<redacted>
---
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