Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5981338ybe; Tue, 10 Sep 2019 11:41:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMpq7siB2WmC3sWvCAQKm2LJ7AaXP13x9RKAXIPuwom1IizxNqoFsE+JDMBmUA+6xcwJWC X-Received: by 2002:a17:906:3715:: with SMTP id d21mr25808729ejc.24.1568140888711; Tue, 10 Sep 2019 11:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568140888; cv=none; d=google.com; s=arc-20160816; b=EUPuVLEziCM8GF9ekpTIzFfz4nywKp2Dh3UgdaZydQUBu3/a6Z58GaHVbfItScAa1T m9+OdF6rfV7NsOAamXgAWHg2G3YMm/S1pviROw4Ca/pLHeB5eFvos3HkcDs8u0dhyoX/ LrEbgNVJmvZxbMA9cM82aCR8fTW2OZPRgtIZPKfLPGGtyLxwXeDnRMC1qKTNs75Idjne 4005b6ZnUbqzCvQFbC0ZNMLLgLkBHGWG7BjpG6u/GIpER/Z1hhZMjydVCOuQsrfDvqFL TYcZl9rNNvou8S1dBlqJ7KFsWMc4/vfBuoIY8mShX8QIxWJf7fAdB4W27iTbhiNE1vfl AMYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=XPBqiUeL1ykNzTY9WBPiB5AJrEQUTHNAwcNZ5x5LZ8k=; b=c+St2ZfFKwp54/FAheFn5zDDAey6u1/Cw1D8W3mQYyBKtIARsgnQq5d6umdQw+AhId 5VeFZLG8N+S2OOCLAvzuuVgBj20waiSjGqvoP1RpQX5iiwjTLi8gc0VNk0QUQfll1l5r 4TlZLAq7xRzOEuECrJxrnBxutWzzsFkIKT6muvMZgURde5QFK76L/zzE+qJCjMHL3nuP AdzTtFhMQ3mcLt11vbjonYHhP/EBpseusqJEcsGGwU1mftuY5ekJqHjcQkFTuZB3So42 ASEkRZ/of8+58ImID6LanGWOj3OyRO9iw9YwsFVd4PF4TOuRPS6aJrz55mVUAGYJHiss hfmg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t16si9881274ejs.236.2019.09.10.11.41.04; Tue, 10 Sep 2019 11:41:28 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731396AbfIIVDi convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Sep 2019 17:03:38 -0400 Received: from mga18.intel.com ([134.134.136.126]:65505 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbfIIVDi (ORCPT ); Mon, 9 Sep 2019 17:03:38 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Sep 2019 14:03:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,487,1559545200"; d="scan'208";a="335709631" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 09 Sep 2019 14:03:37 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 9 Sep 2019 14:03:37 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 9 Sep 2019 14:03:36 -0700 Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmsx602.amr.corp.intel.com ([10.18.126.82]) with mapi id 15.01.1713.004; Mon, 9 Sep 2019 14:03:36 -0700 From: "Bowers, AndrewX" To: "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" CC: "kernel-janitors@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [Intel-wired-lan] [PATCH] net/ixgbevf: make array api static const, makes object smaller Thread-Topic: [Intel-wired-lan] [PATCH] net/ixgbevf: make array api static const, makes object smaller Thread-Index: AQHVZKcBj9oTUZjOq0CbJrIU78N3iacj2qGw Date: Mon, 9 Sep 2019 21:03:36 +0000 Message-ID: <22d993817a224209b9ac37013d1d8c54@intel.com> References: <20190906113356.9985-1-colin.king@canonical.com> In-Reply-To: <20190906113356.9985-1-colin.king@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGE4NWFlYWMtMzQzOC00MGYxLTkyYTAtMThlOGVhYjlmYTUzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVTlpeEdFcGpXN0M4T2dUdGF6WlJjbW03UDNaR3MrXC9IRGdXZUJYcm1aNkFkUHk4OWFldXMwR1AwWWJKMUs0XC8wIn0= dlp-reaction: no-action dlp-version: 11.0.400.15 x-originating-ip: [10.22.254.132] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > Behalf Of Colin King > Sent: Friday, September 6, 2019 4:34 AM > To: Kirsher, Jeffrey T ; David S . Miller > ; intel-wired-lan@lists.osuosl.org; > netdev@vger.kernel.org > Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH] net/ixgbevf: make array api static const, > makes object smaller > > From: Colin Ian King > > Don't populate the array api on the stack but instead make it static const. > Makes the object code smaller by 58 bytes. > > Before: > text data bss dec hex filename > 82969 9763 256 92988 16b3c ixgbevf/ixgbevf_main.o > > After: > text data bss dec hex filename > 82815 9859 256 92930 16b02 ixgbevf/ixgbevf_main.o > > (gcc version 9.2.1, amd64) > > Signed-off-by: Colin Ian King > --- > drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) Tested-by: Andrew Bowers