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 99A7542FC4; Thu, 3 Aug 2023 10:18:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BA7E4282D; Thu, 3 Aug 2023 10:18:14 +0200 (CEST) Received: from mgamail.intel.com (unknown [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 9F7374161A for ; Thu, 3 Aug 2023 10:18:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691050692; x=1722586692; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=7IEaYc2DJZCRKpKoUpGJwhhR8QEEqxul/yGoAYZE+ZA=; b=Us/k60ZGML4bCvj/V5ogdkwMuroeLfyL3r/DgyD4o+bIC1fXYpxJGIF1 5iclKsgUi4X7c5ue1zvRNjlamOMyFBbRZyoO0qqFbAu7JsPJaicS1Li2q uxD2kXRS8A/CpJmLdAOYM6ppCazFrNDFgPGo6z9W1NZnSE8Azk19PInlW l5u3u8Fx11PoOObp9cPLh37e+3KoWnGtA/W76vc/oYz7IB+ra77gVKCYc HFVG54J3l8NZm5n0Fx4Tb8DrWF2N/71fHu3dqwcIDIv1rcaon8K/u5nlP T+24eVk9BnvD4oTD9wCCdl22V5uKmtKY/v8M7deMnPukfpYzyRDeb3oB2 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="368705585" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="368705585" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2023 01:18:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="706461287" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="706461287" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga006.jf.intel.com with ESMTP; 03 Aug 2023 01:18:06 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.27; Thu, 3 Aug 2023 01:18:06 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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 via Frontend Transport; Thu, 3 Aug 2023 01:18:06 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.49) 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.27; Thu, 3 Aug 2023 01:18:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NjHkXMlzOp/VXhT7HZtxfQtckBtIuSPjBieucvlorLs2fqFd1X3Eq2lxNN6P3FHY0td9nN+0exH3H3jiwF4LyOzmL3IrqlXB029hgvWjQce0YhA82dS9+z49slA79PF44e/lwqUB1L/1kQMHkUUzEsinLvNbn17ZftfaM6wsGiEewJ6GV4yU8Ym3S7F0jyPmS9U6MBzjFI8cf7rfLUThSvndrzJ5CTUNVu1QgUce6JFcXcld7qo/j1KoAsgonThbl421sLHcS5hs4CF8DZYPsEG2r7I+jhNoy7f13PtCoWuYeNIJqVEKrTMukQItaSiPcjR2rGK6tAKvvNhCX11FLA== 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=X8yBn74HimTb91qHshPQ3n0WgTUO9Bgxg35bnACSlIA=; b=cplv/H+FKNBYEeyNNIdTUjsm8LFHWcN62AJQVvBoRJSIWF/2sSIgwbBZbXm/9UCVZqPallnVG2lJVkQ3JFfxbXLC+Ji/o6gGWB97LWMOeo570ock+O+JjJ747sIQ++HmGykEzXnZGaTZ3uQBf5WFl/IZk1sxrGJANalKxVt+Ez6/dv4VKgNKSmasKpw9+5LoRcxdsssqlM8k6kMx7+IX6Ks3ZLQGK1X2pFYejje7ukyUm+EIJ7qmYmaRw46pL7Kc2plRAIk509lDGnmNp1qpCHPZ9pGnvvn4Z6Wb0NINmsO2prrchiEENcFsNtpwMzsADa1BfbWaNNVAIanqFt2aAQ== 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 DM4PR11MB5486.namprd11.prod.outlook.com (2603:10b6:5:39e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.20; Thu, 3 Aug 2023 08:18:04 +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.6631.046; Thu, 3 Aug 2023 08:18:04 +0000 Date: Thu, 3 Aug 2023 09:17:59 +0100 From: Bruce Richardson To: Stephen Hemminger CC: Philip Prindeville , Subject: Re: Drivers, architectures, processor families, etc. Message-ID: References: <45384262-9744-4975-B5FB-D5D26608DF5B@redfish-solutions.com> <20230802154759.0befb39c@hermes.local> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230802154759.0befb39c@hermes.local> X-ClientProxiedBy: DUZPR01CA0057.eurprd01.prod.exchangelabs.com (2603:10a6:10:469::6) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|DM4PR11MB5486:EE_ X-MS-Office365-Filtering-Correlation-Id: 7291ff78-5f58-44e5-01cb-08db93fa2942 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HCvvrWlqYFkGD+4CU9XFfIW0uv88HFIRr4qdxm7yoTjzByT8bQS7vNJUsND+trNWgwrh1ENBudyuxjbO1+NZNDE3VNEuupKo4LgL1T5l7Tdww4FuXsh2sveKZyGba1S1Ml9JoSY0CXTlogf/wwb7m4gC+BzPh+edrTaUjMP/OHnMBPEmG1JhHTwfu2qK7JElYCZoFFSdoPFut1mI9cL+ubz7cpvNvbAEs+D9+Ahr9nSCZWAEXTi88Ulz4HgXnQDkWTIelGlkLtqT5jy4Dwb20rEo3ZXjpAbbtJ/u7Iu6oTl2uxI5xX06Ivzc14Reu3ywSifhNlIG/gNDeLBcv8dkVt+qlRavpLBA8Pv5wn7pZluzJ5DkqdSJ1pYXLzFSGAVCEPXiiOn+Pm4Wd3jRUZrhIc6kBFNl0L92ml41gtkCrv9B3sTp9eoCfkSjVOqheb81Wn8yVHjSe0PSt0/oXlVhR+KJGPebhKh4o0w+stv9k/Zu0K5udpYjvQmZ69icbMLp/yn/1F4ppi12vl1o3uwB979m7nB4KasSapFlplPuhn3nc+ZMwrAuO18j5y20oenQ 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)(136003)(396003)(39860400002)(346002)(376002)(366004)(451199021)(83380400001)(2906002)(44832011)(86362001)(38100700002)(82960400001)(41300700001)(6666004)(6486002)(6512007)(66476007)(316002)(4326008)(6916009)(66946007)(66556008)(26005)(6506007)(5660300002)(478600001)(186003)(8676002)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?c7iBlj7ejg4ujdNzHEiN7D/j5U8BLivmkgw1W+o8V1gfxSKUDtdEVynAyrAW?= =?us-ascii?Q?ji1x7VoEeSbBVHzW2xcALGRjhC/P/97e8BMc1fXsS24J8yJZLab9fv2Lm4pt?= =?us-ascii?Q?HpxAsDO1eZTfGzt3STWOjgV/91VWcqamm41S3Y1tSe2hSs58s5Gq4dclUcbQ?= =?us-ascii?Q?rJngYq80ZjUC4+1U9IfeTW04RbqePYWEOpDFCD4VC2D88kBJKRj6+62jZYxM?= =?us-ascii?Q?PuDLeJjmz0HITFetGk9EuqgTl7qjBYzGdCNPZpa6wwRxUbu4CjbMnN7x/jce?= =?us-ascii?Q?VCRy898RE7dRFZeUoSJm7W0SoBTV5AnLckd8zIVPn9LB6kR0zjttgYAEHv7B?= =?us-ascii?Q?wHryGgM0k64waJAKN/NAPT9snNRZVk3BAQQQJMt8Owo9sLlRurVdSXhPjq/G?= =?us-ascii?Q?TCMIP3IYqGIFguNKfUq3bvKQjC4/LvWIpr9+8MzblCYw7Pg+PS7ylrubUEE9?= =?us-ascii?Q?LF+0hgNV1ktYhHkkqXfcDt/EW3uJDxtFjD8/d9LBY3jzPOGtDBX/F0RmJcSE?= =?us-ascii?Q?OLiriDGoOPdd9Dn3ZovlIOoukyQrLsfb3XYPW/z7/ZFjzpnvAUPIoTiNlLlE?= =?us-ascii?Q?Mnkuf2kh2BxWBmwFDr+YUH/xekmUgrwmMCIna/cHr3Wow+NsjgBDR/stRTbV?= =?us-ascii?Q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i/iFVXlqd0I?= =?us-ascii?Q?gXnyr6JH+dINMPRQ8t5TRm6CtRFbVWprswtt+MdYIE1SaijH/PPyUCR7DpeS?= =?us-ascii?Q?pw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7291ff78-5f58-44e5-01cb-08db93fa2942 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 08:18:04.8504 (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: DqWs7vg0rYtxENkxoJeNn7o/OqE7IklDMnp05k4Gd25rQdLNOcUy66StuCOUWPYwpVPXC6DFPtpOf+AtED8R99Hv34CnU5QdN8mvPs+B9WM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5486 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 Wed, Aug 02, 2023 at 03:47:59PM -0700, 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. Actually, we do now support disabling drivers, and also only selectively enabling specific ones. See disable_drivers and enable_drivers meson options. To find our different architecture support, I suggest looking in the config directory. The subfolders there often contain cross-files for meson for building for various architectures. For example, config/arm, contains a number of reference files for cross-compiling for different arm platforms. Regards, /Bruce