Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp552902rdb; Tue, 16 Jan 2024 08:24:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IG307EjhtEnHjb8BRUnME7LXrb+l15cj0Q7Ogmb4XiGXKt+EZKPIVYT9poLHg4GY+G4bkCE X-Received: by 2002:a17:902:8a81:b0:1d3:fa43:6a08 with SMTP id p1-20020a1709028a8100b001d3fa436a08mr7082748plo.44.1705422262672; Tue, 16 Jan 2024 08:24:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705422262; cv=none; d=google.com; s=arc-20160816; b=bNsisG19ts6tkDcxfHFGmtHzb9ceYO8MacaKPVlhWrsBc4IUogE8bbZm4E5ht4QU2f dt+O9zPmJnRBBSZi5fgtgKlfJtNlzpAnimILQjC4yPu1WJdfcFy6PmLz+p8d0fiJ1uGQ huf5M7xtBs2hyLVF2KLZ9/eWcAY2yjq9wNZDGQ+6ti4NYyPNA0MAXMi+pUYzHaELxrct FoNHO48Kpt63kRnyQHCd9t6/o9u7de+aboRfzgpYrRKD5TBTiadMmHDnNxxGH6thu9VF MbG4oShQMwwZ9BZxRd/85PQec1SlFPZW5XBcwflX6se7Ohy1eKpcqul/lbCboDgEnXfI t9jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=EcdnWKz4VyFqWAHSR9mnOwkDjWab90sdecpYlpsvTy0=; fh=xUJwk//ScFZoRJyuL2wrDG887lP3AXzfk5EP/ZZEwq0=; b=DoBuDYHVpU0c5NtJFgAzlB+LzaSugyofemPWqKAzpeQPoquoz+W212pBVnLvwwx+Ce WKrKmHzcx0rx2FtFnn/g81nwmjWpgw5bMpuW1MfafHptu0+2CDGLHPXr5dnNn6FNbn8c NJE2x31xYZnYDua96f94xEsNlz6r7NGTv9OlLRk2op/XMYW1P1osSOOgm2RLLt4sZa7K IGZiD9jcv4SymfNtufEaxMTlvjBp4mQF7fiKdH9dX+j7p/0gJtHUuG0ire2SidUlriKD SjwLDEACLxcoXA4DOKBP2qfmVsZWcAlrqp0bX/JvTWIq36DBxw15pfk8IBZdhgI4jp3B X7Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UlqUdssO; spf=pass (google.com: domain of linux-kernel+bounces-27572-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27572-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id mo4-20020a1709030a8400b001d065c68f06si11596059plb.494.2024.01.16.08.24.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 08:24:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27572-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UlqUdssO; spf=pass (google.com: domain of linux-kernel+bounces-27572-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27572-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 24147B2107B for ; Tue, 16 Jan 2024 16:24:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2113F1C6B7; Tue, 16 Jan 2024 16:24:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UlqUdssO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 504C51C290; Tue, 16 Jan 2024 16:23:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E58FC433C7; Tue, 16 Jan 2024 16:23:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705422238; bh=EcdnWKz4VyFqWAHSR9mnOwkDjWab90sdecpYlpsvTy0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UlqUdssOpy6aP5+1nc1yArvtsb3jBfIgPe1esSGRGct10/BL3b8Goa4RO705AH1rW FibVJsc+Lww0whtANW9pwa8ZPV7Uj/g+1P+Uk11MC+OgxOJbPmEU/k3/055P+21HAi X62Z0a4zZTRe0FQ0yeqlD57ch+wS3nFprMoFd8fkZuoDs05XxGxO5Zm180XZ7yfyqx 6hrKZnzwzEUheeP6i+zUSAxZFq5/jW/FLj25tbl85Fxy1U3qHQ45RW0Bs5LpZzlmOT 5jBxvutIPWh4QaC9ICFFv9UJqNsCd0RBytFCHd3/Qji9ozVdRTRgqeH2hB2lR+cfto nW/RbkWPdUr8Q== Date: Tue, 16 Jan 2024 08:23:57 -0800 From: Jakub Kicinski To: Thomas Lamprecht Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: vxlan: how to expose opt-in RFC conformity with unprocessed header flags Message-ID: <20240116082357.22daf549@kernel.org> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 12 Jan 2024 16:13:22 +0100 Thomas Lamprecht wrote: > What would be the accepted way to add a switch of making this RFC conform in > an opt-in way? A module parameter? A sysfs entry? Through netlink? Thru netlink. My intuition would be to try to add a "ignore bits" mask, rather than "RFC compliance knob" because RFCs may have shorter lifespan than kernel's uAPI guarantees..