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 5574D4236A; Thu, 12 Oct 2023 03:29:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C57B040E0F; Thu, 12 Oct 2023 03:28:11 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2093.outbound.protection.outlook.com [40.107.95.93]) by mails.dpdk.org (Postfix) with ESMTP id 262E440DFB for ; Thu, 12 Oct 2023 03:28:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FtHBa9NjkhlV/sB3BKeK/jydh6AQK0cMUeXDIVsECXHC0IC6Z+uXgkfN8qXc9lWiqhRfUbjpX1vBdiUxdN3j9NZYcChWDh+IS9nM4bSPoioiVukZdclrmfhUZlG+6QoaYpOTJkPX91jWXjAEBpQTd6RiL6o4gb8Zq/kXGBfRoSI/9Zuk7zgF1Ynfj6UkDFNuT6IkgZkHFNXUcE1OM5+a3c68SwlQv0FwkyEPdy7jdyP89QQr21ja+uyVO2XI2LwaYw2DTXS2tlYFw+6QmucfXHH0aj08yXre3Bo333SK+lYdCoMYaAXjbl0ltd0sPeMaWMiP528uAi5P/U/67fQCRQ== 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=LrRBHZeu1O4WkWdhX6W1l5kC6tOn6yq/U19U6110kWA=; b=VKJd7M52i3GwFLwdZKjGLKVQUv6SguegeJ4gbkWLcaybtFkKAj9sx8uE8s/3VCBPZXEm+JCx1tvDaRmD5WjAxhJwiFOlMCyv4bodaRzPh5K4CT3Qn8YILaiJb08/y0nrPMM+1UaUud8PVLfS3SeP8bXX8aCicOaWJ8ZwRN7tDmaNkZSDvy3TaGj4LdJ9Pqt7T1Zt/ShvtS8Btn+MDNipD0ikPq3ST3l++Vy+r5kkq4aI68NHzxPQILCLg+k7f2MsS79TG5hxRbt5hb/YWbGKlNjuASmiJGt+MGWu6M15HlLr95EUG19H1fSDQMS80tWIgBl5N/2RtAel1LLjb8w42Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LrRBHZeu1O4WkWdhX6W1l5kC6tOn6yq/U19U6110kWA=; b=Zk5CH+iTILNJEIGcPdgc7Djx43Hlk6CvTzxjH8VhTP8qRILQTtQiAYhbPg3bLgm94vGeDUVX86cWeTR1fUQezOS4H/8ytS8JL+1FQEz3q20sYX5YpQQpcoziO9JCYohqFIyDokJ5jK/SB458Ca1q5EJfVqegn/fnOLFSMHcmN/g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by SJ0PR13MB6111.namprd13.prod.outlook.com (2603:10b6:a03:4eb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.42; Thu, 12 Oct 2023 01:28:07 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::2d5:f7d6:ecde:c93a]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::2d5:f7d6:ecde:c93a%4]) with mapi id 15.20.6863.032; Thu, 12 Oct 2023 01:28:07 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He , Long Wu , Peng Zhang Subject: [PATCH v2 11/11] net/nfp: refact the meson build file Date: Thu, 12 Oct 2023 09:27:04 +0800 Message-Id: <20231012012704.483828-12-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20231012012704.483828-1-chaoyong.he@corigine.com> References: <20231007023339.1546659-1-chaoyong.he@corigine.com> <20231012012704.483828-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: PH8PR15CA0015.namprd15.prod.outlook.com (2603:10b6:510:2d2::23) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SJ0PR13MB6111:EE_ X-MS-Office365-Filtering-Correlation-Id: 0cdf5b75-01d2-484f-5509-08dbcac27d29 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ow9oFouCcD25GUGYYTwDmbXEQUiH1cew+WcoXFlTY+F7XCfYwHA1tFWBXkdajlFlblSTaL+V85ZgNfQB4wajwoYonIv9yHvE0oZg4fG+nZWAXbltskplErC6ZhMlxGIDEL4/mxPGDLAPQJKyIV8MGg50kNMEu55DIRLoZR5Ls7UhZzonJcnNRjIO82ZtXoI+sljBbilzENkTP62YZKNM+qK5pVA1kPAhWKRq0X4zYNXeGCyvdzbuTTQU8yVC9q6BLLV2N4o6PujXOB/A5HJkjS1SaFRKebT5pDDSLwqI/biMfCUL7VTd+kbAXM2IWE+PjwPKC6KAJMDce4E8CcPZC+c0Eci7AsG3bPxRHh+YoBoUCjuRLClPQbAZ6pSHb79BWRKLyjlY9GnaF+bZzrAlxBYMdqbXCgRcfIYgrkvueorFTwJVY2J2caFSduCa+X4FUlJpKQ4ESTKR3e+R4KWX6Yb7+GUFN878XG/sE/0iVmdmAtZzh3g7c3Dh1ot1csoBp1EVmaMs9XLwtoyXB3rsTvLvD/7B2lg5aZHH/M4X6Fx1eGUkCIgvfGSuDsnxm9u1duO4EGFXsw8GoqsNQcShjfEz+Fu6ve6kVTzqGf0My93DLXUqiAa8gv9lnzxYHxhXDkvk+6SeCY1P+fb20vqGUl+rpOf0B7szRVjLHwWLoG8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(366004)(136003)(376002)(396003)(39830400003)(230922051799003)(186009)(1800799009)(451199024)(64100799003)(6512007)(107886003)(52116002)(1076003)(2616005)(6666004)(6506007)(478600001)(26005)(6486002)(83380400001)(44832011)(8676002)(2906002)(316002)(54906003)(5660300002)(41300700001)(66946007)(66476007)(66556008)(4326008)(8936002)(6916009)(36756003)(38100700002)(86362001)(38350700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?o9Eu8E3XhPaiUMN5sN9us7xpgYQUG40mQRtYqofmZf0AOdhW72cH8MHwY/fg?= =?us-ascii?Q?Cwg3OLkzn/KuVd0tlauss/hQVupkCdjf4k7+n8skmurRzBlW7RYLAr1KhuBt?= =?us-ascii?Q?D6OKLuB4IYIKNoSb12LpGPLpIBh+QldmJdfrUwCOdSYK61KawZKjQMMtWHEp?= =?us-ascii?Q?birvNYHcSmNoXeSDUuWkO9bw+HyOg9v1FAqsIHpQ1jVjYepx7xX/fuHbHoE+?= =?us-ascii?Q?5PwAa/STA2dt9jLO4Ce7ucK/Ma6mxcJp4szghdfm4b8oGaRR9GRL3RRIKnPM?= =?us-ascii?Q?KoJAWxHijNmdwjpfnHgPXbizSjj6se+UoJVb9b7N96Y39j9a3MvYJ+k0ugUi?= =?us-asc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S660/ou6GcoCU3gZz9C/f7Ge+TvL0/?= =?us-ascii?Q?3rlGc+1SY43jizys64shzvtpFJ1N5qmLTe/GJV3SmDdI9BJ8jCVxDn5stJwc?= =?us-ascii?Q?1v+wToLhwj1WaoL0F+DZHYbpwEBs6Gr8Gxw5PgzvFtgsiStqw4ivmgvGvsvd?= =?us-ascii?Q?zkL29ViFR5GZOlyk7MNn9CmBsF87e4fe+f5xuPnOUHgit8RUoLIzgraUdcaO?= =?us-ascii?Q?vqzunBYFwUzOb9c7CiGenXOWts8//Jin3iVd5GEsB2RKRgcb3qYTu8x4AX2B?= =?us-ascii?Q?Y+IFi4DNmLPhJh+jOrnhErU9ke1xs33hWRUoJWIsMBqzh1gUuDymRwkBVx3c?= =?us-ascii?Q?aNr9RtCIqw2zQ3FcqVUQBk3+vmu3lsXg1XQSzF4Xj3oWLrgAwtfuhx8mcZtc?= =?us-ascii?Q?3w=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0cdf5b75-01d2-484f-5509-08dbcac27d29 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 01:28:07.8386 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Wt8s1ZHlJc3Or4VK+f9V21MNN0AiCsaPnftPY0oO/NArAIhHGlZk/OfxPE4KjRNSd3G/pi46uLY2mBih4O48OdB2XinqNbCn545ZzLeHiro= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR13MB6111 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 Make the source files follow the alphabeta sequence. Also update the copyright header line. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/meson.build | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build index 7627c3e3f1..40e9ef8524 100644 --- a/drivers/net/nfp/meson.build +++ b/drivers/net/nfp/meson.build @@ -1,10 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2018 Intel Corporation +# Copyright(c) 2018 Corigine, Inc. if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false reason = 'only supported on 64-bit Linux' endif + sources = files( 'flower/nfp_conntrack.c', 'flower/nfp_flower.c', @@ -13,30 +14,30 @@ sources = files( 'flower/nfp_flower_representor.c', 'nfd3/nfp_nfd3_dp.c', 'nfdk/nfp_nfdk_dp.c', - 'nfpcore/nfp_nsp.c', 'nfpcore/nfp_cppcore.c', - 'nfpcore/nfp_resource.c', - 'nfpcore/nfp_mip.c', - 'nfpcore/nfp_nffw.c', - 'nfpcore/nfp_rtsym.c', - 'nfpcore/nfp_nsp_cmds.c', 'nfpcore/nfp_crc.c', 'nfpcore/nfp_dev.c', + 'nfpcore/nfp_hwinfo.c', + 'nfpcore/nfp_mip.c', 'nfpcore/nfp_mutex.c', + 'nfpcore/nfp_nffw.c', + 'nfpcore/nfp_nsp.c', + 'nfpcore/nfp_nsp_cmds.c', 'nfpcore/nfp_nsp_eth.c', - 'nfpcore/nfp_hwinfo.c', + 'nfpcore/nfp_resource.c', + 'nfpcore/nfp_rtsym.c', 'nfpcore/nfp_target.c', 'nfpcore/nfp6000_pcie.c', 'nfp_common.c', - 'nfp_ctrl.c', - 'nfp_rxtx.c', 'nfp_cpp_bridge.c', - 'nfp_ethdev_vf.c', + 'nfp_ctrl.c', 'nfp_ethdev.c', + 'nfp_ethdev_vf.c', 'nfp_flow.c', 'nfp_ipsec.c', 'nfp_logs.c', 'nfp_mtr.c', + 'nfp_rxtx.c', ) deps += ['hash', 'security'] -- 2.39.1