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 865F0A0C41; Wed, 17 Nov 2021 07:36:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 466D34068C; Wed, 17 Nov 2021 07:36:11 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id C88C640040 for ; Wed, 17 Nov 2021 07:36:08 +0100 (CET) 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 ESMTP id 1AGMT3NJ004129; Tue, 16 Nov 2021 22:36:07 -0800 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2174.outbound.protection.outlook.com [104.47.55.174]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cc85xdg5w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Nov 2021 22:36:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IWYKhECfSuAqd0fBICdCrOcaFptJ5MZIF7UE2sOVKNsQvaLzN9Z2taJqJQ8ZEoP2nKcO8vdwWZSYwFicxmAY/qaNA1PEXw+4C0CIu7AlPqEwjxCDuBhb8kh1X+eN/nWaxHxHj3fctU4mDjCNwRKZELMjsDPfpBZWFSl/+OYkd+MJ8Xu9S8dW0M5TyIUhF7drqBrii9pSfWO3tyUp2KKd5VMJZKsHiHUUZrhirc456XUu935FBypO97LilSuTdDM/DDlUnILeN74H4Kbx0uxA681jZ8oFwi/SiznugLZm3baPmH+cqqFvYcpCA6V8+drCsPPG32ddb3vIOO5lRDIz9g== 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=rvWzllQCAYSME2DutjN07hMjhdt1z76fnnymyCJrEY8=; b=LwcFEacvHXKJxqbBhH4DsPNSSUYt2hdwy4EludTm8dRv19TPCqwvaw0dukGlSTrXQOG67DzBijoUCNkEgyXd00CJKXbM3jeXAyne4PNndRqBZrFi0XbDT5KgHdtvt+d9iyJD9Ahk1lkheQRvRr5qAqevs4JrUnc0rdlwmf5hzR/tz595bnGN44UhgXhZ4nZmGeMOLuojL8VvS153lZa57A1YQhbr8u4prypphlxgF4MrTXIzhU+KCkWPde5zMKFCB4+atDmRSLk2kmGvMVWIuEAk+fBpXJ1j6jdfISaer/LaOamnNXsNHIoc2p3Y7qTo7qZiIjaiSJUrG6/WK4HYPA== 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=rvWzllQCAYSME2DutjN07hMjhdt1z76fnnymyCJrEY8=; b=C+H3gXm5xWzX5nDcjA4wDZPF22Ph/BbZTcXPxhJwfenfE2aEYbjeLmF+2/ixwDLtR5EX6S2BfiW873UqtwYSiwk0UVrme5xytx/GYd5Ewna+b6e86lsSHFswVAM9TUJtGnacG1S6askjmvukWMnvqttCSxjtUCrayK7R1TYJj04= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4665.namprd18.prod.outlook.com (2603:10b6:303:e4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26; Wed, 17 Nov 2021 06:36:04 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1d9c:3cdc:3142:5095]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1d9c:3cdc:3142:5095%7]) with mapi id 15.20.4713.019; Wed, 17 Nov 2021 06:36:04 +0000 From: Akhil Goyal To: Gagandeep Singh , "dev@dpdk.org" Subject: RE: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec operation Thread-Topic: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec operation Thread-Index: AQHX2tX4ssSGjIcEHUCaanuOYoBic6wF9rlAgAATFQCAATl6cA== Date: Wed, 17 Nov 2021 06:36:04 +0000 Message-ID: References: <20211116102301.2142361-1-g.singh@nxp.com> <20211116103714.2148007-1-g.singh@nxp.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: 41639f92-c106-4e70-e620-08d9a9948769 x-ms-traffictypediagnostic: CO1PR18MB4665: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jHd47Cd5ReVglaMp8ULYIxNULarUnQElo92E6NLFRTM8PWxl9hpy0QhOkxAZ/Yrq5G4VVM4tS8tsTw2Dubrb/5H4bsI/xdCWIWu7jWmaqI5qrBmcAM3fywtpy/0rgy5sGSKIf2dYYkDgTxRPCHaSYtyO6+0iHyVb7HTcP1qefiz+OR7JLSU3a5SUvOB+wQtpbo5cBbnGtkoEZ4eF6HYNKlZkUV7uQX1ha7LClU37ElgaDT+c6nks7qiRfq8D55VjQnLOg6gqbhPqSQNx6tIjZYqoG9kIHg18cwoeB0P7xaufpR8vQmjLNYeRWi7Y/5X3eK2fxeajUwZ4eophSafaTkbKCljRhUB+8+tN8kdkOSfg+Gpr6OWTW3Al3IUeZ39ViSHjQriDwGPtqBnUrzlFU2Qfy+FOmMdDHT/n2Ne5HhTaMVckXdR+GieT0OX7JdXbw7G5NmH+Y6xxs5a+XllFW0n1+72Qr7rrvqW2RSGafN0Ihrbi5s+ggu7OnOR1NZuvRO9sbJRguGDk/lPECHmWMQnMM6i9RL7GpfcfEeYhhXdITzpyFQJETDpiSbpOiWys7M7s0yFRdj1PPHKj/kQj48yXY3ADD0QKxhG547bZ4KD0NdTHMt8XEzlijvm7lcAM7D0Q7dg13Wbcc9pqTmdBoaw3xjaXFsKW+ueNokPQc4Y77CeBKqSh4gpF/4n9wF+gHcWQZpvtS7ECRN1Y9yS7qg== 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)(8936002)(38070700005)(55016002)(8676002)(4744005)(316002)(508600001)(52536014)(186003)(7696005)(5660300002)(26005)(40140700001)(55236004)(9686003)(110136005)(6506007)(86362001)(71200400001)(33656002)(66476007)(66946007)(122000001)(38100700002)(76116006)(66446008)(66556008)(64756008)(83380400001)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?R6koB+X8rOp5w/RSLRI9dDdyWX+kHBOhBnJYwNv/1JOc+lMqE06uBxeTMOmy?= =?us-ascii?Q?ClKswtx6+a6eYE4FOFjZOew6MVcwF1WZk/yL2Z8fqqqRoYakxYIXZLK6McWD?= =?us-ascii?Q?LemmEpkziRiWnBIJBl8z0HW6Nw7d7HzEWnWB71/c5z19iy6beLbt4zjGL66W?= =?us-ascii?Q?NaG8OHgQ6yrQlma/I9YhVcVFLpY7DmgEVJxvzm0cKyQcVhvbLuyAQDmKZy6t?= =?us-ascii?Q?MpEC9zyf4L4mi5b/0eRgm2QBNTFG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-ascii?Q?CemcUcGsAXzxDC/2wGUbBuNv9JHbZOLFqny1sAEgszyaTYvCE4OJMXnHoBwu?= =?us-ascii?Q?29w3Wi2oExJpfsjhiJY/61dhSByPmwRj5JSOBB/rDEA5UEGF23mtH7rT+d8u?= =?us-ascii?Q?Q2kkYSuiQalh984aVisfKbTx/BqNIQonJ3V5AlnJqFmlMpbeULHnL0YKHNeC?= =?us-ascii?Q?IcSH2oqNQ1Xd6UxyWNr3VmX/YbUrhMeulF7dLqboE1pRGgcSzEEME6g5jlbi?= =?us-ascii?Q?AH7Tej8wY/A1j7wKADMTFBbLfKsOB3Rfd/P6Ww34Wc5U5nsv/mFMdwohHwau?= =?us-ascii?Q?L0nRp+hJR4O7B6NIXPx2ZCZsgNwYEtCvLIZl8VGQyWrd0ZCyoB8N664L27Bv?= =?us-ascii?Q?XvGlDuIPxC4e9jA5Mh18btJhyv3AhsdMx9BNUr8TCiayDU/e8mejj/lBGRVa?= =?us-ascii?Q?OVm2AQzbA5EHCvbY1RF8lPCMdogkBKBXAx4haXGXR+l5o8/KKW4L0Ydo6s+k?= =?us-ascii?Q?8+ccQLQi5GmZE95X42ekCc0=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: 41639f92-c106-4e70-e620-08d9a9948769 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2021 06:36:04.0987 (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: rENSqnAjszqc2fnSebloOvTdeLPF97m3wkAncXcjwPPjwTmow853UB2twR1mbP3AGbkHbvJU9kJhM3d2jXQPLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4665 X-Proofpoint-GUID: JAzAdwxSieKZhjWmhMGQnewTX9qn3jP0 X-Proofpoint-ORIG-GUID: JAzAdwxSieKZhjWmhMGQnewTX9qn3jP0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-17_02,2021-11-16_01,2020-04-07_01 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 > > Can you explain the calculation for 73 bytes in the code? > > Will it be sufficient for IPv6? > No, it will not cover IPv6, As currently only IPv4 test cases are there i= n the > app. > But I guess it covers all the scenario which are supported by the app. > 73 are the maximum bytes which can be added in > AES - SHA algo mode (41 +12 + 20 (including any padding)) Please explain and define macros appropriately so that we know what all is Covered in 73Bytes. Or why not increase it by RTE_PKTMBUF_HEADROOM. >=20 > But it will also not cover other complex scenario like NAT-T, AH. > I have verified this change with aes-cbc-hmac-sha1 and aes-gcm algos for > 64,128,256, 512, 1280 bytes. >=20 > What's your opinion on this? >=20 I believe using RTE_PKTMBUF_HEADROOM will resolve most of the scenarios.