From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B17DCC433EF for ; Fri, 8 Jul 2022 00:01:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236862AbiGHAB6 (ORCPT ); Thu, 7 Jul 2022 20:01:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236448AbiGHAB6 (ORCPT ); Thu, 7 Jul 2022 20:01:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F28A6EE84 for ; Thu, 7 Jul 2022 17:01:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E63A7B82446 for ; Fri, 8 Jul 2022 00:01:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6249EC3411E; Fri, 8 Jul 2022 00:01:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657238514; bh=9TeYqA/IjM9JoR7I/QJLtUhv1h8C/I9sCNXIdt1aoxI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UOPcGbJ7/6SPupOUvEesq7niv32av5eD1Tiwi5FJmUGiJnJBl07nQVifgGZgqQcv+ ZWmnfAzH13xWclAee6aKFevkjTiyzPoMlFSPhA6WicpEY4uuiuimXAtHYWQ5gZyInj OBuat9RtGjFK7BAz5VXqEzELAs1IUDCO+RCqqs4NP3e7IiLVDrO1NSpGAo+dA64jtK 2Tt2nYuSLaPYpAmmC5lUMT2KPlvMVPZTiusHfyHinVbb7qzAg3jswgZK7vdTFJQeGZ YcvFyiQHOHkj1xmfckAIU9eOM9SvF1cYz3crqIGbZlaaNYRIaqngabA4Gq4TOmk8BZ wRQ8q85T9B7Tw== Date: Thu, 7 Jul 2022 17:01:45 -0700 From: Jakub Kicinski To: Matthias May Cc: , , , , , Subject: Re: [PATCH net] ip_tunnel: allow to inherit from VLAN encapsulated IP frames Message-ID: <20220707170145.0666cd4c@kernel.org> In-Reply-To: References: <20220705145441.11992-1-matthias.may@westermo.com> <20220705182512.309f205e@kernel.org> <20220706131735.4d9f4562@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 7 Jul 2022 15:59:10 +0200 Matthias May wrote: > Has setting the TOS for ip6gretap ever worked? Not sure, looks like the code is there, but I haven't used it myself. I presume "0xa0" is not trying to set the ECN bits? I never remember which end has the ECN bits, those may well get nuked on the way. > How should i go forward with this? I think your example above shows that "tos 0xa0" does not work but the conversation was about inheritance, does "tos inherit" not work either?