Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1544170pxk; Fri, 2 Oct 2020 12:15:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyGqtasdtNHoBYVuywY1CFSgODkZE2v2kAFOvROU3X7TUIT2Peg+lnlNLWHU35CiH3UmLY X-Received: by 2002:a17:906:e24c:: with SMTP id gq12mr3919046ejb.359.1601666133023; Fri, 02 Oct 2020 12:15:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601666133; cv=none; d=google.com; s=arc-20160816; b=jKWA+td0UYLYYSW195q4MP3RyNFS2dXUxZgyqZGSgZvvtfo2dnvscZglmQWqUHH43e KDRXbcXxXZN3Mku7AX+JILUpVpE5jb4GRb5ESXDuOETNF3dj4GCB2xSgF7hy/GtG+N9l voHPM3g8/oyBbvtq4w2aBzn3nRKCDqLWx1RSeP3hy4PADH6QRbGaEDK+znUJSnsC4acD Lf0v7PWw4o/ojNa/3Bq1NJPhcGZ+SBlQobGrXXR5MI0JjnUsOQjohVRE4yqipHnOAuqY Cv4jeSSWHGHW7WFkSFZlBXf5ZHK1FGAGQl3g04p+2iDi1e5ykh0/43CYP0toRR1+WfY5 PTFQ== 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=4E58JDWcyE9kHD+mQNg34Irk/7DDzMGRzQkdVU3JrAQ=; b=KwDlJ9/InkOzhOuqyVg7VL+BTyESPd/aT22d8RxtQnGV5OKJUR4UVCSEV2Av8iquTH SCGVCNVtqsXHB2pZBev3lVGsIpyvYuM/8YNfzUrnlebWfwtlTOYjxqLm/drp8hG5aWAy pklPDMoIvkKk+f18y3OMWOiJj//VPqsR721AcWfO06UGJg/bYVAW0FnEnxstTwjRMS06 NOsWhuKjklMHySI5iOGjGeUfRhGcckm8RVtMzMB5WUpD/LUaHpXzoAAj87GsUy2kXZju XlxBhjxpC96fQMG9Wcc+P0JEu+qk2H+UQqdi7fccT+2kKDRwU2jqfA4WNGvn6fdSIYa+ 7ViA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=ytUa4lMM; 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 h3si2215351ejo.332.2020.10.02.12.15.10; Fri, 02 Oct 2020 12:15:33 -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=ytUa4lMM; 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 S2388317AbgJBTNV (ORCPT + 99 others); Fri, 2 Oct 2020 15:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbgJBTNV (ORCPT ); Fri, 2 Oct 2020 15:13:21 -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 12BC8C0613D0 for ; Fri, 2 Oct 2020 12:13:21 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id y14so1401994pgf.12 for ; Fri, 02 Oct 2020 12:13:21 -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=4E58JDWcyE9kHD+mQNg34Irk/7DDzMGRzQkdVU3JrAQ=; b=ytUa4lMM03Lk/3vOWIwHDchVWLwTbBS+psnP0aqtOMfQplZiPbsxZ5IhvpU+NxGJnF 5X9XhhBWk2sTfhepgaiaT+ytA9xSjw7Yrv2BxGmowDMg6d13i3FAOB8p+moegDR0zY8f mqVSFGj/EpLPAGGhK4IJKG2ttesIGD6Qk9HoeHsVSvZajh68j6m3PN1lp7ciKZPZDytO 9tklsc556dwDJC23qspyKwy2jEUv4K4STEcvrhcm4XgZd/Nmau6cQje120RRfJljl7v8 g/uvoRhBmgWVa+HKxHzCYhX7vsBRC3ujPOI0EtuwQyMNbzkrcBb5vM6CB9N8lWOEXo3U 1NBA== 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=4E58JDWcyE9kHD+mQNg34Irk/7DDzMGRzQkdVU3JrAQ=; b=dkocg8WbfJiGRuz+lg4Jyf/qWk9RgBN2D7k2WgP5eSuETXV9PJo+17zjix8KZ3KfBo mH3wsW7Y9SWjRmEgySkfl+2g/jf0HAIFoutUpt4n7sxyE5NnVXii9WXDrtk+FfKr8ZGr cH9vLQ1dWnZRm2HNoOPHnguue7JR6UhwLAe9H7QcopsiXx4/bOve5enV1dDLf6r113Tc WF5cpIO5MMq4oHFlgMRmz/7+J4yry3BkERkm7nhUpaX7gaMS9ukscOclXkOvuUGhyopT F1oU3ZPH6oITw8prtXpGPVn0pE/03Bs+EtsbmG/khwFNMSYtCsZhflNsuxv8oR0VZ4dg /RjQ== X-Gm-Message-State: AOAM531IAfDrmib2z5ELv6u4Fc0Ek/jnM3u5W6JX/TUXXawjXgNeK4xk RhzMyOAnUZvzKcoMQ9d3B0myfA== X-Received: by 2002:a63:456:: with SMTP id 83mr3776594pge.210.1601666000662; Fri, 02 Oct 2020 12:13:20 -0700 (PDT) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t186sm2372583pgc.49.2020.10.02.12.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 12:13:20 -0700 (PDT) Date: Fri, 2 Oct 2020 12:13:17 -0700 From: Stephen Hemminger To: Jarod Wilson Cc: linux-kernel@vger.kernel.org, Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , "David S. Miller" , Jakub Kicinski , Thomas Davis , netdev@vger.kernel.org Subject: Re: [PATCH net-next v2 6/6] bonding: make Kconfig toggle to disable legacy interfaces Message-ID: <20201002121317.474c95f0@hermes.local> In-Reply-To: <20201002174001.3012643-7-jarod@redhat.com> References: <20201002174001.3012643-1-jarod@redhat.com> <20201002174001.3012643-7-jarod@redhat.com> 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 Fri, 2 Oct 2020 13:40:01 -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 > --- > drivers/net/Kconfig | 12 ++++++++++++ > drivers/net/bonding/bond_main.c | 4 ++-- > drivers/net/bonding/bond_options.c | 4 ++-- > drivers/net/bonding/bond_procfs.c | 8 ++++++++ > drivers/net/bonding/bond_sysfs.c | 14 ++++++++++---- > drivers/net/bonding/bond_sysfs_port.c | 6 ++++-- > 6 files changed, 38 insertions(+), 10 deletions(-) > This is problematic. You are printing both old and new values. Also every distribution will have to enable it. This looks like too much of change to users.