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 7DE35A0546; Tue, 25 May 2021 08:04:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F27234003F; Tue, 25 May 2021 08:04:46 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50060.outbound.protection.outlook.com [40.107.5.60]) by mails.dpdk.org (Postfix) with ESMTP id 85B164003E for ; Tue, 25 May 2021 08:04:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a+/0my3oO3wmKHcetro3PjTr/Z5XhJTHgc3XDwuaUqc=; b=WVUvyhlRp4J7ikYv2f8ZP3bV7z3KDssvrSJzCJJ5tlQmOVqd2wJl2imiy6YtO2rDenn7cjtYsvUphaJXd3iF1qOFEztgOevPuYOkvpDdDfq3XH4vwXEQzB2TeJGcXrp/fDLmjTA9kwjd4bwkOlZMNnKX8s+8Kv4NJw44747HUrY= Received: from AM6PR04CA0041.eurprd04.prod.outlook.com (2603:10a6:20b:f0::18) by AM6PR08MB4136.eurprd08.prod.outlook.com (2603:10a6:20b:a3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20; Tue, 25 May 2021 06:04:42 +0000 Received: from VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:f0:cafe::6d) by AM6PR04CA0041.outlook.office365.com (2603:10a6:20b:f0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23 via Frontend Transport; Tue, 25 May 2021 06:04:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT032.mail.protection.outlook.com (10.152.18.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Tue, 25 May 2021 06:04:41 +0000 Received: ("Tessian outbound ea2c9a942a09:v92"); Tue, 25 May 2021 06:04:41 +0000 X-CR-MTA-TID: 64aa7808 Received: from d3da19ea0b94.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4E3C3D46-90E6-4E75-8C67-A1815FB9B789.1; Tue, 25 May 2021 06:04:30 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d3da19ea0b94.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 25 May 2021 06:04:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jjlnAwweSlDgfTNs3HVtQ1QNEMwm1XjMgWtP01z/QecsIhYuPWkicCxFr0eo0Iy3LGU0uSp6aHHZZa2f8DO8tOgZle/KECrZZTs5UDIRqKi0KykmDRb90NO7Z4zdhVs7PhZntxs3lOhPUHxHldCl5Iefmfy5akosYVswsN4fH3SHRNhj3ElWYIvX8bKACZ+Fme+9pCBzyiI3KPpF/9XyThQO0Lshga5a4LXFcD52lX9A+21+zjE8e8TubH0D3OROTYZn2RYQobxyya054moEX7EoVZPqgz7JF6NgO6RpPDgYLX1p6znR/aixcq9aqN8gzCtholMyXChFoLaR8ywMcw== 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-SenderADCheck; bh=a+/0my3oO3wmKHcetro3PjTr/Z5XhJTHgc3XDwuaUqc=; b=Gw11edW+X+PRq1G7mtUGyo60BWoyDTEmBwa45lOMeVon0KXUHlBHAjrAbtfIQohv9XZSl7SqWu2JpQyefmuL84kQBkY/jzcaivZLafyGN3pE09hWKBg36e58fNynhKOfzYPlrSvJ53PbephKO+uGmVH+ZNx6bNEhQnuP/xcCa2KhLCwjZ619hCuXcfw9ZbhLVpoRVt8kjhnotGsXixgp52A2TyAxLtkioAwzOWG/+fz8x8tuYPxQOH4AnQkyASylrswa3f7tZ7whZpq7G0diL0WkLIDP0vb1PfpQjam5ypyCbRVOaw090jBiqdjlPXVlEpFoZQayBevuq4ku/lPjUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a+/0my3oO3wmKHcetro3PjTr/Z5XhJTHgc3XDwuaUqc=; b=WVUvyhlRp4J7ikYv2f8ZP3bV7z3KDssvrSJzCJJ5tlQmOVqd2wJl2imiy6YtO2rDenn7cjtYsvUphaJXd3iF1qOFEztgOevPuYOkvpDdDfq3XH4vwXEQzB2TeJGcXrp/fDLmjTA9kwjd4bwkOlZMNnKX8s+8Kv4NJw44747HUrY= Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com (2603:10a6:203:9f::22) by AM6PR08MB3014.eurprd08.prod.outlook.com (2603:10a6:209:47::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23; Tue, 25 May 2021 06:04:28 +0000 Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::e890:2ff8:8cdf:83b2]) by AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::e890:2ff8:8cdf:83b2%4]) with mapi id 15.20.4150.027; Tue, 25 May 2021 06:04:22 +0000 From: Ruifeng Wang To: Chengwen Feng , "thomas@monjalon.net" , "ferruh.yigit@intel.com" CC: "dev@dpdk.org" , "jerinj@marvell.com" , "viktorin@rehivetech.com" , "bruce.richardson@intel.com" , Honnappa Nagarahalli , "jerinjacobk@gmail.com" , "juraj.linkes@pantheon.tech" , nd , nd Thread-Topic: [PATCH v8 2/2] net/hns3: refactor SVE code compile method Thread-Index: AQHXUKBzaZK0JuaI6UC3k+QLMbjYdKrztdsw Date: Tue, 25 May 2021 06:04:21 +0000 Message-ID: References: <1620808126-18876-1-git-send-email-fengchengwen@huawei.com> <1621862602-51782-1-git-send-email-fengchengwen@huawei.com> <1621862602-51782-3-git-send-email-fengchengwen@huawei.com> In-Reply-To: <1621862602-51782-3-git-send-email-fengchengwen@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 55CA5A873D276843975D785A96DA509F.0 x-checkrecipientchecked: true Authentication-Results-Original: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.113] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 30a65bba-c41b-4da2-27e4-08d91f42fcd5 x-ms-traffictypediagnostic: AM6PR08MB3014:|AM6PR08MB4136: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7219;OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: KJZut/q4YGzAPlXYs7IYwt+qmp6I5pwTcEKO758GcF5K/eCzOH6cLPprCjr9tlQCAYvhK3imHo6cmPUZePMQfdU4zYkrO0kIG8sdbNOa4NhPUtDvD9zz7le8MfAx/doe8odmQiOFVgQdO81hFZdvuhI2cevjdnWuoSSadnJNtchJGBTDXMMphxSV5hSACfC3V9q7LtGUqprkJdYqAy1IN7je+xqOufqYD7MJYxjKwY0p98JSn8TiZ2Te2yrTmG6Ufa5kiwEUhrn6xTJ3OXnm+1E4jMwOCLh92wGzZnBc0N1UweVuOmmaxtFuo803KYfD9Bd0PKfMJUSJSXH8AT/M4H6G3yeqspB1UmaGhyGKrfF1SCu5WqVVZJqAs+FaX2xdoq+TOTIEIpqNNZFkZ2dpc8zqjeKN3j9+6vOHhxVfMrWhu9EsoMBSMLvYWTIKAGG/Re12CaI/ajSaNp6+PZDs2uW1lxkXuM2fSLpP5gc2PwFWzjI4iyMU/Dc+AeOZpw9vWqPnq0axrbhkb0meNlQV9WtbCiT2/Jq0SZdysBGqJMbfPRWz1talca5KA0bkDAov6leJ404v/lewKnMT9SyDfiFOyJw2uSZkOn/db79osVTFegfO19SRd8rPvPBS098+/JSLett47ToNlx1Fc9HuVfZWg9vRc6c68/hVIhRY9x8M8Q+dssHVAh1GkMJO3YA6O+GrV1HJAsNTKafxBMEDok0gKIFJNGcPQKhIwFhmgkg= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0802MB2465.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(346002)(366004)(39840400004)(396003)(8676002)(9686003)(53546011)(6506007)(55016002)(66556008)(7696005)(64756008)(478600001)(76116006)(26005)(66476007)(66946007)(66446008)(83380400001)(52536014)(966005)(2906002)(110136005)(38100700002)(54906003)(5660300002)(186003)(4326008)(71200400001)(86362001)(33656002)(122000001)(8936002)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?CEJfKUSrg/7KlDCvG3L/MnQzCHjDoXNiSjC51yp5FBLly9I7fbzY5FmJDBy5?= =?us-ascii?Q?pzMgxRzR/P7aObkTTE9JxpkmTnJ9KklWqwvyc4ouX+2W5+DeS4JezA7j9tKy?= =?us-ascii?Q?yF532U+ecVuUUFXXPABwQjUEovmassByTmuKi/MEzZrebFB58Ot3QhNvkoh9?= =?us-ascii?Q?H41AZq02wb5VjXA6DBOuCpIW4zXCZSMQnGuiGnwFB8EaDnr/8ORMKJ48CzB0?= =?us-ascii?Q?yGjNEM1sGWIyj4hSFLfuaxp/AZnlRpivRV232NO/4ze6cU5fV73qlywEb6Kc?= =?us-ascii?Q?yYQbqK1bYwM0GeHJya7sV5+0oSJtXEYY1fifrHyMMav5GmL/1RaWPyPPDInB?= =?us-ascii?Q?gZ6TjXOyOygKV1HXYkM/RATcGY6gpzwobWu29PhtsRq1YqDJKHqFo2FkMNez?= =?us-ascii?Q?RQGIhYQqs46KLF63BNItbSqAT7KaQOme7HXcw3GcOgHQUJvgyqmerH6O/Ps/?= =?us-ascii?Q?lau6o6hytIZIkcVNbUSkw9mToQH0zkHIK6bnOQ+eObCY1rM7zV/gYPNTBkck?= =?us-ascii?Q?U4ssZXZ5OA5Wmv5HtudUzW2ouwnfP7TIPkhORsvLzmi8c6HjKdCbGGGxBfQQ?= =?us-ascii?Q?dSfCiPS7w8JhIWM3vxF5dYH5RJUqjd08KmWGomIgTScy+F0Ml6wwuaT56Gw8?= =?us-ascii?Q?Oo8TfYsqrvBl6kpH9WpMwK0KMkWhmLkdPWY3PrOCmNPZJ7CI3pR6kWvc+9A7?= =?us-ascii?Q?By0beFC67fEcwKtSN5phudf5awNnXSmMIODi1RmeTEBvDOUhtcYDF3bfC9qx?= =?us-ascii?Q?s+LZuULH0dZaGvniSo7441PJvc0JFHb59u6xHmCtALZ9g0p7dgSSLe+X0C9u?= =?us-ascii?Q?iNJQ4xmZddGkOuIpGwJkelA2yereik/Jb4AZF7aFgJEmmRb3WP/PGN/QFqO/?= =?us-ascii?Q?xgZ5s677F97cmqvU6yKWd9S9YUrJIJEcjX4jVC8qlKz2UXOFvmy0yjdr+HXX?= =?us-ascii?Q?hF3liL4JaF0vIAiLNylLaXRuz9kPFbt6fb2vEahV1s/YPD9967Z4AHGeQOQ4?= =?us-ascii?Q?/m2431s16+bjOxa9DH5zh25cjrijIM6y7TuYahux7VFYkl5Eyc2eSD12Eqj/?= =?us-ascii?Q?klWFVwBqE8t1zXtWXveeLxXoXyN0MWpOuChpW/rBasA95fKH99NHp6mrfm26?= =?us-ascii?Q?NQ8G8GVdeLeybgbtZyG4YkoGPARqPSmxFhPgj2z9TH7+azevyTJZTl6KHyuw?= =?us-ascii?Q?WIIRed/jkmMotuf5RtMNebeu+BGvFL2P/PiONmmMYyqrc1R4ccARcLufqkb+?= =?us-ascii?Q?KSj/n57NAsnqzrPra5vei+tpc/FPE8FDCCSqVRwkUKqE7l/3JZo2bn2Nuwgs?= =?us-ascii?Q?sz6+zRU0ms5zPJuMqrPD/afk?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3014 Original-Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8036b842-c8b1-4fb9-554d-08d91f42f0f2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GmsY5oHw1aexU2r7vaSN96Qsf9fStvZFHMJDvcTGmQgW0Zlu3rlVkvkRPgxLALYnf0/g3ybkJrzbIgOQEIilZ8tFHBkWCoWKNSngN12Hb7t3Yqie9Lf3d+YRXPKpmSKgdQ4VjdqXAr4atdTJkcmSPzwNsc3hcthZZhiUY5800hUuHNi9J4Lh/f8bYg7mkQWUOXl7Lr9LhOtU9BMH5Hl0AVAQkbIxMylrs2BXQ9rqbwCBmKNvT2b4I33010gTT2760pQulZmau4vXrB59J6208NM1Lp7cc8bgMeYLWaKRYm4PwEHSEfTYiHfdcJnsT1BGANU06P+LOvzuzibWEzW2UohXB4OgMiyenerY7T1YluB/rr55vM4yCgaPXQ3msa2dIcPVIrgyy3Smkd1RegbIBSIsZ2XzAMlQb46RFsB9vr19Ore3fdBqu0vghN6AE2y1RU7sZpPTLzPjD5FsRjqgLEDJQ+2hDpmTsA1Qe/OexjFI4210xRVwsKQZrUVteidWvkF+yID0o/t/mEx3SeDW9c+vYnwkjSVQP9/lWILmxR4Y/uCIIpZx2UVKAu9B2tV425hToUuNS0zlBZ4MY1Jwd27Dvp22w6uoyuQRvph8BQhVB0vBbIbcLu5pIIqNcfR45isrGrotQarjH34d9ZlcrXRAxJTGGsxHOg0r/FXz8ODyOf3xxjA9BzQmFSOd2pkNccy38D/noj1ZdneqMg7t5qDXq1mUWyZXi0jxNSG1PQucmD6LtbH3n2aZYbZh9YboUoqnmz+9X1k4nPuGXCRLtg== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(136003)(346002)(396003)(39840400004)(376002)(46966006)(36840700001)(8676002)(70586007)(82310400003)(336012)(8936002)(36860700001)(47076005)(55016002)(966005)(70206006)(9686003)(186003)(478600001)(26005)(53546011)(86362001)(2906002)(54906003)(110136005)(6506007)(83380400001)(33656002)(4326008)(316002)(81166007)(52536014)(7696005)(5660300002)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2021 06:04:41.8476 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 30a65bba-c41b-4da2-27e4-08d91f42fcd5 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4136 Subject: Re: [dpdk-dev] [PATCH v8 2/2] net/hns3: refactor SVE code compile method 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 Sender: "dev" > -----Original Message----- > From: Chengwen Feng > Sent: Monday, May 24, 2021 9:23 PM > To: thomas@monjalon.net; ferruh.yigit@intel.com > Cc: dev@dpdk.org; jerinj@marvell.com; Ruifeng Wang > ; viktorin@rehivetech.com; > bruce.richardson@intel.com; Honnappa Nagarahalli > ; jerinjacobk@gmail.com; > juraj.linkes@pantheon.tech; nd > Subject: [PATCH v8 2/2] net/hns3: refactor SVE code compile method >=20 > Currently, the SVE code is compiled only when -march supports SVE (e.g. '= - > march=3Darmv8.2a+sve'), there maybe some problem[1] with this approach. >=20 > The solution: > a. If the minimum instruction set support SVE then compiles it. > b. Else if the compiler support SVE then compiles it. > c. Otherwise don't compile it. >=20 > Note: this patch also fixes compile error with gcc8.3 + '-march=3Darmv8.a= +sve', > the error is arm_sve.h no such file or directory. >=20 > [1] https://mails.dpdk.org/archives/dev/2021-April/208189.html >=20 > Fixes: 8c25b02b082a ("net/hns3: fix enabling SVE Rx/Tx") > Fixes: 952ebacce4f2 ("net/hns3: support SVE Rx") > Cc: stable@dpdk.org >=20 > Signed-off-by: Chengwen Feng > --- > drivers/net/hns3/hns3_rxtx.c | 2 +- > drivers/net/hns3/meson.build | 20 +++++++++++++++++++- > 2 files changed, 20 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c > index 1d7a769..9b2f082 100644 > --- a/drivers/net/hns3/hns3_rxtx.c > +++ b/drivers/net/hns3/hns3_rxtx.c > @@ -2808,7 +2808,7 @@ hns3_get_default_vec_support(void) > static bool > hns3_get_sve_support(void) > { > -#if defined(RTE_ARCH_ARM64) && defined(__ARM_FEATURE_SVE) > +#if defined(CC_SVE_ACLE_SUPPORT) > if (rte_vect_get_max_simd_bitwidth() < RTE_VECT_SIMD_256) > return false; > if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_SVE)) > diff --git a/drivers/net/hns3/meson.build b/drivers/net/hns3/meson.build > index 53c7df7..aabcf23 100644 > --- a/drivers/net/hns3/meson.build > +++ b/drivers/net/hns3/meson.build > @@ -35,7 +35,25 @@ deps +=3D ['hash'] >=20 > if arch_subdir =3D=3D 'arm' and dpdk_conf.get('RTE_ARCH_64') > sources +=3D files('hns3_rxtx_vec.c') > - if cc.get_define('__ARM_FEATURE_SVE', args: machine_args) !=3D '' > + > + # compile SVE when: > + # a. support SVE in minimum instruction set baseline > + # b. it's not minimum instruction set, but compiler support > + if dpdk_conf.has('CC_SVE_ACLE_SUPPORT') > sources +=3D files('hns3_rxtx_vec_sve.c') > + elif cc.has_argument('-march=3Darmv8.2-a+sve') and > cc.check_header('arm_sve.h') > + cflags +=3D ['-DCC_SVE_ACLE_SUPPORT=3D1'] > + sve_cflags =3D [] > + foreach flag: cflags > + if not (flag.startswith('-march=3D') or flag.startswith('-mc= pu=3D') or > flag.startswith('-mtune=3D')) > + sve_cflags +=3D flag > + endif > + endforeach > + hns3_sve_lib =3D static_library('hns3_sve_lib', > + 'hns3_rxtx_vec_sve.c', > + dependencies: [static_rte_ethdev], > + include_directories: includes, > + c_args: [sve_cflags, '-march=3Darmv8.2-a+sve']) > + objs +=3D hns3_sve_lib.extract_objects('hns3_rxtx_vec_sve.c') > endif > endif > -- > 2.8.1 Reviewed-by: Ruifeng Wang