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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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<amirv@xxxxxxxxxxxxxx>

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<amirv@xxxxxxxxxxxxxx>
CC: Sean Hefty<sean.hefty@xxxxxxxxx>

---

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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux