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 BEC2142ED9; Fri, 21 Jul 2023 13:52:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6ED340E2D; Fri, 21 Jul 2023 13:52:44 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2083.outbound.protection.outlook.com [40.107.237.83]) by mails.dpdk.org (Postfix) with ESMTP id 562DE40DDC for ; Fri, 21 Jul 2023 13:52:42 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z733S/kgkmTFZ40EFaPK8viB2CoOXzh5blsGY5ovUK6yM8xu1HmNxXkGm2i7rDQfYUSvDwDzlLRmeQTX0pc4dsOcrBlvRpzXxqRIr/ifC6S2r4QSWIXltM7d4p2fZIvqoNAJH78XjH7Pa5aJoT6ipCPDjgk+8O3Yd3H/+kzbdq3LaJGqZGMBbO+jye8/u8RAex4vtFzG4WhjWvzOuj+Wh7cnH7ajY5GmclRQoHXymwhlziTLbC1gYOkjqg6pRf538cdD05eqIGDWcFcrW7qeHwgW+mbkGfa3hR5Uh/Xx1Z8ynPy29aQcDvM0Jvtj0xHMxCoJgju+VXJ+ndZUBKbElg== 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=pW6wLnTaWcDkmel6d2VkS+eKjhpfVb3uxvQrvRgXqfM=; b=jtWzDhX5cMR99wxXPKCXgo00doaixYAXMuzocXh30TKpNXwWzwdhVI8tLX3ExRHqFzucVivKTA7z4cweRz9rOkxMPgPPdx7jyb0dRLd22WVTfJj0+8VF5uSw3jL+pqZsvOJnZmEG5TfRuxVRkBP77YtaqlnCJH/jjLpSOJQ8OJJU3+wALLwGPYsvk06L3vIkZYNH0FPPUZYR800NOgafcAGwjS7uK9bYbTYMuND6jKCnm01+mTRanaCUHFsPFNIDxmAcABbbv0H1E4KujdVguN7ZkfiQSqQ6GwBwn8yg9HUwSyJNbfn3TAobpm5LpdNkDLtw2bEU6rTBSINXXqKjSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pW6wLnTaWcDkmel6d2VkS+eKjhpfVb3uxvQrvRgXqfM=; b=CwNGROJhJne2Ub3YC0wKLVOMebMZwnh9SAP7cuJaHNBzv/ydNYFsfnWtGGNWKRuZKxzIuQOsLl4e7DB0CQln3F3cBv9QVFgOlPO1xG6UBniyx/r26gOwyK+2mOmpPyVo6OK8X9B+U6OLr9CYG78/0kf6qDHA1ZKbjBan4O2gwlUt3KvhEtLxYaP8/c44UOPOYMDkflM5749738068gq71JWQrVPYqRsO0o7UEcPsQCxbdU+qhhKngQ2eSympVnc8uDi+zIedU8Q5fBVs2ARCz6wzUw0xXaLZTpCLlijF9EAdZTHxowOMsOfkQwtgasOQpb//eZ/ijvl+poC+ziDcuw== Received: from CO6PR12MB5396.namprd12.prod.outlook.com (2603:10b6:303:139::8) by BL3PR12MB6377.namprd12.prod.outlook.com (2603:10b6:208:3b0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.28; Fri, 21 Jul 2023 11:52:38 +0000 Received: from CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::ed42:1df6:934f:2435]) by CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::ed42:1df6:934f:2435%7]) with mapi id 15.20.6609.026; Fri, 21 Jul 2023 11:52:38 +0000 From: Suanming Mou To: Akhil Goyal , "ciara.power@intel.com" CC: "dev@dpdk.org" Subject: RE: crypto decryption support in test-crypto-perf pmd-cycle-count test Thread-Topic: crypto decryption support in test-crypto-perf pmd-cycle-count test Thread-Index: Adm7vqZ1p3+EVGjcQAOMlm4/lScZoAACca8wAABE/kA= Date: Fri, 21 Jul 2023 11:52:38 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR12MB5396:EE_|BL3PR12MB6377:EE_ x-ms-office365-filtering-correlation-id: 3a323357-997a-49d1-3bd2-08db89e0fb58 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ozc6p8M7r7EGS+qT/1wOxTn6u0Ajgx6vFPlabKnToYGB6yTfqAmOIeXqZDOt1Y6dHiairUvFd0ovPmTOvOd+/5MdeurpRHgV8eoiDjKy0ZTHfRhBspeFs8bbvsxV6NU28JbNKK6iOZh0yp2hx36QqahaWMBUIMupmubbNBLgSAsB57/QegTWsunGTbKhuG1Ox7VAskGFNKFIpAnGjJQMAEWIbnyvzvtk51eMWqfa89bYW8IKxMzx2UI+ULWxxs8+5i8EdLsZ/JdCarZiO5ZqwzWQkOanTn9lP4EA5Wye5YG2BRv4v+Jve8xB/85pnfVDinyNm8+teiLrH9zcPf0CM+KakzSH/Abxhd2kW6S0g5JqbUWzGoMQOHdcTPqYBsZCSQZrtuA0fJAxIUqXe+jZrANypoln+qth6Cct3s31i4imjcgnhrfhlL+5wxqnrE61yauxaT+jIcxj9JX6Yq86u9wX+aw2GUsArCgI9wwon7YfyhaQ15IN5/aB3aZgtBcWZe+LQOZZ5pwPLowbgjAVppiUrfMGsc88g3s/0sPBeYo6uUvcBd3CC0nq3wlNTCRBjE07SQMytcqkKBfs4ZrHkR3rGmWLxhsmsq1myFw8XNbw4ENS1ntpcJr0cDxpO+sq x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR12MB5396.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(39860400002)(366004)(136003)(346002)(396003)(451199021)(33656002)(8676002)(8936002)(186003)(26005)(6506007)(53546011)(86362001)(52536014)(9686003)(5660300002)(66556008)(66946007)(76116006)(71200400001)(478600001)(2906002)(122000001)(7696005)(41300700001)(110136005)(38100700002)(55016003)(4326008)(64756008)(38070700005)(66446008)(66476007)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+QLSpMeeiLPlSNgFevw56+ptWcqWj/kV88KnEAswpi/hwxUltecIeWPzyV7y?= =?us-ascii?Q?Pmii8YmgwrbJgkKjJu7bQ6FvVkhGWFwYmoNEvpZy3L8i+s7PxEC8E9XpydgM?= =?us-ascii?Q?Br0oWhYZfZkkDuUYyMo6kMoMBbQBfdkLwwPE/OreHarGyBggxeKqLJV+FzGy?= =?us-ascii?Q?oQIm+DPObcOwEx9xxlLYrEM1JKMMe+kBKrW98gqHcHQCWbPj3kOcXclwKu50?= =?us-ascii?Q?7hdDR5PuDLk4oxjqzLXU5dZEHmZk77xRvU7xEdWQ49KUFpEN+8octe06aLKH?= =?us-ascii?Q?9xKn2ToMA9SzrZzSRwpYQEqWwDQZX3wrTbL+OkOCPfFLzIJDKtJB3Hy6hTcd?= =?us-ascii?Q?mipY/rEDP/KYiyHzSxPC3GAnGqxQya4RhAsVwuyniX0F4VP4qe1DZ+uLjqfA?= =?us-ascii?Q?JPglvnjmSZsSgoH01oFJhYK2+1iA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SfNwDbimHjzFP0jubtZHqHIUM26ssAp+9CPJsDWnGnb61OH8zIuwf/os4C7t?= =?us-ascii?Q?rL69o5vUzod3bx3jPcw0xz/Sm9DlEdXoGu9aC0TMbar70dlcuPa3baEHRqAJ?= =?us-ascii?Q?TH83n6PH9xwrd8IRz8OwQgVevkLpBQ8VgduA+y0qbSzVH55n2yXArVQjAfM1?= =?us-ascii?Q?jyv7uYjWXe2tdqi5n8NzQxgveVWxRfMQx+HFiYDsb4TokGQpa0Z+kVjOK4Xc?= =?us-ascii?Q?qfUYlvZircAOMZxlsOEYaT8AkBcdSHaVTQ6uSPJq?= Content-Type: multipart/alternative; boundary="_000_CO6PR12MB539602A98C7F52AD54BF5643C13FACO6PR12MB5396namp_" MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR12MB5396.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a323357-997a-49d1-3bd2-08db89e0fb58 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2023 11:52:38.5351 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ug7p3CJ87q3wDHTPvV3m/uGf0wheiwIr2apoJKdAduOumMG+c6xbqwX++wlq30hUAOzsHAsLrS5qYGUwSaL7sw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6377 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 --_000_CO6PR12MB539602A98C7F52AD54BF5643C13FACO6PR12MB5396namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Akhil. Yes, I see. But for decryption, we should prepare the correct cipher data, right? Or th= at test does not make any sense. I assume decryption with incorrect data will cause PMD reject work properly= . From: Akhil Goyal Sent: Friday, July 21, 2023 7:49 PM To: Suanming Mou ; ciara.power@intel.com Cc: dev@dpdk.org Subject: RE: crypto decryption support in test-crypto-perf pmd-cycle-count = test Hi Suanming, The pmd-cycle-count mode is for counting the cycles for enqueue and dequeue= . It does not matter what is the content of the packet, as we are not validat= ing the content after dequeue of the packet. PMD/Hw will assume it as plain/encrypted paylo= ad and will process it as per the session attached. Hence, doing memcpy to mbuf is not required. Regards, Akhil From: Suanming Mou > Sent: Friday, July 21, 2023 4:06 PM To: ciara.power@intel.com; Akhil Goyal > Cc: dev@dpdk.org Subject: [EXT] crypto decryption support in test-crypto-perf pmd-cycle-coun= t test External Email ________________________________ Hi Guys, Sorry for the inconvenience. I have one small question with pmd-cycle-count test in test-crypto-perf app= lication. As in pmd-cycle-count run code, I don't see the cperf_mbuf_set() function i= s called to fill the test data. So for decryption, I assume it will always fails. Feel like pmd-cycle-count= test does not expect to support decryption. Or is it a bug? I have no idea with the application design background, is it expected? Thanks, Suanming Mou --_000_CO6PR12MB539602A98C7F52AD54BF5643C13FACO6PR12MB5396namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks Akhil.

