[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181116.202912.1382664815309272891.davem@davemloft.net>
Date: Fri, 16 Nov 2018 20:29:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mail@...d.so
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] allow DSCP values in ip rulesB
From: Pavel Balaev <mail@...d.so>
Date: Wed, 14 Nov 2018 17:30:37 +0300
> Hello, for now IP rules supports only old TOS values and we cannot use
> DSCP.
>
> This patch adds support for DSCP values in IP rules:
>
> $ ip r add default via 192.168.0.6 table test
> $ ip ru add tos 0x80 table test
> $ ip ru
> 0: from all lookup local
> 32764: from all tos CS4 lookup test
> 32766: from all lookup main
> 32767: from all lookup default
> $ ip r get fibmatch 8.8.8.9 tos 0x80
> default tos CS4 via 192.168.0.6 dev lan table test
>
> Signed-off-by: Pavel Balaev <mail@...d.so>
Please repost this with all of your follow-up comments added to
the commit message.
And provide a proper subsystem prefix in your Subject line, such
as "ipv4: ".
Powered by blists - more mailing lists