From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] allow DSCP values in ip rulesB Date: Fri, 16 Nov 2018 20:29:12 -0800 (PST) Message-ID: <20181116.202912.1382664815309272891.davem@davemloft.net> References: <20181114143037.GA4650@rnd.infotecs.ru> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: mail@void.so Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:48886 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728478AbeKQOoc (ORCPT ); Sat, 17 Nov 2018 09:44:32 -0500 In-Reply-To: <20181114143037.GA4650@rnd.infotecs.ru> Sender: netdev-owner@vger.kernel.org List-ID: From: Pavel Balaev 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 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: ".