Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp16428pxk; Tue, 22 Sep 2020 17:06:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwby7c5VumpS9g8z60y7wiDf5PK6BzJnBQzWUUWzf8WpWeAUnmNWmXD1cydVwxS23AryASZ X-Received: by 2002:a17:906:28c4:: with SMTP id p4mr7516739ejd.345.1600819563731; Tue, 22 Sep 2020 17:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600819563; cv=none; d=google.com; s=arc-20160816; b=WN22zdI51KY989MC4Y6VQX9pp9WEmoUP8AubKySlMF/PsNcNBCNeEberBmhcCoqD/y ozGQIUZmvGhHy66PPsWrujsHdNqtfXUcV7SZcVSWGFZqf6UsbbCirCjIxkcPkKd92p/W h6bdAafkYXRss2Rs3pKIlT/ZkqqVCKLtQzZpynYiCtDrequ0vlGuSmzwWPHEmb2XHQdA cQ/RhMhlNu0cCesGFFwrM7LXugRBWhiOZ4mGPUtMbWdQJGBSstqDp0KdATUatIptKWsn S9dmVPDk5upJDc7l/KzoGboNrnm6LZxuomysWp1AZuUh8lzUMpLl6aqbdER2eDFHbA0h 4Mvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:comments :references:in-reply-to:subject:cc:to:from; bh=aJcBQs7F4qtAl6qILEBhLteYMgvOY1ktONISd0GMPjw=; b=AudJucjC42/yhd4fyFGMAbbXAseokNgl52HpXrHYuK1A7fyRRMXmBkuOPSttEUeRjq DMlQ3n6pKwjqoMzoLoGD9F4SDprr7ySsUPZYd5rnxrD+wnCWvuDk55C0NRxC6COOFmVT QVdnI8XRIbKqU55UGWyGopLFEUcx+C+LMkJM9S6G5OONM2Do0gVF6MQk6yieh4GPwYr6 +qUOaJCVBkP/TwwmOKzHsF3CqkNnbWdLFgCBfmrLb0n0+TiwWw/KU8ZyLT0dQtSN2D2m R7xVAhVj8u7BYqQiLFdaFmJps7lMNfjTyRA90Ve/2yVtU8L5IyuNIM1V2ByAE7BErbYy WVWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si11642111ejm.636.2020.09.22.17.05.40; Tue, 22 Sep 2020 17:06:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726945AbgIVXrU (ORCPT + 99 others); Tue, 22 Sep 2020 19:47:20 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59659 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbgIVXrU (ORCPT ); Tue, 22 Sep 2020 19:47:20 -0400 Received: from 1.general.jvosburgh.us.vpn ([10.172.68.206] helo=famine.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kKs05-0004hW-5o; Tue, 22 Sep 2020 23:47:09 +0000 Received: by famine.localdomain (Postfix, from userid 1000) id 9EEE45FED0; Tue, 22 Sep 2020 16:47:07 -0700 (PDT) Received: from famine (localhost [127.0.0.1]) by famine.localdomain (Postfix) with ESMTP id 97CEF9FB5C; Tue, 22 Sep 2020 16:47:07 -0700 (PDT) From: Jay Vosburgh To: Stephen Hemminger cc: Jarod Wilson , linux-kernel@vger.kernel.org, Veaceslav Falico , Andy Gospodarek , "David S. Miller" , Jakub Kicinski , Thomas Davis , netdev@vger.kernel.org Subject: Re: [PATCH net-next 4/5] bonding: make Kconfig toggle to disable legacy interfaces In-reply-to: <20200922162459.3f0cf0a8@hermes.lan> References: <20200922133731.33478-1-jarod@redhat.com> <20200922133731.33478-5-jarod@redhat.com> <20200922162459.3f0cf0a8@hermes.lan> Comments: In-reply-to Stephen Hemminger message dated "Tue, 22 Sep 2020 16:24:59 -0700." X-Mailer: MH-E 8.6+git; nmh 1.6; GNU Emacs 27.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17373.1600818427.1@famine> Date: Tue, 22 Sep 2020 16:47:07 -0700 Message-ID: <17374.1600818427@famine> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen Hemminger wrote: >On Tue, 22 Sep 2020 09:37:30 -0400 >Jarod Wilson wrote: > >> By default, enable retaining all user-facing API that includes the use of >> master and slave, but add a Kconfig knob that allows those that wish to >> remove it entirely do so in one shot. >> >> Cc: Jay Vosburgh >> Cc: Veaceslav Falico >> Cc: Andy Gospodarek >> Cc: "David S. Miller" >> Cc: Jakub Kicinski >> Cc: Thomas Davis >> Cc: netdev@vger.kernel.org >> Signed-off-by: Jarod Wilson > >Why not just have a config option to remove all the /proc and sysfs options >in bonding (and bridging) and only use netlink? New tools should be only able >to use netlink only. I agree that new tooling should be netlink, but what value is provided by such an option that distros are unlikely to enable, and enabling will break the UAPI? >Then you might convince maintainers to update documentation as well. >Last I checked there were still references to ifenslave. Distros still include ifenslave, but it's now a shell script that uses sysfs. I see it used in scripts from time to time. -J --- -Jay Vosburgh, jay.vosburgh@canonical.com