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 2F1F5454A2; Wed, 19 Jun 2024 04:59:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B60EA402F2; Wed, 19 Jun 2024 04:59:34 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2112.outbound.protection.outlook.com [40.107.236.112]) by mails.dpdk.org (Postfix) with ESMTP id 81B974014F for ; Wed, 19 Jun 2024 04:59:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RcpZ9SEhpjJsLAOcZFn/gtN/knrgNj8q1ASuWsV5BEQ1KGepCr9iksQe4ywTO/Ppsb3o2TGg80L+7NkBsfFc2Wax580RSYjw+glUkN/J3K1mGPmfp6nKZm6nwGa560Ch8K4ge8rYT3VJPYa16BbxSxn94Lvl9ppvis3g9qKz5wBIkvbW6i55OmY4WbOvZv+DcIMd9UqmOra0MQbbQqImAIoue7rthnPYr+YlHp6a1LQBUO1B+IyNEpbzXWyd9Md83UxDZAfgbEZsXW5fSEpaq85wncRN4kC+hK+Plhw0To/aGpPTRyMlD6B7jVR7SPdxNFBm+od2SWFiV3vj46Bnwg== 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=vFpZ7MurGlWOAHatm/Vm3u6T6VkolCU8HEXb6iZinks=; b=MkfnOg7qMlWoChq3wLmzkg4EWjvaGzNCnEahmNC/Xn9PRyVGv2e3OYriDmwuxvdTv+uTj66NshL7uiSOJ2KoTjaVmnDrrw4phTnYVHEbWcHmf55QZEZjVIABrCBF3McJQJVJiiXQBb0p5XjzH2EK8gVGmtBOVH8uQOPLediiV1oL8H3Mo3ud8cWdZlpb0mnptr3qSXEikMiudXWJ7j8w+1FAAidISsEo74qy1LMbBWkU9jwTbIG1B2V+2KcM0h9Q1790+cxJWNLyK2iNCBBrinbXXrNhrxIfByUKNOyP5sLcQjjwAoTTlgR5EABI9CIPQ3eyLnWSN41dkar5MSptxA== 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=vFpZ7MurGlWOAHatm/Vm3u6T6VkolCU8HEXb6iZinks=; b=PcN1yGGKbor1nFBES3BtN1Ie5lDE6oBSTvl988uZPVUy9O0F9sPmpogNVtxyFr6G589AuuolDrgnhN2MF8ZdVdxsfUkB8VcCNhxZoIAwXoYFXm44RJ4GXfFus9y0vmU+IeK1NE2o7Y23ldo2xzRzjSRe6QvrWekn3/4zqHRTly4= 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 SN4PR13MB5775.namprd13.prod.outlook.com (2603:10b6:806:217::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Wed, 19 Jun 2024 02:59:31 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%4]) with mapi id 15.20.7677.030; Wed, 19 Jun 2024 02:59:31 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 0/4] support AVX2 instruction Rx/Tx function Date: Wed, 19 Jun 2024 10:59:10 +0800 Message-Id: <20240619025914.3216054-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR13CA0189.namprd13.prod.outlook.com (2603:10b6:a03:2c3::14) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SN4PR13MB5775:EE_ X-MS-Office365-Filtering-Correlation-Id: 84e66891-1183-45e1-978f-08dc900bd75f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|376011|52116011|366013|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?O9jmzwQvQii5DzYz7SOVLzKQ7CxN0aeOv1sbCF93gtxYr+McZ0jnJIx5Oele?= =?us-ascii?Q?9xwdGPAZttfv9kFsT/6J0CRYZyJLLLH5tc3ryuyE2Gw9SCt7H/JhhhbiLdwX?= =?us-ascii?Q?ibfPN9IBC+8F89frKOlUDnCXiDXWY35GVHlixWq1tdEepPM+/+EtUqR1DzNi?= =?us-ascii?Q?dxW5zfRe6U9ew0848645C+g0plV6ZYCcf9tdu5JTn41S8UjMbwEJ+tfOsG+O?= =?us-ascii?Q?AcPjoJLqohKhFD/JBOz/RSQ4CQo6+1YZgAznP2pekjRU52xm0kMewkNTouH1?= =?us-ascii?Q?wkixEXY/4IK9nz6JlrF5ri3ToZFoT3fiOY5KVM15lDEaqTr4P7gdI8XWHoIo?= =?us-ascii?Q?RlSu+vHRpBXy2Q5CJ9P+rXzvMO9eNdPdYZKIR5cJF/6CZdEiHV3B5Br6i6sF?= =?us-ascii?Q?p0yIrTMkRQN/OMAdFM6/rvmeAEYxpEI2Le8X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ii?Q?hjZr8JWV1BncDzvSh5Kh/TaBE6+7fSbIjsLYwIU6ST4Nxx/5JnUoPTWWgvGn?= =?us-ascii?Q?pGT76p0=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(376011)(52116011)(366013)(1800799021)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?8sT/SvLGnmJhRmOsbMNe45HwZIVXoqwYCWyf+7k4eDk0y5Pbir7TLGBFlM+y?= =?us-ascii?Q?URxVdlgYOLyPLSfjPY2q3s10xhKxdNSWET0AIu9zvszAipZkyzfgkMS3Jmn/?= =?us-ascii?Q?sLdfK3WszroTwLUP6eH2x9slMAgK7vTS6ngkfiL1wq4aMSB0KN4k651JOzFG?= =?us-ascii?Q?s8dOKchL4C0LWaHKQJZ2ZMd53scRO0evPn/YOFPxvE9JwCLexz+sFTFbibKr?= =?us-ascii?Q?glE9zXYrFzegC98KfFEFRnYBs0qsD3QzesNsjfkpxMZWyjwlh1P6K45pr/hy?= =?us-ascii?Q?ngia84cR1NZLqHSthDjM3sYZFg7iFl3a82YLMHgDAvVkTqXP2HzMnmqmafrm?= =?us-ascii?Q?FWhqfx8gFtXqmBQ5lCS/Ug6tEr8pPlQZG+8e/Y2R31V5HLUiT6kD4uqQ0gI8?= =?us-ascii?Q?igbivhKHABTFL9pDv1aQIgquGZVWEfNvA6uH5pZFhSDrNs8OkNRCf1vP7Aco?= =?us-ascii?Q?1e5CN3/WEHHZW0GQmRccheJzwthVQ+dcCg+ulJl8UK4IZPVonEeK7T4frJPn?= =?us-ascii?Q?HJMJSSY1+eGSGy6vybT7iGzC5hP41OROkMVuJCiprJWUjXrJjed26m2TMv+B?= =?us-ascii?Q?niFtSuqKsg9Cd1rt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q?VcroVvycsOcTR1XFY8ukKvpwPC1WTRv2ZFnA3AyHau05tVZ4m7bLxbGwkumG?= =?us-ascii?Q?cDeEPOKI41U2zk8md/EQ62nvoCi7EyEXxVJlSH0F6YcYmKU3GvOYUBe78OB7?= =?us-ascii?Q?Yg=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84e66891-1183-45e1-978f-08dc900bd75f X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2024 02:59:31.4806 (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: jREdiw9BJ3x01sYm41pE0UaPh765cTRwAOgfZXzMjUmZV5KvWYwuGMScBzHrbbEwupHJtDrs0dbqhR+iSTg8dqCCdhwnnYy8vFrmn+8kW94= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR13MB5775 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 This patch series add the support of Rx/Tx function using the AVX2 instruction. Long Wu (4): net/nfp: export more interfaces of NFDk net/nfp: support AVX2 Tx function net/nfp: support AVX2 Rx function net/nfp: vector Rx function supports parsing ptype drivers/net/nfp/meson.build | 15 + drivers/net/nfp/nfdk/nfp_nfdk.h | 46 +++ drivers/net/nfp/nfdk/nfp_nfdk_dp.c | 55 +-- drivers/net/nfp/nfdk/nfp_nfdk_vec.h | 36 ++ drivers/net/nfp/nfdk/nfp_nfdk_vec_avx2_dp.c | 432 ++++++++++++++++++++ drivers/net/nfp/nfdk/nfp_nfdk_vec_stub.c | 14 + drivers/net/nfp/nfp_ethdev.c | 5 +- drivers/net/nfp/nfp_ethdev_vf.c | 5 +- drivers/net/nfp/nfp_net_common.c | 2 +- drivers/net/nfp/nfp_net_meta.c | 1 + drivers/net/nfp/nfp_rxtx.c | 12 +- drivers/net/nfp/nfp_rxtx.h | 9 +- drivers/net/nfp/nfp_rxtx_vec.h | 17 + drivers/net/nfp/nfp_rxtx_vec_avx2.c | 275 +++++++++++++ drivers/net/nfp/nfp_rxtx_vec_stub.c | 25 ++ 15 files changed, 900 insertions(+), 49 deletions(-) create mode 100644 drivers/net/nfp/nfdk/nfp_nfdk_vec.h create mode 100644 drivers/net/nfp/nfdk/nfp_nfdk_vec_avx2_dp.c create mode 100644 drivers/net/nfp/nfdk/nfp_nfdk_vec_stub.c create mode 100644 drivers/net/nfp/nfp_rxtx_vec.h create mode 100644 drivers/net/nfp/nfp_rxtx_vec_avx2.c create mode 100644 drivers/net/nfp/nfp_rxtx_vec_stub.c -- 2.39.1