Received: by 2002:ab2:7853:0:b0:1fa:5c73:8e2d with SMTP id m19csp31086lqp; Thu, 30 May 2024 11:01:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQxD3V/cv7OybZMViS/kqIm8iX1X0LUEIjCVk4/X2oGLEWx+ImdjPU+lVbV/+iW2zCsPlaQi8cZJn9Shdcmktzb/tqELpZxiJG32DLUw== X-Google-Smtp-Source: AGHT+IGk+ZX+WmPcmsMyhtpmUy8tIacccm53BdigyI6/IOr0xxMTlS5nmZWcDQ+OxJ0xU2Qowjkr X-Received: by 2002:a17:90b:2d89:b0:2bf:8824:c0a5 with SMTP id 98e67ed59e1d1-2c1ab9d9fafmr3383003a91.6.1717092110880; Thu, 30 May 2024 11:01:50 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c282befasi89909a91.92.2024.05.30.11.01.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 11:01:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195760-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KUQNqfg6; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-195760-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E809828901C for ; Thu, 30 May 2024 17:54:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1715482F4; Thu, 30 May 2024 17:54:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KUQNqfg6" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BAF9219FD; Thu, 30 May 2024 17:54:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.11 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717091682; cv=fail; b=hCzlH+1TyQkwF2yn6SOXf+kSE3yI6nPYYczF/oQpg12nQsO4mvBMMP3SchBuPocmUb2iz/L3zsGE4/PEMOH3li39oKfAR5Z9Mi78jyJC7jnTJyXGT3jnmMwZ183u3kfeUvF89eRqweKhgYvTrjrIvh672HN3cVx0TTlVCzwlv8Y= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717091682; c=relaxed/simple; bh=s8NyHN7JLSQzzmcDl1Az856x+99tXsw8t69e2xB+pZE=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=D/7aLd1M9TF3PPROKOQqe91owZtHE68Pckmfzt6aev4UAlaGDjE1JbvGzLySSEui+yk+W7l86ACN9+G58XNthqZLEA60wM2psVN/jQWGAY2onkMJfT1TPaJa1ajsobM86zIRisQMzU5yKrbF9nQ8uJ2l9Qn0ZimoDBiNMnQwyEI= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=KUQNqfg6; arc=fail smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717091681; x=1748627681; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=s8NyHN7JLSQzzmcDl1Az856x+99tXsw8t69e2xB+pZE=; b=KUQNqfg6vaSuyZJFaF8e5HREyg3J9VRmj25GgghLy+X2NPRslm9f74FQ PIg75nxZ5CCvVpuoHgiSEVQ8cc3EUEDK63HGCDXqRYHoBOQiOROx5+JSO 1blNuPyk1fi49pjwDGWWppWmYKnB6CPAfVn3DaZimMyO7HnUB7RlQSekV dUGKjBD7WJNQx5el2XfK/DawkCl3uBXikjQE2tcZqRhAaeqZNuaQyFfjO +TcWv5DNtsHBWzY1yJxE8KbWDULKGhMzv7DqdltYSGWvYDkIWywiXc/pO VYPvMwOcScgIgf699GVIWWyV0ykBqNUs7IYoCtGB8o6m6sb6qikQjgxGW g==; X-CSE-ConnectionGUID: m9VZM+EgTfuCKBKpYcjz+A== X-CSE-MsgGUID: 7VOMmoMaSR65TNGCY8rjag== X-IronPort-AV: E=McAfee;i="6600,9927,11088"; a="24227532" X-IronPort-AV: E=Sophos;i="6.08,202,1712646000"; d="scan'208";a="24227532" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2024 10:54:40 -0700 X-CSE-ConnectionGUID: cw9X7ScWRHqdLyGJqT03HA== X-CSE-MsgGUID: UrPPXfC2T1q3JMWk3AM4pg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,202,1712646000"; d="scan'208";a="59072057" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmviesa002.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 30 May 2024 10:54:40 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 30 May 2024 10:54:39 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 30 May 2024 10:54:39 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 30 May 2024 10:54:39 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 30 May 2024 10:54:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dy44Ntyec3N4CHqGCnxkgGNbal3r7yTftWFkPfHPAeKYFFh7VE4se9SvWngPyAKiCGUXBVepj/I5J4f3r8I0C5IqN/bETlPE2XPXvVmqEPG56nHPGVwYQS+WVEzLAH1tj7RyPjrMxezJ7JwGDHXU9h7rUgwoS9Kvt1nQe5KwV3vfUUwOHGgPARCz7NlhrQikjzOxs7+4MQp3HW0FccS7F1FgVDZnRY3QJ4wfJnih6qJMukxeMvicIXMe/yz2GDYBq01hCwzU2cQYA3ENqbFntqb+FfXY8u6hZnYvXoroJC9zKykOrTFh6IB4mPsE/9m0AJxSignXUQ1iwnX9NJ4DoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t+Y5i7CfCP1Hg2AHBHb3dR7aRU63PIgJBKAySm14y/k=; b=Z/j2cYS0sCl+c65OvfUw/2Dd3PrY5SkrNMI3xGRMaFdj3k+HQu0pPy0yNu/cqNYzDbCAwRxsCx5+Br+kOt8AuFnhtLbhXQXUMatPKMya6RbqQYo+Xhqj4SVDVYPqLuYWK+cR7M718bFxH9pW+AKEP7DM8FlgdtS/D016oDTHcJVGxeyl2XGiPkJxz2Zyd+OO2fYxABI2OKScQPere/Qw10RLGR5BjrUcMOX30K5lbObfZLY9Eqp7E7Hw5TcPZe/vl0yx5TdUv0BEygSE2ANwnuS21VDplUl+az5savFAhDJwbbeeafv8MS6MO8GSUMhRRvZYtTzknBuHNjXQJN+/8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB5089.namprd11.prod.outlook.com (2603:10b6:303:9b::16) by IA1PR11MB7774.namprd11.prod.outlook.com (2603:10b6:208:3f2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Thu, 30 May 2024 17:54:36 +0000 Received: from CO1PR11MB5089.namprd11.prod.outlook.com ([fe80::7de8:e1b1:a3b:b8a8]) by CO1PR11MB5089.namprd11.prod.outlook.com ([fe80::7de8:e1b1:a3b:b8a8%5]) with mapi id 15.20.7633.018; Thu, 30 May 2024 17:54:36 +0000 Message-ID: <2f1603fa-d03c-412c-895c-bc4afa06834b@intel.com> Date: Thu, 30 May 2024 10:54:34 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ethernet: octeontx2: avoid linking objects into multiple modules To: Arnd Bergmann , Sunil Goutham , Geetha sowjanya , Subbaraya Sundeep , hariprasad CC: Arnd Bergmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , Richard Cochran , Suman Ghosh , Simon Horman , "Tony Nguyen" , Jiri Pirko , "Mateusz Polchlopek" , , References: <20240528152527.2148092-1-arnd@kernel.org> Content-Language: en-US From: Jacob Keller In-Reply-To: <20240528152527.2148092-1-arnd@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0080.namprd04.prod.outlook.com (2603:10b6:303:6b::25) To CO1PR11MB5089.namprd11.prod.outlook.com (2603:10b6:303:9b::16) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB5089:EE_|IA1PR11MB7774:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fa42e09-1c8b-4279-f936-08dc80d1920a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|7416005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?c2ozMW9GSm5SRTZ1c0ZqaDBBK1hobUkzei9OUHNHME1HeW83bXBtS0htbkJL?= =?utf-8?B?cEZmTXA4WVlHVVBIUDVpdG9qQko2STNwb0ZnUm5waEM5NEtiOEt3NFc5Z0pI?= =?utf-8?B?R0N4MEhMeXVyRy9xY0pBOGZicjByeDMxemhmWjRWbXcvZDZaWndvU092N0t6?= =?utf-8?B?bWJQczNLcjVzVmx1bHNCd05BUWJKdXJDUEhLRUJRcVQ5R2t4aHZIMUhzb25w?= =?utf-8?B?QnUvWkR5WWdsU1Q1RE5DN2tkTzJSVTlLWE1l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DT1BtYkF0UjBjak9UOUJiNFBja29Lci85NjZySzVZ?= =?utf-8?B?YXNzRDZ5WkRUS1NnQ1dma2tycWo3ZER4dnc0cTNlZHMvMjZJVG45ZzFzV0ph?= =?utf-8?B?dEkrZTdQR0gyUzhBTllzemFWSDZWelZSRm56TW1Lb0RoL3VzQ2RSY1B2T25w?= =?utf-8?B?bktUL1hicGY2Vy85am5IVkRHa0V1Tm9JSGZJTHhtcmJHa2ZVNExrMGE2bkxW?= =?utf-8?B?NnFMa2Zvb0ZPOGtTamJsOEt2bE94YzdGVzAra1ZSWFF1Yk1EU3Q5NGVwZGpp?= =?utf-8?B?YXF2bXBqSzN0b09vaEF2WnVnS1JjbklqRXovWCtObituaUlURHppWUFQWVVT?= =?utf-8?B?b1EzcnpDa0hmUU9xQXJWZEdJSjBhMXJOalNFcStUK3hTSHZkUm8rSGNuYklk?= =?utf-8?B?SUZ5SVZXUytQVzhRdTg2cFllQTNtNGVBcFhKMTlwSzczRkxHZGhjazB1U3FW?= =?utf-8?B?b1kyYW5mdW1BZFdUOEJNU0lHVFFDeWl1VEgzQW9xYWxrVUJVNHkwYzY1RkE1?= =?utf-8?B?V2Z1VGdPZDFtVmV3ZmF1Q3d2UjgvL1pjVjBWdThnWHlYZjRxeW5yWFBnPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB5089.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cVdsdVpWQW40SFpzOFJOS21nV0ZYVEZyVXRQQXdIREFWQ1FpYUlTbXJWTzVF?= =?utf-8?B?UWFvekhVMWFKZkVsNFBUVU4rTjZpTTRaTVdDYUVjWHVRbytQVzRaTTNSM28w?= =?utf-8?B?SGQ3UVI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mY0JxTS90TVlv?= =?utf-8?B?MnZNSytRekYvOW1zNE40UGh0NDJDcEVLanRtZHFYMEdOdWRoVWhhYUt4UjZk?= =?utf-8?B?eUpKSW9Ka0RTN0JiZzJpK0lScVR6U3JEY0hNWmRUdU1pSTVSMHFlU1B6a0pw?= =?utf-8?B?ZzROYjRUbjVqRUxRNkdLOUVNazhidVZDaWRsZm5JcVBRWTJDcEZoSk01RTNm?= =?utf-8?B?cmJQZFV1aE1ka0RVOS9RT1gvNG91eEFWckloajZZNTQ2YVh5b0dFSkZhd3pl?= =?utf-8?B?RXc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5fa42e09-1c8b-4279-f936-08dc80d1920a X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB5089.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2024 17:54:36.7205 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NA3vauaP2tFfkXhryx23g3GkZbmk6tB/vt7yKlgN0Oi7RNHxZ5A5c7QedJckQvYUtoDfnFJKXyIvTB0XWO+GM+eLjdseC/G71+iXO5faiiQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7774 X-OriginatorOrg: intel.com On 5/28/2024 8:25 AM, Arnd Bergmann wrote: > From: Arnd Bergmann > > Each object file contains information about which module it gets linked > into, so linking the same file into multiple modules now causes a warning: > > scripts/Makefile.build:254: drivers/net/ethernet/marvell/octeontx2/nic/Makefile: otx2_devlink.o is added to multiple modules: rvu_nicpf rvu_nicvf > When I tried to build, I don't see any warnings produced on the current net-next with W=1. Is this something new and not yet in net-next tree? If not, how do I enable this warning in my local build? > Change the way that octeontx2 ethernet is built by moving the common > file into a separate module with exported symbols instead. > > Signed-off-by: Arnd Bergmann > --- The change makes sense to me. I built and tested both before and after this change. On my system, before the build change, the driver built to 3 separate modules totaling 2029176 bytes: > -rw-r--r--. 1 jekeller jekeller 72104 May 30 10:46 otx2_ptp.ko > -rw-r--r--. 1 jekeller jekeller 1774008 May 30 10:46 rvu_nicpf.ko > -rw-r--r--. 1 jekeller jekeller 183064 May 30 10:46 rvu_nicvf.ko After this change, the driver builds to 5 separate modules totaling 1977984 bytes: > -rw-r--r--. 1 jekeller jekeller 81480 May 30 10:46 otx2_dcbnl.ko > -rw-r--r--. 1 jekeller jekeller 19784 May 30 10:46 otx2_devlink.ko > -rw-r--r--. 1 jekeller jekeller 72104 May 30 10:46 otx2_ptp.ko > -rw-r--r--. 1 jekeller jekeller 1698880 May 30 10:46 rvu_nicpf.ko > -rw-r--r--. 1 jekeller jekeller 105736 May 30 10:46 rvu_nicvf.ko This is a savings of 51192 bytes from removing the duplicated object code. Reviewed-by: Jacob Keller