From: David Miller <davem@davemloft.net>
To: mail@void.so
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] allow DSCP values in ip rulesB
Date: Fri, 16 Nov 2018 20:29:12 -0800 (PST) [thread overview]
Message-ID: <20181116.202912.1382664815309272891.davem@davemloft.net> (raw)
In-Reply-To: <20181114143037.GA4650@rnd.infotecs.ru>
From: Pavel Balaev <mail@void.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@void.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: ".
prev parent reply other threads:[~2018-11-17 14:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-14 14:30 [PATCH] allow DSCP values in ip rulesB Pavel Balaev
2018-11-15 14:59 ` [PATCH] allow DSCP values in ip rules Pavel Balaev
2018-11-15 15:04 ` Pavel Balaev
2018-11-17 4:29 ` David Miller [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=20181116.202912.1382664815309272891.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=mail@void.so \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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