[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1321187454.4651.1.camel@lb-tlvb-dmitry>
Date: Sun, 13 Nov 2011 14:30:54 +0200
From: "Dmitry Kravkov" <dmitry@...adcom.com>
To: "John Fastabend" <john.r.fastabend@...el.com>
cc: "Dmitry Kravkov" <dkravkov@...il.com>,
"Ben Hutchings" <bhutchings@...arflare.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Ariel Elior" <ariele@...adcom.com>,
"Eilon Greenstein" <eilong@...adcom.com>
Subject: Re: [PATCH net-next 09/13] bnx2x: add pri_map module parameter
On Thu, 2011-11-10 at 12:34 -0800, John Fastabend wrote:
> Use 'tc' to configure the mapping explicitly then. Or allow DCBnl
> set commands to be sent down either ieee_setets() or setpgtccfgtx()
> are used to configure priority to traffic class mappings. Then you
> could use a user space tool to set up all your DCB attributes without
> DCBX running (e.g. dcbtool/lldptol but I'm partial).
>
> For example 'tc' commands,
>
> # tc qdisc add dev eth3 root mqprio map 0 1 2 3
> # tc qdisc add dev eth3 root mqprio help
> Usage: ... mqprio [num_tc NUMBER] [map P0 P1 ...]
> [queues count1@...set1 count2@...set2 ...] [hw 1|0]
>
> It might be nice to add the ability to change the mapping after the tc
> has been created though. Maybe I'll get to this in the next week or
> two.
>
John, thanks for the clarification and the example.
Dave, i will re-spin the sequence without the patch, soon.
Thanks all,
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists