Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4619681imm; Tue, 7 Aug 2018 04:46:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpedzlEAu1zoh9pp/809wUUJvTU8pTUgEVNyYu8bD/SOTygal5idHGPfR7ZdHuzC+dVOVJq2 X-Received: by 2002:a62:3306:: with SMTP id z6-v6mr20998533pfz.85.1533642367252; Tue, 07 Aug 2018 04:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533642367; cv=none; d=google.com; s=arc-20160816; b=dbzMviBFOA88GZxVfzsyn5sBp/DOxo7AlkMLmqV2OaGoiQnTJCjmOuAOe1qNPGOwNt A4NKjBPmwiv7yEP7RyCrlLcjwMX5PVY7u8wQoiQaYewKV7LglF6C6aAngI9xMF8vXIby 0CjERczvzooUiScbEZESpe8gK1RrB9rZMPjpcfsQjHnxpjsLHr0tDO5tJHopbr8yUolW rCMaKO+pFrYJitkDrg4S7DNXzBoQdxwtIFtk3t6AD82t0fTrUOpwDqlnxtmKSkehDekZ bGuEjIVvq1Gr19wAWCHkxQxZTRQCEzCenic/gYPpZMPcaFldedYSZqkyc3vMHlCc9bP+ DQ4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=emy94xzGiW88N/e7jLZVj4/MMnEjlxcdTUyRnKKC2vQ=; b=bqd5q0Zklm2+NllrtfVjHtuP5ov/j6uUu5DSob/6kj2wIQmihlDVUfQPGBuaFaOTNb 8FuJFlQ9m3QQqV6Kh0KXvYFaCtQhEcZEvxktgAgKAMq6NeEzAdXTz8WD1/6NsGA9TpfU G9BheejRskzbQ8TuF5uKoSbYMOUY+D6E6/O1XUs8AXy/kDhBpM8eO9GmbSdOXssf+uQk jkwVu95Dlg4/ccV/yg47H+Nc0bxzogeVQ9oUsFLfjb5EQV1XzN7tVamuCpmNN353DSbp XR5JJ061XAkoLVhEyCzJOWOwGdQWDIYHR5mYyfN8ssdZFgpTuaIrPszZ00V/UkdYp8tJ bqHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6-v6si1163353pfg.175.2018.08.07.04.45.52; Tue, 07 Aug 2018 04:46:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389074AbeHGN6w (ORCPT + 99 others); Tue, 7 Aug 2018 09:58:52 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:35780 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726902AbeHGN6v (ORCPT ); Tue, 7 Aug 2018 09:58:51 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 77F9F87A70; Tue, 7 Aug 2018 11:44:54 +0000 (UTC) Received: from [10.43.2.69] (unknown [10.43.2.69]) by smtp.corp.redhat.com (Postfix) with ESMTP id 415E710CD88B; Tue, 7 Aug 2018 11:44:53 +0000 (UTC) Subject: Re: [PATCH] Use Kconfig flag to remove support of deprecated BE2/BE3 adapters To: David Miller , poros@redhat.com Cc: netdev@vger.kernel.org, sathya.perla@broadcom.com, ajit.khaparde@broadcom.com, sriharsha.basavapatna@broadcom.com, somnath.kotur@broadcom.com, linux-kernel@vger.kernel.org References: <20180806121230.23690-1-poros@redhat.com> <20180806.134620.124956510948789350.davem@davemloft.net> From: Ivan Vecera Message-ID: <322717b5-6d98-6f65-9357-190af5b50418@redhat.com> Date: Tue, 7 Aug 2018 13:44:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <20180806.134620.124956510948789350.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 07 Aug 2018 11:44:54 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 07 Aug 2018 11:44:54 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ivecera@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6.8.2018 22:46, David Miller wrote: > From: Petr Oros > Date: Mon, 6 Aug 2018 14:12:28 +0200 > >> Add flags to remove support of deprecated BE2/BE3 adapters. >> BE2 disable will reduce .ko size by 2kb and BE3 by 3kb. >> Disable both will reduce .ko size by 9kb. >> >> With dissabled support is also removed coresponding PCI IDs >> and codepath with [BE2|BE3|BEx]_chip checks. >> >> New help style in Kconfig >> >> Signed-off-by: Petr Oros > > Sorry, I'm not too hot about this. Why? This patch does not remove support for older chips, it just gives an ability to disable support for certain chip families. In other words an user is able to customize the driver for his/her needs - it could be fine to add this ability also for the rest of chip families. > Imagine being one of the people who has one of these cards. Such people leave this configs as they are (enabled by default). > Pulling out detection and working'ness of devices from a driver > is a big step backwards, and I'm sorry I will don't want to be > part of something that facilitates this. > > The S390 folks tried something similar in the past and I reject > those changes too. This patch is practically the same as "a1b8714593b6 ("net/mlx4: Use Kconfig flag to remove support of old gen2 Mellanox devices")" for mlx4 and that was accepted without any objections. Thanks, Ivan