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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B8CDC2D0F2 for ; Tue, 31 Mar 2020 00:49:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EEAD120748 for ; Tue, 31 Mar 2020 00:49:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729129AbgCaAts (ORCPT ); Mon, 30 Mar 2020 20:49:48 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:45078 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729019AbgCaAts (ORCPT ); Mon, 30 Mar 2020 20:49:48 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id EC27A15D057FD; Mon, 30 Mar 2020 17:49:46 -0700 (PDT) Date: Mon, 30 Mar 2020 17:49:44 -0700 (PDT) Message-Id: <20200330.174944.1829532392145435132.davem@davemloft.net> To: stefano.salsano@uniroma2.it Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, dav.lebrun@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, leon@kernel.org, ast@kernel.org, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, bpf@vger.kernel.org, paolo.lungaroni@cnit.it, ahmed.abdelsalam@gssi.it Subject: Re: [net-next] seg6: add support for optional attributes during behavior construction From: David Miller In-Reply-To: <20200331012348.e0b2373bd4a96fecc77686b6@uniroma2.it> References: <20200319183641.29608-1-andrea.mayer@uniroma2.it> <20200325.193016.1654692564933635575.davem@davemloft.net> <20200331012348.e0b2373bd4a96fecc77686b6@uniroma2.it> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 30 Mar 2020 17:49:47 -0700 (PDT) Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org From: Stefano Salsano Date: Tue, 31 Mar 2020 01:23:48 +0200 > Of course a new application (e.g. iproute2, pyroute) using a new optional > parameter will not work on older kernels, but simply because the new parameter > is not supported. It will not work even without our proposed patch. > > On the other hand, we think that the solution in the patch is more backward > compatible. Without the patch, if we define new attributes, old applications > (e.g. iproute2 scripts) will not work on newer kernels, while with the optional > attributes approach proposed in the patch they will work with no issues ! Translation: You want to add backwards compatibility problems because otherwise you'll have to add backwards compatibility problems. Sorry, I'm still not convinced. You must find another way to achieve your objective.