From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D630F43007; Tue, 8 Aug 2023 10:30:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79E1A43247; Tue, 8 Aug 2023 10:30:05 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 7AA1140A87 for ; Tue, 8 Aug 2023 10:30:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691483403; x=1723019403; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=K++gCVeNdCEQ+76D7HPMcqpJlOJylbAQ0lB/veLpPFI=; b=U5DX3cSRt5p5mZlgxjvapjVVZbUu/vFs5Hp7kTZeyYAc+cik4NLZrRwq jqm4hsNADIKuiTAYuBvHoeKCpdqnZvlA+IH9twVsPgr3F3qb4r775k04u b1/7FzOccqM8SMD22v0AjdVbKZhpIQJMcELuJaD1lxMqDF+TDcZEqdbUs ljRTQsLbBzsgLbJa769Z9F9MpQ/YKrXciCLf7sRk4/jvdKnI103kofTDM 3K1WCgIfWvPqx2jCQ4GPzIlKKZoWV4LKZiMT67yNFCIVrwh5XWqQAaVl9 W44tE9/ePzwuP1ynYlopHaOG0VVdDk0iqW6BX7UhicdYzHm4fQyEjzhYA g==; X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="374434295" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="374434295" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Aug 2023 01:30:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="760819800" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="760819800" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga008.jf.intel.com with ESMTP; 08 Aug 2023 01:29:48 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 01:29:38 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 8 Aug 2023 01:29:38 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Tue, 8 Aug 2023 01:29:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Id+7ESaHp+TFDcRZkfJrtAu3N1sAWfKDg496NztBixJIbW42udq92SHlqwFNSBiSA+yKHIFMABt7dxpj12w2erhxgXJIYX1T3KQWgbNfRzWPzGigYDoLsQxJPiDQ2XX34WI0Wz7M7uZv5T39KkBUtrrgBzzOiytTOeop3/rwYm8p08w4pygDWidpZKfT5ZGZObHlefv0ekVPzDXVP6wZSF3HKyEEb8BaCB8h/xnuOHdZIsmmheaQMQBslUnvp8Uc8jniJ1Ycw43GmC8V11dEE5x1PPBfMkHA53w/9FzlcrozWCySrmVXvJap4U1NZXO+zSZT8ZPd5adbqrpsGwLdoA== 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=ZpS+uAOOALLeNPHjP35wQIzwSS5jiVi7fkJzLZFkJO0=; b=Qqo+PQryYRwXZzmzmVnKrDB2B9tRTP4qj62vZ8a3LIPmOZ/keZPkGFyQuGJqmdnmv9aMSalURW59TtCAg3gXAxljLsUVkjEfk339SeMH7IC1CAV6VFYJatU1q4ek6fkC3Gq+KL7hH5o94tpzhzUCu4sKSce39E5MJKtbJYuIj4Xv0sjLpzebn44NbUNj2ZJh8V18c9e6VL2yr7LIbKCZ6bAmYMGri8sx+majQfWti5FbZk9eCiu2aV6Y3nAEHE7ftz3OoXV7GzagOtmJBIUFe2kNz/g0G9OSTPaI89++K8bzBnwKvJLiFSmMTg5+wnTEKwmXqQHYtrYgb0cjyTzXPQ== 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 DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH0PR11MB4997.namprd11.prod.outlook.com (2603:10b6:510:31::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.27; Tue, 8 Aug 2023 08:29:36 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f%7]) with mapi id 15.20.6652.026; Tue, 8 Aug 2023 08:29:36 +0000 Date: Tue, 8 Aug 2023 09:29:30 +0100 From: Bruce Richardson To: Philip Prindeville CC: Stephen Hemminger , Subject: Re: Drivers, architectures, processor families, etc. Message-ID: References: <45384262-9744-4975-B5FB-D5D26608DF5B@redfish-solutions.com> <20230802154759.0befb39c@hermes.local> <783A7C11-9B33-49B1-913D-1D9D5C6B6688@redfish-solutions.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <783A7C11-9B33-49B1-913D-1D9D5C6B6688@redfish-solutions.com> X-ClientProxiedBy: DUZPR01CA0080.eurprd01.prod.exchangelabs.com (2603:10a6:10:46a::9) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH0PR11MB4997:EE_ X-MS-Office365-Filtering-Correlation-Id: cadd8343-0635-421a-a7e1-08db97e9998f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UJuZchH7GEuuwZT2QWetaJm98bifE/sUrwa8palS7Dk5DjAX/yl29ARw/uEFdO/uLdRJ2GBqplVCuAK6yOXVH6fLaarjj7Y34oXS2Y6SBXi0HSz07W4EE2cLxCi6w7ocSS/qi+8w0T2Ho4EpJ4TxnbJx854rTzpg6AchwCHpKReSSKJ7l/HUzy3Mp7Z0xKtfPKYwb+GQ6Lv7O6z0Wh4wA3f+DE7wbrMvAODMcEcdKBiEdB3sNGHyeLd/VkMqQExgS+EFN78kkGDPykNACi93poqrEKT4UnbCTAGOvZrRuIQp6H/78p+iIajQuenp+jzNRbGk7D9o3SuA4rTL0aTGzhDmvfuRv2lt2vGXHfBKNdOfPUh99DX4MXA8W0pIG9pkVOVc6o89dKDF+qlfp0wW2KFEuXo9KXi5tWzLMnQYa2/EH2iBT8ekQVYkjI/lyY5gX7ZvaVSBtL6dWBZkIQTdgVLOR5FmPPNW6WGd1199YuC3kbDmxZ/JjbUDLzbdyQPzTurugRNXG4wSlhgAe4t5UQkcw80CRv02JkgVRR0Ge1htq1H2xtqWhL2pkeHW5w2RSgWGWoCofGFbXkNV8uU2pPjiw5gf54SZCNg+3tNL4vFKJQrmkYQieem0CksJKb+9hhWxj5v4X0mKlnzGW1icOQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(376002)(39860400002)(396003)(366004)(346002)(136003)(1800799003)(186006)(90021799007)(451199021)(90011799007)(8936002)(316002)(8676002)(66946007)(44832011)(82960400001)(66556008)(6916009)(4326008)(5660300002)(2906002)(66476007)(478600001)(41300700001)(86362001)(6666004)(6486002)(6512007)(53546011)(38100700002)(26005)(6506007)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?FR5jNOnjcgdWVj10eAUdkK+5pASbDFohkn9FeO7r0r6rbW6Q6kbsBN5gegBP?= =?us-ascii?Q?0eDuhujZJyLxiu7UfajZaotRkggaM1Xws4r07oSWnjQJvd2s/H6yX+3SRkdo?= =?us-ascii?Q?sBGsuhVqE2D28F/aAPpfrVpcWzHQxUmYDkdMOJ8uq9zBeZeZyC2eHVS5o3yh?= =?us-ascii?Q?itcQBUpmvZb3Vz8E5bwYdwqu3ypcYSlM/avoJPRYKxFZAl2ulW+JSZPid1/G?= =?us-ascii?Q?wpL/QA96cCL6+5CNXLOyrsxKfAkRkqr7kzGZoU+kmgbxQv7IVYb8zgKydFUi?= =?us-ascii?Q?yNeHfoJQZ3n+cOnx9gS32S9XjGK0f+G1TaE+3gAzTA2klYtHYjWlTk9VsVRN?= =?us-ascii?Q?E13gmgymP3lTGL4IGivYiWFX0vX3ZnuEDsxKMsBagbV7uLtjkmGnEof2POAt?= =?us-ascii?Q?yZsZv+g+q6Er8LpipihS7tU6B30KymcLvJZni+GbzLWZUz7biHI94soKoqDq?= =?us-ascii?Q?IlqpZpTCI9xWlVbzcHfJaEGPNtiSS6kHZ85QNZpGyWeAC1jB5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o8Dvvyjuz5zlVKh6p20Tc+eHiqkI?= =?us-ascii?Q?7ltgatxyesmApwSsXzwhVSvgaLzr3Zcsa9BLY4ntU1XVUHrHdYasGnnFEodU?= =?us-ascii?Q?GhPME8r9f15KYMLm04zuwHJTTX+Y4qwK29M8K3IiIv4cWnX5ynHWNbhnqot5?= =?us-ascii?Q?trThdaYyB1Zoa8amHRkW2ZEtHPeSD9R5xrnQHway3EKFH6hrCUmY0YZgWqaA?= =?us-ascii?Q?xw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: cadd8343-0635-421a-a7e1-08db97e9998f X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2023 08:29:36.4601 (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: LKR9Um2vxKZcn816UMCkBxUhaqROuOFR49nQk5XIYyQrUlwvhh9RfAoYaYaaCv3qomIYnCTpMdu4c2qexnsMPwiCIo0q7khWbsejzyItm3o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4997 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Aug 03, 2023 at 10:40:47AM -0600, Philip Prindeville wrote: > > > > On Aug 2, 2023, at 4:47 PM, Stephen Hemminger wrote: > > > > On Wed, 2 Aug 2023 15:49:54 -0600 > > Philip Prindeville wrote: > > > >> Hi, > >> > >> I'm trying to come up with some Kconfig logic for OpenWRT packaging to help users select the right build options for their hardware. > >> > >> Most OpenWRT developers typically cross-compile, so we obviously can't rely on detection on the build host as that's rarely the same as the target machine. > >> > >> Looking in the DPDK repo, I don't see any description of the available architectures, drivers, etc. and what I had seen previously was (if I remember) only for x86_64 hardware, and even that I can't seem to locate again. > >> > >> Would it make sense to put some of these definitions into the repo itself, so that when new drivers are added, that stands out (at least in the commit logs) and we can capture the permutations of what driver goes with which SoC on what architecture, etc? > >> > >> Thanks, > >> > >> -Philip > >> > > > > DPDK now uses meson which by default builds everything available on the build architecture. > > There is intentionally no way to disable drivers, you can disable some libraries though. > > > > The issue I'm trying to resolve is that if you're building for SoC Xyzzy that includes an on-chip NIC, then that driver should *only* ever be selectable when building for that SoC. > > There's no point if generating (or packaging) combinations of platform + driver that aren't viable. > Actually, for development purposes there is good reason. By having e.g. NIC drivers for ARM SoCs be built when doing an x86 build, it allows us to catch changes that break that driver. It also allows one to do a generic build where the one build could be used across multiple platforms. /Bruce