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 2F05D43063; Mon, 14 Aug 2023 17:31:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1753B40A8A; Mon, 14 Aug 2023 17:31:57 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2070.outbound.protection.outlook.com [40.107.96.70]) by mails.dpdk.org (Postfix) with ESMTP id E9F7D40A7F for ; Mon, 14 Aug 2023 17:31:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HIfqw9L+nKhryiuhrYp8NY1McoAEqUMHRwpXn9pXx+G2qcI/N6noYdykxyQcEk3yM6rnNBihVuPw5+wVUvJE9fiIcCoGjKTG2qAeVOvwJmmYV/6JHFchAIMy2LL/rN9jpb0yfyqUKS9IhkJIdfEn+4B9zsvph6nUjO7V4Sjea7xFpNYgg9X+X6uZG4Vn0TR9Kal84H47ZIDrHNz2cP5L6FZX47VjptIUh0Bs9a2Cky2Md6Z6zzZCPnnK8qBNPnFVtEV1yQQTdp9iwPIE9P9MSPs9uEjAbddQMqio+3tHtyJsm/Gv4i+VpJYiDhE5yRuWyTWsT/tshI90c/EfhFaPiw== 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=LgQH2frDKoZA+N7QWT4ticKIC8EU2a8luLA/6Xn51vo=; b=iBD8R//x3IarVrgVFe7twQPhJBeNJQdPVRlA1KKZqF29tp5A98AkeTx6178uaYcYmB90Lh/tNAk187h/1IjjbZtQXU4FRh2od88KLKU0QwKdlFWKpDJ7IITNUdIPmEJYh64yTErruqULd7nOJEaN86y0zwjyCdH7QmvPIohubn+qtAG0PP21FDSpvMsjaQhl8SHufZ2Z0M8um9dacuPjpkig/MgVcvLhIwgZOgirk1Gb37G+VXQkR1T1EWr9awpO7UPB8Y6/AEwawEBJayJ2FynKNgORzdGDcibCVx8JBSrz0JtYdecLq66lkcuk7Eon5XBNQX1gGlkQ/dezIJzstA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LgQH2frDKoZA+N7QWT4ticKIC8EU2a8luLA/6Xn51vo=; b=l0RhCEgIr6gSHzncOcMh9UvF9g6SdElXUvqt3wdrDKNXRwVFzkJi4ez8Ml6btnQb8lhM7xeyYqJWPif60ZT6acj9q0pv6PSc9WaOGv5Od+jjsCkzAtiCckbQl27txsLm7vbNrmTG/Vis1u13xO35XRfPW+CbDsF2XZ5sH/b0xbM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by PH7PR12MB7938.namprd12.prod.outlook.com (2603:10b6:510:276::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Mon, 14 Aug 2023 15:31:53 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::49e9:2bf6:7f06:bbbd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::49e9:2bf6:7f06:bbbd%3]) with mapi id 15.20.6678.025; Mon, 14 Aug 2023 15:31:52 +0000 Message-ID: Date: Mon, 14 Aug 2023 16:31:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Content-Language: en-US To: Philip Prindeville , dev@dpdk.org References: <45384262-9744-4975-B5FB-D5D26608DF5B@redfish-solutions.com> From: Ferruh Yigit Cc: Bruce Richardson , Stephen Hemminger Subject: Re: Drivers, architectures, processor families, etc. In-Reply-To: <45384262-9744-4975-B5FB-D5D26608DF5B@redfish-solutions.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0255.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::27) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH7PR12MB7938:EE_ X-MS-Office365-Filtering-Correlation-Id: 2a69908a-d101-42fc-cb54-08db9cdb9553 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wxoMrmwGYm8ejKxb88lXVYjTICmQkfsTlnX1GVs8dxwd6J8hrgiYupC4OT/A0ohLGW7/dnenzBiaP0hmzck+UOuj9eh2QqfIzZf2YX+t0n0yMg9tOGAdkovCs1F2GzyDwL7ZbfmSyYZjvMjDp5GdueLBCr3p5M5k84oWUyK83vNuoD+pC2zvtUepvRm+4lL2fi5/IBfBVNL7g4HvbA4/MbHC+J4nMl68X0gw7PHHQbS9Uob940SpVF19NTv3GaC+DVIoYOogcaZ50BXCz/kfj38Lmiicdcliy5H3QNX+N0L1dD9BAlXyDFEWVsoU8u+sdchWhoB7TP8X2U/HV7TJtFhUAfKSekoKQ4rP8ZiZYqVD/SJnKTFAH+NIFHINmRZ2IdOMw2emdlGkhLy8dyZm9QdwSDhpIIODQZgLcRML7CQhcRKqvQn5+HMcrIi2X3swInoYEzjwY5XHHPvUelv4IopDY7N1O97DtNQh7BVPV3om876S4umEdKY2vKByBTBTKtO+pqRNccS6xCm4va3EJg3PI7QVyxNPNXdrNXpWdeNcEYh71Dn+Q+eT+bh5y3zQ4BxekXDOSYEI2WfwKpa0jZotBgLY1f+eRyopMkxSGSGydfNAz0GOlSECLIEuybtI7pO/KqKkSIDsQpW+RZN8LA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(39860400002)(366004)(376002)(136003)(346002)(396003)(451199021)(186006)(1800799006)(31686004)(6666004)(6486002)(6506007)(478600001)(83380400001)(86362001)(36756003)(31696002)(2906002)(6512007)(26005)(66946007)(2616005)(53546011)(38100700002)(316002)(4326008)(8676002)(66476007)(66556008)(54906003)(5660300002)(44832011)(8936002)(41300700001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VmlZWHZBSjNUc1UvRHVqYmlTbEEyWjZZS3B2MDM5aHJIWnZFYW1ORVhoYmVD?= =?utf-8?B?WW5hUzYxMXF1NkVVaHpVVTRoNWRDb2U2bXhZN0NVVG01NTdrM0pyWG9BSWFw?= =?utf-8?B?ZTBBSVNGWXh4MnVVRmphVTlzUE1NTUx6bTdPMEJCUGhYTWNVT1B3ekZhbjNR?= =?utf-8?B?dzMxVSswajZqQVhnaERtOUtNZ2MwTGFZVlYyYUNDaXlKZnRvTlBFNDR5WDdJ?= =?utf-8?B?dnd2d1BjanpzdDRyQ0kzcWIyZFNicmo1WUdscmJHTitEZ2FHeEFnUkZicWRh?= =?utf-8?B?NlFST3VGL1V1ZWptS2hkczE3UDMwcmNaNkQ0VkgrMDZ0YjgzUUF0bjMzR05P?= =?utf-8?B?TW1HZVpiWFVVcGlHTFNyNGVZeElzQ2NRcDNGT3dndHZkcXFmdDRlbERNR0dq?= =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5dlNCUkFCSmUwdjkvVlFVZ0NG?= =?utf-8?B?cGRqcW5nWlZKdmxKYUVQaUpWYWdSek9zUzBjYlFtellXR2xqczBMNEJEczE5?= =?utf-8?B?a1NReXh5Ky9Rejd2TWg0enMrRWNBdTEyN2F2VVdQQzdxa0pCZC9FNHE5UDlT?= =?utf-8?B?Y01GRFlCSmpRSHppTit3ZlJ1dU10Nm0wNlBGbG9CalBhSWVJVElXTDBPOHNV?= =?utf-8?B?Q0dEMHVqd2xQSDhwTDJZSDVOZFgzNEY2SmZSNkovZnh4enRsRktIMk15cWVM?= =?utf-8?B?WTRzTDhvY29ocStZdGVERzlsOVVCckc4eFFPWElFRTNZZ0hza3Z5VzFjK2Fk?= =?utf-8?B?K1dYSHJta21JNjloSDBlRXBSRFZQKzNBMmZvLzVZVXY5VHZPOXFnUDdCN0U1?= =?utf-8?B?RjlhbHRKM3hLbm5Xai95aDNma3lEbjN4d1l3dmdIRndJd095QUJJNjlQeFly?= =?utf-8?B?SS9xNjN1MndsQks4cUVpOWcyMGlIV29SUktPOGZzWmthc2pacXJqTWplUEtF?= =?utf-8?B?MzF5NFUyMVhPeVRNUVhQRWlpSG9aTTBNVGxkd3czMW1FbWdocFp5SjFTR21a?= =?utf-8?B?czcybU5LeTYrYWxrYkEvYW9iNG5wdzYxeDZHdi9ESkxnVWQrWFZ0T2lCUVRh?= =?utf-8?B?MkJ4STdmTWZOT25LYy9TU0w4eWNPK3ltZXBZOHlMMS9oNStsdGNZVEM3a1Bm?= =?utf-8?B?YSsxaEhiMHRPSVg2RUVHUmdtcUE2dm9xekw4TjlIWlp5MUtKSjNYQzNjYlpK?= =?utf-8?B?Qy93dmxKekwycFUzdzd2REpkQjdwSVpGQmhtbXI1Z0o4M2JQaXNQTlVxNG9q?= =?utf-8?Q?1yJng7HJX/CX3KZ1ivMLrzKmM?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a69908a-d101-42fc-cb54-08db9cdb9553 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2023 15:31:52.7919 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: m6QL117XrkMsNFFd4WT6h7bMX2xXRnJwEwpkNhOwLgqXZgZebs8x+CUDp8m403CE X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7938 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 8/2/2023 10:49 PM, 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? > Hi Philip, DPDK builds x86 architecture as natively, and rest (arm, ppc, riscv, ..) as cross compile and doesn't select drivers based on architecture but tries to build as much driver as possible. But there is an OS based filtering, like some drivers are disabled if the build OS is Windows or FreeBSD etc.. As most of the devices are external devices, unlike on-chip devices in SoC, it make sense to build them into final binary. Still there are on-chip devices, or there are combinations that some devices can't be used in an architecture but still included, to NOT have a finer granularity here helps DPDK binary distributions also helps build testing. There are meson build options to limit which driver to built in or not, if there is a specific embedded platform target and if binary size matters, these arguments can be used. But we don't have a generic config or logic that can be used for OpenWRT builds. Thanks, ferruh