From mboxrd@z Thu Jan 1 00:00:00 1970 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) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UlqUdssO" 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: netdev@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..