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 AC119A0C47; Sun, 31 Oct 2021 20:26:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 376904068E; Sun, 31 Oct 2021 20:26:11 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 478C740689; Sun, 31 Oct 2021 20:26:09 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 19VE43YB018900; Sun, 31 Oct 2021 12:26:08 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2176.outbound.protection.outlook.com [104.47.59.176]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3c1vk38qbp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 Oct 2021 12:26:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k/VckphhQzi1Q+HmeErorshEJ5LqPqnEJUxCj1EwM4+z9xQEPRjmZs9Vg9Liz99nVBToPsuCGjyZ3ZMr3EkljDGA8u7vlbAzg1odL17Cn/T/23ZzO1HNiRevcUN4etDWgB/E138z9tuW4/eVzwwz+u/SynK3QkdorBlp1w7Y7tyyLsEQfmT/i4tlM6XFLvYQGlLwdmgB9ME3WWVnAD9DYn/0PCq54LtDmKAs1PAXzBJwfRCPSzv+0fN+D6E/CKoQ/ea/n++JMrvCFYK1IyW27FDyj9QPWWiB66tr/xBaMh3CWuv62pMmYEiGFKy1qeqGE92zrOCnNSNkLpysCEy/JQ== 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=D1vT/imodZjFcPQUmhK7ZbC9E0d9k0nSZZoi0q7azOk=; b=ETLe50nS+8JtooUla+nRxVeH4sYklClK4gYe12I9fETMJ27F+rtGR0diFIAt/iqcqhv5sVtx0eQQKHkg+zvmEc9jVcpdTBt2zN0zejmlpOn10ZmMurpGUruGwfVjhtcEL9oHVcZnihxHtZ/piwBPPkGJgb+bk1cqQ4LHefcQyAjnl6ltN25LFZrMpWXCwpL1hEWW6Sa42rUqmIN9Tp72UwjoZjqTZ1nslEOXQC06aYgkK4kBlOdEz6UtWt0x/wfWO7qMjIq3wOcBAC6q6DZBm2Zy8s+w0oKGgLuF0JsNQRwEAuyMTYz8drsKSb6KBDJ6p5c+dps+r9lK6z1nC5BMBQ== 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=D1vT/imodZjFcPQUmhK7ZbC9E0d9k0nSZZoi0q7azOk=; b=dbpZCS9yo08RGWx7bnTsn8OJkXKRxtaI0JC+onmLBKJ/j6shEjE8NsxMH5UCBoN/j7WKSK2oPbhwPGzmKM8yPSgZP9LoSzUgq/uWigvxf4EHDG4PPon0S8xMfUBxjiRzRWIKcckzISMaVBLvK/LAj8qX35DcmwHe64tTLvctWg8= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4793.namprd18.prod.outlook.com (2603:10b6:303:ec::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Sun, 31 Oct 2021 19:26:06 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8%8]) with mapi id 15.20.4649.019; Sun, 31 Oct 2021 19:26:05 +0000 From: Akhil Goyal To: Kai Ji , "dev@dpdk.org" CC: "roy.fan.zhang@intel.com" , "stable@dpdk.org" Thread-Topic: [EXT] [dpdk-dev] [dpdk-dev v2] test/crypto: maxlen calculation update Thread-Index: AQHXvDhowl/RiSrDiUmM/pNmbjEs8qvtoOxQ Date: Sun, 31 Oct 2021 19:26:05 +0000 Message-ID: References: <20210929153809.69039-1-kai.ji@intel.com> <20211008113345.31818-1-kai.ji@intel.com> In-Reply-To: <20211008113345.31818-1-kai.ji@intel.com> 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: 935da8d1-fc63-45f3-ad6c-08d99ca44892 x-ms-traffictypediagnostic: CO1PR18MB4793: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5jtgr/EhjTExqzfhEnE4QHWHkCpxEUlaoUrRQN0U+A4f6W8AX09ikinGQNvvhnavM86Eh2IxTFDXlChgYRaH6vh+H7fKKSTulCAeD8gsah2D7/HW4z0SFvL5FwuGoLOGo6c4MHD3hVIAVw2Y6IoV3Q4Nsc/qEc4FbHV96wGQxsdvnv0sWnllbmkZptL321Ha+Y+3Y3aXyosXsjoqhwARIV3Q9my0NjK2bC6XgTySeEOhDhmY/Hz0EcHGwMAqST6Au5sRrGoGM//heP8eq2c+zZQrVXnzqzzsu1wwJGMENs/tanEnPwm5W9xvX9b4jlA4VO2d9mNyWTA6p2GecVCzeY0De+2jnuxaNGCZOAYbPUXMxvHAv7zGvX7P60VGOoc//SySWGxADzXxlojNRGmGbhIw7YJwHufvgg5C5WMI2+PtILesOwj4MhplP4iAtDwJPitCl5Z49Fmyj2xKTMvN7fJKnST+7i1b23mZx6AYlNB2PpoMksstuEm1r6hatbgmYTCZjGMP7PFLmAxQkfyE2AYGvVI0n6jHn8wFqwzXXZaHE5MLnsrJacbw1QlV3Tal1LLwGx5vZYDZ2yV9ymxAjAtFczUmhCiP6Z+zWHZUl/xdRZ1LxZfUgfYJ8juvXgkUq9H3dAIKO+t24bl4PmhakhC7IDxSRh8Ck4LK1DA4FIEHzUPw1CHn0dTePC1De2UDExqARfjZL0yHvGGZRZdobg== 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)(6506007)(5660300002)(8676002)(8936002)(122000001)(508600001)(71200400001)(33656002)(2906002)(15650500001)(38100700002)(7696005)(64756008)(66476007)(4744005)(186003)(86362001)(4326008)(66446008)(110136005)(76116006)(54906003)(38070700005)(52536014)(83380400001)(66946007)(9686003)(316002)(55016002)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Rw7mGgp6ZDozVvP/XQvEfh3pAG5/NZL6QKsiO9yHaKAsf5ZNT4jCDSPImaYA?= =?us-ascii?Q?LcqySMe+EoUpHn9f/r9pN9tQrx2Y7pJCrQPwCFxgnfdomDrMew3BhecCpnuK?= =?us-ascii?Q?29cvXa6KXXtp2b8XHh/1dFCI2dlngyHR3p0XjdrfLo1CsOp3HR791QSiRIY7?= =?us-ascii?Q?4SDZNeaC025parEYhZNLBVj1sgNp8UOauYxUIpNwfY1mq1H5qbgZhzQ5qB6c?= =?us-ascii?Q?8BIuiKHgd5KWf0ByX2bWxiP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?us-ascii?Q?UenZWiMxC1Oc5HsDcVHjdmZzrRSCG3q6BiBJYPLGjL+xUBBGsFB7rTnRPzgd?= =?us-ascii?Q?NKspxwVrN4tRCqVPj0vJYzbNDKbFRaQqARsJjaWjPjwcr3FY292NSnrOSF47?= =?us-ascii?Q?RrLO8E0jDbFtWhFdw537RDmLz8UfDEq3lRauneMfjfOuP38DwI+8OmBamCBX?= =?us-ascii?Q?/kGby1VRr04jh4F/04c4ZtY1idsrqUpN6mSpKkDR38sYKWUImppfNF3bb2qp?= =?us-ascii?Q?eg2ZgdA8Z/77Q9k1osAKrbkhjhXXI2qWQRxE00ZZC7WvsYK1ONuBBZjLU2tE?= =?us-ascii?Q?GVnwwCXLVXyCxz4XqRKP+UwVMnrpzlfqCAZEadztCFDosEUN7tdkqW2G9KyL?= =?us-ascii?Q?e58heVuguRDFlQoQSEP2ZixfKtgSuuuSrVbBVIA8r1icwY8Sq5LcvA5ikwbo?= =?us-ascii?Q?caQh8985uiX9DUfbYkx6ZerSaZ9mFxXiBfig9lzmMcCRN6rCO4vZzm8Pox3d?= =?us-ascii?Q?KYXwqZPR4ls0rGMLh7vEaixpIKTr6G//VlHyhd4leKie3jL2yC5EvX8jSt5Z?= =?us-ascii?Q?7VehAi4QsUi+HBn2tMl80vzcUcc=3D?= 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: 935da8d1-fc63-45f3-ad6c-08d99ca44892 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2021 19:26:05.3915 (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: LKeCDooh+zbo07XCDlYuqAa2zpBK3pmD3e/o/uOovaVja3OBXQnjjCU/mer/EQTdz/8n5Ke/snDJZV411R1k0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4793 X-Proofpoint-ORIG-GUID: J3Ahd7Vo0Rxgx4hFpcEE94bCS_rumjmv X-Proofpoint-GUID: J3Ahd7Vo0Rxgx4hFpcEE94bCS_rumjmv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-31_06,2021-10-29_03,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [dpdk-dev v2] 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" Title updated as test/crypto: fix maxlen calculation for raw datapath > Update the calculation of the max length needed when converting mbuf to > data vec in partial digest test case. This update make sure the enough > vec buffers are allocated for the appended digest in sgl op for QAT raw The APIs are not QAT specific. Dropped QAT from here. > datapath api. >=20 > Fixes: 4868f6591c6f ("test/crypto: add cases for raw datapath API") > Cc: roy.fan.zhang@intel.com >=20 > Signed-off-by: Kai Ji > --- Cc: stable@dpdk.org Acked-by: Akhil Goyal Applied to dpdk-next-crypto