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 96AF943C7F; Mon, 11 Mar 2024 03:50:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FCE6402D8; Mon, 11 Mar 2024 03:50:03 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2112.outbound.protection.outlook.com [40.107.237.112]) by mails.dpdk.org (Postfix) with ESMTP id 431A240278 for ; Mon, 11 Mar 2024 03:50:02 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hknQ432uDP9CNs+cyj0kNjS1A2b1XMj16VaNnsZZBJ3G2aAq2RpExxIZNKEKvokmFfa7Aqd31zpcbbNjtxfrQvVBZk90rX0ZHxeNO+41OXCGkeGf66Ojy2b6FQhCfyv2CQQGaDeMvc+0N60b1xsKt6OlOhk+2dQcfFfXoTNsNQRb0LuM0djqH4Ru78bX5ZgPClsiJBdJiAtHls0NKqWoY0I3V/ly2ELcEL5pUVj0r3ZBoFcavuuJTOcQmjR9TbO+m9iehAK/gXwEep/7VZH3QWsTN4IoYs6T5AILzLr0jw5M+xrnIaGPGlJ2kwhlqw3cViWrj5v0jYspo7enDN8SfA== 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=zp+z4fFRhT7FFAA9PRCdcZlpmMUDRV2s11SjOMGiWKI=; b=a4ozIxYTcn2+YWHW1hLImOPoWCfK/IUcZU5mawWhRxvIQFf1gCSYrjV8Ao0pXK3M7R27nVYclpzsf0LFJFHOck02kmangNPoGbr2CBaXHf/wZpBF7tRLoydQN+ISerLg5FqRwSUjbbFHTKebpsy0h1OjGS8iYglGdn+tJechxzhtx3amoW1cCezKDhTrKozwvOO7yjCWVwTYIc/yFIAmq3k7eSEx7ShG2AYvrN8/bkw1NNdqR3dWOsZOQ+5dLp0mWe/WaFCVF7AWhZP3uEfl+bySwoq/HXUMBc/RGFFIO3P/pjVlcSwXUqJXSDZ30BPQ+3iJKDhFbdvklpTj+dutlQ== 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=zp+z4fFRhT7FFAA9PRCdcZlpmMUDRV2s11SjOMGiWKI=; b=U4dwK7jidfsy4Hkf48Dn0u+tYV4bd4wZ3N/VJ6/kTfXgOuM1HE18/Z5wdO5mDhRgXsp7yyC+lcb3TjgOWegEjbTIwV/ehE6B0DZya0zr0hyZLP4j+waQGjjwgAUf2iu/OpO0yxc0eun+P5sEALKqU5PgrnVwtqmAoA37EIRy7ps= 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 PH7PR13MB6244.namprd13.prod.outlook.com (2603:10b6:510:247::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Mon, 11 Mar 2024 02:49:58 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e%5]) with mapi id 15.20.7339.035; Mon, 11 Mar 2024 02:49:58 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 0/2] fix IPSec endianness problem Date: Mon, 11 Mar 2024 10:49:37 +0800 Message-Id: <20240311024939.2523778-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PH1PEPF000132E8.NAMP220.PROD.OUTLOOK.COM (2603:10b6:518:1::28) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH7PR13MB6244:EE_ X-MS-Office365-Filtering-Correlation-Id: 62ae65c7-d7b7-4939-ea63-08dc4175f052 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LbeM2jmlT+dAm0p/MfFInJCmPoGZQrR73VeXgb6IrnMuWzMLm9ibz+2FmmREkcQ1CRiwc6Y1Jp8oC1uUYNhMN4kaLfqvGArW+z7q1fWIR2ZE/203GGxZIBm2owATCjiSOLppBGKiFeG00yJ2b2W4VNYFu5CvLCr0XwdFrPr7eh3vcFzvEPL0YBMjLVagiE7oSv56X7LHK9dnkJYnNW0zQGJVjmJ7haBZkHZjvSOrYVc5GIv6z//QAg3V+xsBak22Qm3Kx/E/ZsuruWAuukhCXZp1nh/MambPER0AdVyb6gPWNtFlwBfYXKFdB+kOGoSo2Q3rmhkjqwef2Tp7AfBXp8AFj9OSosMrjAqlHCd8UsfBZOTxzhufYr/KPAYE5ViPmLb9afPxvJcfq15QqKd/0cq+5aSoIOt1FjMJYJZ+UDNmzyR1J/pz6FwKhBW48vLbNsPnPsIX8ZXIJBqRc+LRwrM74DbE0D5AeE7X0sNcki+Hu42Tv+3WKudVTCBgfACP8GISsX5sWWxfsJGN99KCHI7WJO0PTMD+oJATt50eD+opc5nq82+o7p2N66YFBM1ejDgB1u1lipO+CPNPh75Lon0/ZmA2IdRC6dGI0NXEgoxjTZazWbb58+NtUq6qcIoVQs+jIOub5t8+H2d8G8fksjpp7aOG/jXEfNHnUrRLYN8WwZm1H27uyzlc4imWQAQ47U2BwbVfvl1ZwhR4EFuTZEBybfGfxlDZkeqreM6jBCA= 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)(376005)(1800799015)(52116005)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SlJjQ2MzRCs3aE5GUmloT1ZLai8zc1lnY2ZLM0RCaWJuTDNMdVA0TnN5UlZr?= =?utf-8?B?V3FlOWxFc2F4bEI3dEpheS9ONXhiMkRkRTlkWlF0cW1GdFJDQm1mYTY2M080?= =?utf-8?B?QmNOVmcxQWRsNm5ZdjFsN3JXSEp1c0RRSi9HNnkxWXNxd20xT05oZE8yTzBh?= =?utf-8?B?NGJmUnl2bktnOUQ3bEtYVVFmY25aYkFhMjY2Q2ZxMDFNMVl6VHlLMzhrZXhY?= =?utf-8?B?cXRJbVUzOWo4Ykxyc1V4dU9EbmxBdFpndjFLRWh4UmRXV1hGelVHd2ZjUjM2?= =?utf-8?B?Q21oMGpablhCOGJqTkFJQnUxSFRpMm51bjF5NXNpdmV4YnlKMzNLc0ttQ0Ni?= =?utf-8?B?WEFtcDV2bnhNR25ZODNHVURhUVVoUk5TV1VQRndOcW1NeFNGS1Z6OWtHS0lX?= =?utf-8?B?R3lUN0hjN3ZMeCtUUWh0aS9Xa3NHc3hGa0Ztdm5vSVI4b0svNzMvaE01NUF3?= =?utf-8?B?OUZBT2syc0RNYzFKOTlVRHE5T3BnVmI0M0VwRk9tZ0lldU9wYjdtSUdWa2Iw?= =?utf-8?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=?utf-8?B?OGxMMWVFRlBvbW5sb0diSFVyMERvZnRaZ1JicDdsaHVxUmFjTEdRYUZaMEds?= =?utf-8?B?TlpsM0tSVFAxWG1NdFQ3ZEZsc3NwaWRkVEdkazRudlRqVzFmWXppaEZkWGs4?= =?utf-8?B?NlFmRSttYnZReDcxRkp1Z29PbTl3UGhCZjdnQ3JsYWlHbGlzZXU1NEgrS3Nj?= =?utf-8?B?RllualRmdFdHU1RaUWFHWTE4ZThOcGJhWWk1cHY1NkxDQXJtd3NTOUVmVHlN?= =?utf-8?B?YnB6Zm5lSkNpbXU4OTVhYXhWb1ZTcWMyN2xyZmc5NjJNbjcwY0lOeVpnbTJp?= =?utf-8?B?a2lFUzQxeVFRQmFzaXlwb1kzK3dqN3JIUXk2QzExSmtmR0tQRzJydlhBSVVV?= =?utf-8?B?RkkxNDJlRXBmaDhJR3lMaGhyQ0Zpc3hPT0QwU3NuT2hTUklKdHhkT21LRm56?= =?utf-8?B?ZEFDY0pLQks0OGZ4R0Q0M0t2TE1LMmRtcDRrUlhkUytrZEsyTHNrckpkOStC?= =?utf-8?B?Qk5rMldBRjl1dkpNS3M2R3hLMjRxUEx0SU9EcEpEWW9QUFQxUUYyMDl6Z1RS?= =?utf-8?B?blRFNFJuc296N0doVGlmSnY4ckp2M2pXUVNhMkpYOWFLZEZwWUtWbTc2R0Vq?= =?utf-8?B?UEpGR0tBenk2dzJSbjJUM2FtVzZtZkQrK0Y4RXRtSjl3ZEtUbldSYjQ1R2c0?= =?utf-8?B?eUc2TVN0MGtDN0t1WG5ib0VnaWkxZlRlUk1ONWM4dzVNdEpFWXJTZWFPaCty?= =?utf-8?B?dUE9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62ae65c7-d7b7-4939-ea63-08dc4175f052 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2024 02:49:58.2568 (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: ZhldOd63WVSdbJ540LgKTq4oyNVY2f1NIwq00V0RPvZjcwoEAwKSsbRkkIPQWntYYNhlCnHBOCkRtT9/9MfKgHPJuNb5Z7S8Cq9YhcYz98Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB6244 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 aims to fix the IPSec problem related with SA salt endianness. Shihong Wang (2): examples/ipsec-secgw: fix SA salt endianness problem net/nfp: fix data endianness problem drivers/net/nfp/nfp_ipsec.c | 72 +++++++++++++++++++++++-------------- drivers/net/nfp/nfp_ipsec.h | 9 ++--- examples/ipsec-secgw/sa.c | 10 ++++-- 3 files changed, 54 insertions(+), 37 deletions(-) -- 2.39.1