public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Amir Vadai <amirv@mellanox•com>
To: Eric Dumazet <eric.dumazet@gmail•com>
Cc: "David S. Miller" <davem@davemloft•net>, <netdev@vger•kernel.org>,
	Roland Dreier <roland@purestorage•com>,
	Oren Duer <oren@mellanox•com>, Amir Vadai <amirv@mellanox•co.il>,
	Sean Hefty <sean.hefty@intel•com>
Subject: Re: [PATCH V1 6/6] IB/rdma_cm: TOS <=> UP mapping for IBoE
Date: Wed, 21 Mar 2012 15:26:35 +0200	[thread overview]
Message-ID: <4F69D70B.9090809@mellanox.com> (raw)
In-Reply-To: <1332324196.25742.8.camel@edumazet-laptop>



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@mellanox•co.il>
>>
>> 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@mellanox•co.il>
>> CC: Sean Hefty<sean.hefty@intel•com>
>>
>> ---
>>
>> 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

      reply	other threads:[~2012-03-21 13:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21  9:24 [PATCH V1 0/6] net/mlx4_en: DCB QoS support Amir Vadai
2012-03-21  9:24 ` [PATCH V1 1/6] net/mlx4_en: Force user priority by QP attribute Amir Vadai
2012-03-21  9:24 ` [PATCH V1 2/6] net/mlx4_core: set port QoS attributes Amir Vadai
2012-03-21  9:25 ` [PATCH V1 3/6] net/mlx4_en: DCB QoS support Amir Vadai
2012-03-21  9:25 ` [PATCH V1 4/6] net/mlx4_en: Set max rate-limit for a TC Amir Vadai
2012-03-21 10:12   ` Eric Dumazet
2012-03-21 13:43     ` Amir Vadai
2012-03-21  9:25 ` [PATCH V1 5/6] net/mlx4_en: sk_prio <=> UP for untagged traffic Amir Vadai
2012-03-21 14:20   ` John Fastabend
2012-03-21 15:18     ` Amir Vadai
2012-03-21  9:25 ` [PATCH V1 6/6] IB/rdma_cm: TOS <=> UP mapping for IBoE Amir Vadai
2012-03-21 10:03   ` Eric Dumazet
2012-03-21 13:26     ` Amir Vadai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F69D70B.9090809@mellanox.com \
    --to=amirv@mellanox$(echo .)com \
    --cc=amirv@mellanox$(echo .)co.il \
    --cc=davem@davemloft$(echo .)net \
    --cc=eric.dumazet@gmail$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=oren@mellanox$(echo .)com \
    --cc=roland@purestorage$(echo .)com \
    --cc=sean.hefty@intel$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox