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 DA0A343007; Tue, 8 Aug 2023 10:18:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7530443247; Tue, 8 Aug 2023 10:18:20 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 5085840A87 for ; Tue, 8 Aug 2023 10:18:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691482699; x=1723018699; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=jHLAOr3+5icEXvl6nmDLnm4ERqrpCQrbm+wJnekStHg=; b=I22Fn05sRv68LLnsiuoOjT6c0JWeERsFw+RslNP95OOo+YUd+gU+f730 Z+qxyhsGGtsrsT8MnoNaforFjb5EA+OTVIdvHxN3KyfPF4lixBVmNYoUs VKBRXNkFABaDpYub6R0GZbzHS5+OQ2YRTy8hX1TrdTuDR+cD0AWgpB9Go AZI8Rsdk9He5QCKB2Uj50bK2CLgs0CwMDqhTFRtfVKNkbm8F0kEXcVVBG Gs9uYP+8YQZK7ZvGaTb22slDN2s4G3PEmdyXNskusYT4mfUBjikgWLEsB Aoz+9x/1Z/unTOU6WJeTzb+dqAYazvuIcACmxinzmkZBDC62c1nlfIP4k w==; X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="434605133" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="434605133" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Aug 2023 01:18:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="845369323" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="845369323" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP; 08 Aug 2023 01:18:14 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.27; Tue, 8 Aug 2023 01:18:09 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.27 via Frontend Transport; Tue, 8 Aug 2023 01:18:09 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) 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:18:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KmkoeTUQtvYHLwlHwe8T8HelHx3qu9VD38XZ/ialDRjsr0UEXUPRFI//yyjq+4afpMXz3PrTK9bvf5l1cFTcuZ/eId4Scp5O8oyGVtY+k6T0yJr3dvrwqQmzCpwI2pZY1AAP4FPbbcjidH8Io9Te91XHh6sOLYzkca+uO7hfSExkQwwEZqvBoT4trzVrGhrIeuC4tv/9wDALqXHOTwfVoxSNQmZ/VbkXyFMhxduQAag2gCx65rEgRGeKM0eeuwEK5sO7crQH6NuD0sjB3WBGQh2/KLYwzEm+1SEOfaz5StmSw/wQWF2EmcVRpVtbKDpzF54qghhiNLyzm2PcG0PyZQ== 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=IuMfWRyf5HXqpaOSSeVh7nfH03ZMZmZghG4A6zS98T0=; b=hRe6Fpbwn4LAy2nwYxJ6f3r8qyUBoCilDciZHnh9+Ei52c6RdP4cqB/ZnGkTSKt4JMpwAwnXE+jc+SfQPFegABwaB+MFVIlsuxJpklyx1VOw9L4nvsNeSdivN86/H/WhnlFHGmY2v66QiIkMQzzs1B+plr+cyqAH5JFrvw17O+5uKJ2WWkvrjg0JFZLcvlhjIe6wxCmIEcXOL6IO0O2qBnLAWwmln+b4KluwS9WoXfglKV02xJZ0vGnKp0UcLTxUARxWvt89vMOwZ5jkzrWu4UFAeIo43zQ7D29M2KN6flOKIgIj4W46LQBfEnVqOxFZZu8mElw81BjgKeNBcjLmMw== 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 PH7PR11MB5960.namprd11.prod.outlook.com (2603:10b6:510:1e3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.26; Tue, 8 Aug 2023 08:18:01 +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:18:00 +0000 Date: Tue, 8 Aug 2023 09:17:54 +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> <0C54E384-5177-4075-A935-3528F5FB31B2@redfish-solutions.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <0C54E384-5177-4075-A935-3528F5FB31B2@redfish-solutions.com> X-ClientProxiedBy: DB8PR04CA0019.eurprd04.prod.outlook.com (2603:10a6:10:110::29) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH7PR11MB5960:EE_ X-MS-Office365-Filtering-Correlation-Id: 933c9b74-f9be-4337-7272-08db97e7fa8a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4+/pMNYZrCFdHoEh+6Ce9TVN/mvT9BIZ3RtkokyJgBeSbHYESaTd+gD03eaHtNrmfBnUA7BfP+eNSvicJttEg2Qr3bFoJgVvEkCvnnOu2Mu6RG5yLZ8XmQ2n01m4OvrgnjVrtw/ia6geVlsYKb+ZB1QQPdQWaGm5pHiANb1qV7CbhUj4HZTb4HTl3RJwpLotHNRkh95qCT1SgTurGCzc91OF+EJoGsEtsXleDPwcL35i/fdkr7MBe5OnU6DJGwUXoKPgJNHIRqaKZnYi68qsBaLSMOTDFAN9wQKRrMgMq9hm/mJxfXSEsfHDSwF9RNlXAW5bhi5nQuCGcLyORb6tI4UdQ+/9bXQemXDWB4wh9aLXvX6WfFfx0MqGGCaWcDd4YZC5jQNLmZxuafW6L9iFX9sUZz201Ox39++5ToSKpZ0pM7uAaQU+ynhD7OyGAlU5YVuQW+V82BlEM2CMQS7aeFVSuwLAzqj+5eAblkIkcKfvfgLirKWSr0RqIcUnle3bL+DzQwxs4xd+Uy8wisro3gxX3yXv9NGFKSzf+9V4hi39KZPF34OC0qJCypUrbwA79Q5wICEBBEANBMufMZ5SY5sGoOqQoObTK0FboxL3aoQiyPFRvLroKtr6TyW2erHJj9stWp+lNo/Rs5E6hddlBg== 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)(39860400002)(346002)(136003)(376002)(396003)(366004)(90021799007)(186006)(1800799003)(451199021)(90011799007)(2906002)(66946007)(6916009)(4326008)(66476007)(6486002)(6666004)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(316002)(8676002)(66556008)(38100700002)(478600001)(82960400001)(26005)(53546011)(6506007)(86362001)(6512007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?OLyvNNe1GJdC32ERlj9MYY4vS61rWSo7jrMKQIB1it+XY7t1oxmfhAm8HX2+?= =?us-ascii?Q?p0lIoXxsVWozdMk87w0tpBWBPov+O6HFon2wGG+zL3dgfdmv9nS3uhhn5jrJ?= =?us-ascii?Q?lR4YXi7vUrpkRgXJdI2l2VYxwDOytN8BFayk8n58it+TFO2ZuqZta8cx9Pde?= =?us-ascii?Q?BRDOKRxNM7/bMvI66EHg5N3iuYIkHbdB+I89526K00d4gmgBCuI48Zbxciol?= =?us-ascii?Q?7+17SnRHxDpLqT3UOtngmvqoml6dmdQdQG0XnOOYCm8RY3fGgvIM8IU6jbeF?= =?us-ascii?Q?D2HU7BoJDEzMGNYS6XahoSI0Rp6ShCgRh1Dkicwd8Mh641SBzBExpcDlypNr?= =?us-ascii?Q?XZpX01Bx+KlWhLYjHuXZmevG9lYMl5XqOYuG4W8wcP8xOVgUsK1CAIjG4oJL?= =?us-ascii?Q?E0jHBvcmwnWefSjEnt2cc2/Ib4rJqzO61EPFetqbWB9fACvTG3Bf/0u9jCBH?= =?us-ascii?Q?BGr6yFpSUalWsAPrBJw2VulwR3fyOW+ClvXjesgPfU5wpdOFRYSnCOyQ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zsUMQA9+JZ8QOnQbCmQbb2c93q?= =?us-ascii?Q?PP1gaYn/ZFuaJvfxbHRlcW8BW4gZRjMzASqma2jduQ9AHZIB5qDYFoFGDZzy?= =?us-ascii?Q?JRslKlNAemqB4qZWTz8Z5NSRAsUzuvKgy0Y4oyABPiwMcIZTPMrVFFXl9eOu?= =?us-ascii?Q?fgPq0YLN6GzZlocgLEFQn07INpVPEKhVTbJ4yBjuSXapSB7OKIKEqOU25PNE?= =?us-ascii?Q?Lw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 933c9b74-f9be-4337-7272-08db97e7fa8a 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:18:00.2706 (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: Zw0y+9WH0NZibAKyg2cH8XyjddddLH8mQureVTHGAv9MKPDxPDlgpNkwjTZIWSLI0UAUi9LqtCNmpEmpkMIDMx9a1NMiBBp24GvozajWgqE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5960 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 Sat, Aug 05, 2023 at 03:32:37PM -0600, Philip Prindeville wrote: > > > > On Aug 3, 2023, at 2:17 AM, Bruce Richardson wrote: > > > > 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 > > > Noticed also that the ARM architecture has configs, but AMD64 seems to be wide open... just one generic config. > > Is that because some chips, like Xeon-D have on-die NICs, and others like Xeon-E don't? > Its just that folks generally don't cross-compile for x86, and also the fact that nobody has ever brought it up before. We have no "native-build" files in DPDK, only cross-files for cross-compilation. However, if there is demand for them no reason we can't store some. /Bruce