Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2501329imm; Thu, 9 Aug 2018 14:10:58 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwxhfaaiVSbDiqb5lwegX91w2ExcZXfBdOHsh8KopiLFUMev8zvhum9Pzo6KyTMfkeHC0tK X-Received: by 2002:a17:902:201:: with SMTP id 1-v6mr3512567plc.310.1533849058602; Thu, 09 Aug 2018 14:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533849058; cv=none; d=google.com; s=arc-20160816; b=cypoaFqfGzGGWP9N8SYskY/QzI6kQoO9NumOmJskNXbdHW2yZWg+M3435LNHei3Dli wlvs/oJkJVwkQRjqa+sp6IL+26z/2JhDtE1ARqdhFA03fUgAW37mxYtEH4gQf5pIqoSC p7s7/5puG3qqt3OeKpPkdg3bDBMZOAMQ96OLoAVtYDO51DXsIE5ycJM97hF6zzv5ThpT LA3ke/qie8bChgjzLk8Zxask1jTjSQlG1y4wqqoSdmYzwoGpNk0trzZx44UwV+38m+8U PI3kziST/9Fz8uIxnLvrlQ02RtREWe40RWmqytWNU8ZOogovTE7y5SkdM5WyqqC8VU1b UBHA== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=U1m5k4hRKoTiF+HOfxKyiAIpivo2fPZQl3E6oOtsAO8=; b=NhXGv9ydXtNrhu0c/rid11pNHfMMLyRM7V2zmvhyXv+hFTGOBSJmkuaU0Avi6FgdJJ e0Ygy8/bi/oAe4BMN8opW3MlmDYP8dwHlnjSHUYH6GZadXlt6U+Qv6/SmrMWhTBGjCEC jSGBjw0nlOvNiiThj33Lu3cLyZT31ZeH15Ud6IePUO3dSa4Mj/tcA1BNiHkiWbmaXsrf YQIbB0XVfOC2bsqCfScGrUIs/LiQgtClaksp/3iZJln/8Bw/9TTpn26GPIXYmwpcCAtO qEiTu9cZSHDcxXb1tlNEktBox2V+w9XsTfrK9I71Ft0o4b0tebl2L5g3/iooSlBMVI7i jeLg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5-v6si8069833pgs.52.2018.08.09.14.10.44; Thu, 09 Aug 2018 14:10:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727379AbeHIXgA (ORCPT + 99 others); Thu, 9 Aug 2018 19:36:00 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:36936 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbeHIXf7 (ORCPT ); Thu, 9 Aug 2018 19:35:59 -0400 Received: from localhost (71-36-117-41.ptld.qwest.net [71.36.117.41]) (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 92CF61426BF1C; Thu, 9 Aug 2018 14:09:22 -0700 (PDT) Date: Thu, 09 Aug 2018 14:09:22 -0700 (PDT) Message-Id: <20180809.140922.263463642075324643.davem@davemloft.net> To: poros@redhat.com Cc: netdev@vger.kernel.org, ivecera@redhat.com, sathya.perla@broadcom.com, ajit.khaparde@broadcom.com, sriharsha.basavapatna@broadcom.com, somnath.kotur@broadcom.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] be2net: Use Kconfig flag to support for enabling/disabling adapters From: David Miller In-Reply-To: <20180808113505.550-1-poros@redhat.com> References: <20180808113505.550-1-poros@redhat.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) 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]); Thu, 09 Aug 2018 14:09:22 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Petr Oros Date: Wed, 8 Aug 2018 13:35:01 +0200 > Add flags to enable/disable supported chips in be2net. > > With disable support are removed coresponding PCI IDs and > also codepaths with [BE2|BE3|BEx|lancer|skyhawk]_chip checks. > > Disable chip will reduce module size by: > BE2 ~2kb > BE3 ~3kb > Lancer ~10kb > Skyhawk ~9kb > > When enable skyhawk only it will reduce module size by ~20kb > > New help style in Kconfig > > Reviewed-by: Ivan Vecera > Signed-off-by: Petr Oros Applied.