Yes, I see.

But for decryption, we should prepare the correct ci= pher data, right? Or that test does not make any sense.

I assume decryption with incorrect data will cause P= MD reject work properly.

 

From: Akhil Goyal <gakhil@marvell.com>= ;
Sent: Friday, July 21, 2023 7:49 PM
To: Suanming Mou <suanmingm@nvidia.com>; ciara.power@intel.com=
Cc: dev@dpdk.org
Subject: RE: crypto decryption support in test-crypto-perf pmd-cycle= -count test

 

Hi Suanming,

 

The pmd-cycle-count mode is for counting the cycles = for enqueue and dequeue.

It does not matter what is the content of the packet= , as we are not validating the content

after dequeue of the packet. PMD/Hw will assume it a= s plain/encrypted payload and

will process it as per the session attached.

Hence, doing memcpy to mbuf is not required.

 

Regards,

Akhil

 

From: Suanming Mou <suanmingm@nvidia.com>
Sent: Friday, July 21, 2023 4:06 PM
To: ciara.power@intel.com; Akhil Goyal <gakhil@marvell.co= m>
Cc: dev@dpdk.org
Subject: [EXT] crypto decryption support in test-crypto-perf pmd-cyc= le-count test

 

External Email


Hi Guys,

 

Sorry for the inconvenience.

I have one small question with pmd-cycle-count test = in test-crypto-perf application.

As in pmd-cycle-count run code, I don’t see th= e cperf_mbuf_set() function is called to fill the test data.

So for decryption, I assume it will always fails. Fe= el like pmd-cycle-count test does not expect to support decryption. Or is i= t a bug?

 

I have no idea with the application design backgroun= d, is it expected?

 

Thanks,

Suanming Mou

--_000_CO6PR12MB539602A98C7F52AD54BF5643C13FACO6PR12MB5396namp_--