Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp53490pxk; Tue, 22 Sep 2020 18:25:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTPTykON/IlaXedcA/up06bx/CVDX2OD/HLo8sjHvajqxk4UbbO0bwhIPCdlnK2CCjoK6e X-Received: by 2002:a17:906:8289:: with SMTP id h9mr7813064ejx.45.1600824347939; Tue, 22 Sep 2020 18:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600824347; cv=none; d=google.com; s=arc-20160816; b=RJretL/v+1TjGQRWtAJje4vKfY71dO3m/Q/+mvA0yyMN1IGXU1aKTDrwL62aSeK5bu e3addvwzwNQM+trjyf9oN2ptRjEeAsdN8wGRIzHWvFaVrioLgVvH7U5LFKYlK0/G1Xod yJg1QRftsjbC6P4MU1yKBdNXkYwdsC6YonuBB35mIGlqgqeQ6OyyWYcCceFOpBMYtF3f GMKG6WWmKi6WgU8SkC8aP2B4b4DbMxGI8+KLk8d1A1i8aclM7JluvazqoZNmBr0Gfzm4 O9VYrEXRNMfTqdin4QPWdXW70CUYOla7yq7LQS8CzkkN5Jetzuc/s5+TGiOllhAPxjCj y49A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=zCzet71T0DTkaVJKD74uRfQOUvTA6fuxWbEiPIVm6E8=; b=C63K0JQLuCxqJlumMEGYiQkInnCxC9bFjqeMhgD0yJi31YS6Ghj+M4oBtpNNdOK7Wt yX9pVvw0Px2ghPq1AOsX8hDUrLRNFYIzIfEspOqrInrfKIL3bfYnhhOqwFfK4KzmL4f/ yLWjsT8HmmPDqcIWrBx1RRImUjY07nFfAKZ7LMNM0IWlpw/99F0e2HbKwKz8si6oenIB CDjDo0NDTkp9Q43Q4m07f+VVEWyldaEbQ3Tr7JQkTddFaT9klszsq6UUsd0HG5ZwfJR5 z23NHLBEI2BhQLcV2/slPp3uWLFATd7TQngzMju1k1rc4WUuNMWoaeweNwC92nIVrgPH gn/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=SwhruGZP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw20si12433829edb.141.2020.09.22.18.25.04; Tue, 22 Sep 2020 18:25:47 -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; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=SwhruGZP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbgIWAB3 (ORCPT + 99 others); Tue, 22 Sep 2020 20:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbgIWAB2 (ORCPT ); Tue, 22 Sep 2020 20:01:28 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BDDFC061755 for ; Tue, 22 Sep 2020 17:01:28 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id k14so13230419pgi.9 for ; Tue, 22 Sep 2020 17:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zCzet71T0DTkaVJKD74uRfQOUvTA6fuxWbEiPIVm6E8=; b=SwhruGZPJWXUFTSoLEOYcIZg7eJuuW27uXsEhgEw3jnStd01TC+Ne5rg/aFvTx0v/9 IzhXjoc62AWOUKNum84yikEf1uIm2oaRyWxmxhj6Ijq/Gprvm9qJQxdLef3Az+F+AetT K4pRJmUf8puuK7N5tgnF680B6ZmZWDN+TO4O2Og9SUb8RIA1bfNSJHS8JcGZpTFdkn8G XndnFxT22EfiNdPkv5EIE84kb8DzXr3l5Yb1VgqzPfAZ4v3uuuQ8/fKfQIiq+uZO12D2 823PYjSPnuGPlErKp7SeDP553g65lQu/ChU0+lskWrj/nYLb818Q0GxsQvjLtq1brIYv FAOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zCzet71T0DTkaVJKD74uRfQOUvTA6fuxWbEiPIVm6E8=; b=d/Y1/BEJF/U6w15VAaAxT6UD3cKscecfEn8t7nEbJyCo5tQ9mV8UOLs5jvoVBTnwWg MK6LfdkUNIfpCoj590lH7KgZvGGrJXIrkFwbx5NCschghAdbwNpFi0HnpGrNFd6fjbOb 4yIwEKrZtfK/KGPMtZraM3d9lsU1OV8BzUylOMniU6KE7fUfo+YPY78LvMBWz4lzhxv+ 4HNPTSoMJBR7F87hzfHy0aU+Ce+iELGAnk4CZx4TAVkxL/dEHSzL5wOH3ISj8IyGQar4 ByM878cuTCz1rTPFpzqgDOalHfAZWCUiibhHda1+qVpOU6nR/vGBO1mVZscE5HZf5E22 2Y9g== X-Gm-Message-State: AOAM5335ImldunbYHEVy1ddIuYEC9/72mFVwWY9P3EwVjJebIiDL9S2g E59egLYESOvonFS3Ue4Dtoq4UnHT5ii4TQ== X-Received: by 2002:a62:2985:0:b029:142:2501:34d6 with SMTP id p127-20020a6229850000b0290142250134d6mr6117808pfp.47.1600819288177; Tue, 22 Sep 2020 17:01:28 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id mh8sm3009664pjb.32.2020.09.22.17.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2020 17:01:27 -0700 (PDT) Date: Tue, 22 Sep 2020 17:01:19 -0700 From: Stephen Hemminger To: Jay Vosburgh 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 Message-ID: <20200922170119.079fe32f@hermes.lan> In-Reply-To: <17374.1600818427@famine> References: <20200922133731.33478-1-jarod@redhat.com> <20200922133731.33478-5-jarod@redhat.com> <20200922162459.3f0cf0a8@hermes.lan> <17374.1600818427@famine> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Sep 2020 16:47:07 -0700 Jay Vosburgh wrote: > 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. Some bleeding edge distros have already dropped ifenslave and even ifconfig. The Enterprise ones never will. The one motivation would be for the embedded folks which are always looking to trim out the fat. Although not sure if the minimal versions of commands in busybox are pure netlink yet.