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 0CE07A0C47; Thu, 7 Oct 2021 15:59:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E75A41218; Thu, 7 Oct 2021 15:59:45 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CE86A41214 for ; Thu, 7 Oct 2021 15:59:43 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1972qcju013996; Thu, 7 Oct 2021 06:59:43 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by mx0b-0016f401.pphosted.com with ESMTP id 3bhrg2af2h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Oct 2021 06:59:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cWq1F5EA6mdVp1FZOLr989jg9vQxxfm0epAgHEBGov40f60ZL3bYCtQCydP5IpM9SdRXHKSwKyPJTg3TU3a1oSE2Jk4tywvPlVdKkasxJUVVFh2IT2k3lr+awEnjrVV2Z7p/KxpeNSi8x//se9Ly3afDxmZfgY4iuoWaE7rFfbS3anNc/6YpwvLUaA5CEBCVOuspt5ZrnkROD9gKI4SrL8x/yzAldCK1frQq8zTC7UgpcHJTlkYlRtlXaxMMtj00iaPqh9oj/2FhQpvoHv6FofU4IgVy9lZr+E4BoE3aQ5Il6pcffTp+O7GpnF4OB6TuPT5YCyczblxYTpiQMg531Q== 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=TnN2AC0dzl9igpBMvvcsnk66sBiFI5/zhSto2ThfMFo=; b=Zf0K5QfZbmHe7XHBTSMnhRs0p8co9MCwHc73R5el0UcEjdedK6xnKnaXibo5VPU456ArP6/OBm/Q5QnpqDx4LjhnIWJK8x1RyjeuSvV75b5QzmYJKzRJpebJ+L8NJgxwLVKEh6lMRE01jdAyIo3ie+xcOfYPC3L/nC3aN1ECyRj64BpviSUdxrOtLvLLR9F98d1PkT0pyskaEklmkofn6+MRp2NXEN/zTJN0FTABFLvkiKqUVhQRKFahRmbrBrePQeqCR2aGVlVnho2Av3ERNlCpn/0BH2LFie3u5JxAE1ZHOLqu547PArrNmNLe1RkJkPAWXZem4Vi0BHtBh5J56Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TnN2AC0dzl9igpBMvvcsnk66sBiFI5/zhSto2ThfMFo=; b=SCcjGeFzpY/8jMS12Aq/9fLceYFR8vQY+qZ5QB7yfy8inloy+TNSG1rcTRWqfh2Yok0hpXzBzX6d9LEAowcq3pbadQH15UuCeWG87ndG4dYumOj9JX1iQF7K7qch9Fku3fMSReJqC9dSxq0Myck3sY7PtRg3slYSZgG/3xI2c5U= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4554.namprd18.prod.outlook.com (2603:10b6:303:fd::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Thu, 7 Oct 2021 13:59:40 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8%6]) with mapi id 15.20.4566.023; Thu, 7 Oct 2021 13:59:40 +0000 From: Akhil Goyal To: "Zhang, Roy Fan" , "Ji, Kai" , "dev@dpdk.org" CC: "hemant.agrawal@nxp.com" , "g.singh@nxp.com" Thread-Topic: [EXT] [dpdk-dev] [dpdk-dev v1] test/crypto: maxlen calculation update Thread-Index: AQHXtUgQrGFqn8teT0GpQiKHeUSyd6vHh6rAgAATlwCAAAC9EA== Date: Thu, 7 Oct 2021 13:59:40 +0000 Message-ID: References: <20210929153809.69039-1-kai.ji@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9b54a947-f799-4f55-a8c5-08d9899ab4e4 x-ms-traffictypediagnostic: CO1PR18MB4554: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pnzfupDtwkCcJUL21sApGqWcx3Oj17+2mCtUtim2wiDLS7x9yoE+H9V5ONIo8erT9mmAAgak+Tm9auWnBG0mUJnn0owpU2NTrv+BOaH0Uwbn/bm6Y643KyuvXkq7p+6KeYtx6yPwnY5aEzYLHeJD4fElyJ4UK7fDxCcbrI/GlK6MrK3DV3guQAYGW5HG1N2DdoLbV7VCPxV9sO8ZcSIxlbZWSGHnZh2skD/wGkePcROzK60YlAUTvM99Co98PH4dS2HRB15cjRlY3kjy65k2TaPyPQKthNd/sZMPF8z1yXfJDIQOxMeF7D2QZyeDFHKXBR2yylPskkwvsymjZAJw0u+2bzCmqyArojz1VgTG8fb9lpoyKEmFnWb/DflvNH6vlRfS910aO88r1lou6KZhApSxgQYX0z/Uvg5iSPAMLrrf3t9h+KsacyYTleg9Bcb3Ru9ONwWpTy1fo8GrN7PHV6z7r3WknREYS7XDWd9UU63HoMDl3fhAvTtFHmvAiIK/GbESRTmJVauiNg3qBAyfEIZMFDyb4x29E8/GGuFCHApidJE/K7cJBlJvfYtbJUR7xpL79YGa2SqqFpoNcS8DMb1LQq1FjIsF4TOUWCkjTTY40Hgg7aIWU/zS5TRWAq1DZce19WIdi2acMQ9KOfq7Y3OMg4tl9bWIbR+NDc1cS3fSHCJrPn4mJBmIBiAT4Gj4lEikrDMqrJQeU5J2eDIqvw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(9686003)(508600001)(4744005)(33656002)(66946007)(2906002)(5660300002)(86362001)(54906003)(110136005)(64756008)(66556008)(66476007)(71200400001)(8936002)(55016002)(316002)(76116006)(38100700002)(66446008)(38070700005)(122000001)(83380400001)(186003)(15650500001)(7696005)(8676002)(26005)(55236004)(6506007)(4326008)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?uRHOHLyOhBYX3mfGtC61Rbh2uGj1qxVvrYFPU0rt/AVPqTWSHpwBS1Lp+YFh?= =?us-ascii?Q?aXU2MYhOvPaOOadoBHtk6vzzViBdZoAaZx/pApG/q8HRO8H7ehYM8vQaQbcL?= =?us-ascii?Q?B9W2MhQSAF0jwViAnyne0tvdMMTmExyLg6jXyCjlFtXdtxru/+b8zz4LVkLF?= =?us-ascii?Q?aKWTRbkFTn+wi+o22hJ8RSeoNiEg8M2W7b+BCyApC6W8v2s1107v37f7iZ2N?= =?us-ascii?Q?bjH6ZfU9fTFS6PX5RD6Cs07hHSfNX8vhJXLHPzcA3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0WxAYbJeaf7TfjnoDC9XOHakjIDwzX8RXUvOPTiHVQAq1gCrxU2YrpV2?= =?us-ascii?Q?O5XbHWEoUQzW4uDvdfBWzELwCWDIzq6iYqn6DKwi7zpgfLiIOLNC6ARgZRqP?= =?us-ascii?Q?5+vKqkRxAFnFNM+DiWKgE7UnurGHmDH8rZQv8AzPgCVEEF/D7TpcX/AH92oT?= =?us-ascii?Q?vrZrd7D7oluGUTVHp7rIJV6L?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b54a947-f799-4f55-a8c5-08d9899ab4e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2021 13:59:40.0617 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BV51/R1VIcryxU9SVwPeVS9iHuJ3DNEAdUUIdsTXFipqhGATNynEjRTfYGIfAGAxjkr6t+IhKgvcplRLtEZ//Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4554 X-Proofpoint-GUID: v7-7X67zLbaKmLXWWTuNKRxX78AD2Hk4 X-Proofpoint-ORIG-GUID: v7-7X67zLbaKmLXWWTuNKRxX78AD2Hk4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-07_01,2021-10-07_02,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [dpdk-dev v1] test/crypto: maxlen calculation update 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" Hi Fan, > Hi Akhil and Hemant, >=20 > This is a generic problem to raw_api applies either with dst_buf added or > not. >=20 > The idea is for SGL test when Wireless algo digest encrypted case is test= ed > and > RTE_MAX(cipher_off + cipher len, auth_off + auth_len) is smaller than > RTE_MAX(cipher_off + cipher len, auth_off + auth_len + digest_len), the > original > code will not add digest data SGL info into rte_crypto_sgl, leave alone t= he 4- > byte > digest is split into 2 2-byte segments. >=20 There are comments in the patch=20 /* oop is not supported in raw hw dp api */ This is now supported in the patchset that I mentioned. So Can we update according to that?