From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v3] ipv4: make DSCP values works with ip rules Date: Fri, 30 Nov 2018 13:12:06 -0800 (PST) Message-ID: <20181130.131206.685645023971363194.davem@davemloft.net> References: <20181127100707.GA32159@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]:59812 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725749AbeLAIWm (ORCPT ); Sat, 1 Dec 2018 03:22:42 -0500 In-Reply-To: <20181127100707.GA32159@rnd.infotecs.ru> Sender: netdev-owner@vger.kernel.org List-ID: From: Pavel Balaev Date: Tue, 27 Nov 2018 13:07:10 +0300 > -#define IPTOS_RT_MASK (IPTOS_TOS_MASK & ~3) > +#define IPTOS_RT_MASK (IPTOS_DSCP_MASK & ~3) I was hoping my original feedback would have you actually go investigate why IPTOS_RT_MASK is defined the way that it is. I will try again. Please grep around for RTO_ONLINK and see how that specifically interferes with what you are trying to do here. I don't think your goal is achievable with how things are defined currently. Sorry.