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 E7195A0C55; Mon, 6 Sep 2021 20:36:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA697410FA; Mon, 6 Sep 2021 20:36:41 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id E69EC410EF for ; Mon, 6 Sep 2021 20:36:39 +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 186BiYoS010416; Mon, 6 Sep 2021 11:36:39 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by mx0b-0016f401.pphosted.com with ESMTP id 3aw2sp3hv0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Sep 2021 11:36:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ahezmL0mm/VE2vaJJdbeoy697bBg5+NIc36DiRRl4oTj8v4xhbiou2DC6F2tHJlv6yNEzwNNw3mXPMJ7p+xnmZqEM044q3OzieQAY+WFkPe1XmPPerN11MHI+zaRq50rOFDQk5Yh/HbTSO7tzfLpXZkhKuEEwvRgJe33dwRscIdUZeZtqDCKeBGaPkEzfEC88KiSy77PIfrEieFdXbIOX9VxCjfzUPb/qyMucWXsffTrJRs1hvoUnm6YcxkfZKEgDDsaepG90/haqmEP6r20uVsyG1NlZj0MwUgNPJ7FyarHNW2ONRLYVajckDbO8enPDZkh4xPRCSvj8IkPWzLmNw== 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; bh=vJk34oXWpcJMkHMLHm93BOcc//3lBEOtPI9++b+pPvQ=; b=P2iDqT8DhEqk21U2uM0Me0e+FX9u53mGqo3f0j2AnGDkvi1ZQYUaXXqWIAyi3wVAmFj1tiasnqvABrzdWlsgDa4vInOASHH45Mt/ydAKUYtCjD+shXxS/9KVDAA8siGr2vh9dyWrg05EeVPYiX2yPneRj0bzAHLE2+RKn8mlY/17wNOx4y3NWu4ycYCmMu5zkNFlSxkG3OvLbpXVAVwK/NFc54Tw05yyRvf+DFeIQjWtLE9DUJPzOnmNO4uPgPvb60sFUAdRHOFVH6I+I0rRSBuDkNJSE+dI6y1R2UEi9i7eDg+tq3Mk/Cb65qFn1vhromCMqYvpoDTpIVZGclXYaQ== 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=vJk34oXWpcJMkHMLHm93BOcc//3lBEOtPI9++b+pPvQ=; b=IFjqu4US6XQkvwJSHcWmvLClYZZlqTkW4cSNNK8A87mTUtBT7gMAxs+oAwyd/BkMC6ETBldg0BfkFz1/sQBLcSTo2FOt4kk2VhZYXLq9wnpQVJcekfcFwPCxbV/jsJAFuKnrlXfzKCbd/lIMGhgaaHcVTgV3jVy8wHTB6+1jI3c= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4569.namprd18.prod.outlook.com (2603:10b6:303:fc::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.21; Mon, 6 Sep 2021 18:36:38 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29%3]) with mapi id 15.20.4478.025; Mon, 6 Sep 2021 18:36:37 +0000 From: Akhil Goyal To: Hemant Agrawal , "dev@dpdk.org" CC: "konstantin.ananyev@intel.com" , "roy.fan.zhang@intel.com" , Gagandeep Singh Thread-Topic: [EXT] [PATCH 02/15] crypto: add total raw buffer length Thread-Index: AQHXmYF1/4jGbcFpPUSx/ofSXcslHauXaS+A Date: Mon, 6 Sep 2021 18:36:37 +0000 Message-ID: References: <20210812071244.28799-1-hemant.agrawal@nxp.com> <20210825071510.7913-1-hemant.agrawal@nxp.com> <20210825071510.7913-3-hemant.agrawal@nxp.com> In-Reply-To: <20210825071510.7913-3-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=marvell.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5ae0c7f4-81e8-46c7-eb3b-08d971654308 x-ms-traffictypediagnostic: CO1PR18MB4569: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5g4n3OR2yixC95SjtIMsky1g8Tene0ZK7UHCyTlIT7/k98SubBxMwplnfz0J8vC02rzJ3adA9TnJwIJlBw77/EQDUHPAVdjocJtsufLz46ULhmE7H0hsFzDkwx4Zlu77UC12SaoxcfWiTLtNLmSBjOdqA3ZwVPlTCSEovI14pstX2uh1eG9FAutzSnJi7dVZTEiBMkggsKr/gRh1l4W7kuL90HbKOk+EnazPyF7Jm7cpHP2cyuviB4oDOV/nZXo51SzT3R+vG7KSoGSoKFjtK+aU2Am3YgTojhDI5e9k/lAm2xzM0Dx3/mJs3/qqm00fj08Vm12kr8qZ6vNWzUtkwXxi7t5hQZGCi3HwwHIDp5PqxaBIEp83v55s8UTACMzjvv6XeK/Wkp4Z2XdZzNBU0vyG6Mdhk4dBbfUpV06CGxXdAppvStldz3BHjJ/4l/H6MHMGH8/YVnEKljKhb9v5SeAqbxYXQVVwl13+8xvfV9slq+eXJ5S16zHQcAVS3VVsb2l2pNfpV1wBAGHb4OGPcYlXENv9nSoc+I8VaewBA0D1BewiXb2uxYy2hRmbfqT5+SJy2HCIH4a6exdmbJe42gmW83iySCiKs5WEzRCA7FDZS286xjVr6vud0jQzB5UpQpz/EarM7HfjgUVqfH3NmZ3WbjEcsHiwFdvjuOOV7CRtdeEyjsrJlBxQwunMacIwMuCtfaWvD+zFxCXkUxFLEw== 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)(136003)(376002)(366004)(346002)(396003)(39860400002)(33656002)(55016002)(64756008)(66446008)(316002)(2906002)(26005)(8936002)(86362001)(4744005)(4326008)(478600001)(55236004)(186003)(7696005)(9686003)(71200400001)(38100700002)(122000001)(6506007)(66556008)(66476007)(54906003)(52536014)(110136005)(8676002)(38070700005)(83380400001)(76116006)(5660300002)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gKXIoS3jnFNszE4YGJUZf9lDQIsPKu3T2nARWHAtY6hYHBmNu6xJt74Gqo3K?= =?us-ascii?Q?7KTQXu67K2EEakDArEJq2H3jYtmlR1SPevBJePLJvO++Ckf/88xTF4UKgSL3?= =?us-ascii?Q?tYN7EazNTS0uziAG8BA6L7HbX+CnxHxBtWMhLvKkCm4AXd0z0zbpccjEEpZm?= =?us-ascii?Q?eaUBICYRJYXs2lXyySRvwUBF5QpBqBPxoigT2ErjIisfh9u7tsV4fFrkG2/w?= =?us-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Z+QnRd79qqRv1dWnGR2?= =?us-ascii?Q?wvlljnYh+eWfABgEUz5gwaJJLNqIQiYAUVs65ur8lINkdftwPepBaAXLkbMK?= =?us-ascii?Q?8+BVvYd9ZUJAJfgAfOUXwLspZqkL5KlSOpVlXSUFJdxfqZcSo07KUhwVckmW?= =?us-ascii?Q?3wDrfc06kggvtlqOiBjSr9VPkaWcUhLM0SlBaGOiat58rJx7HFJeYZZWq4Hm?= =?us-ascii?Q?9pnrRfNHGO0m9CI21oZzXeta?= 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: 5ae0c7f4-81e8-46c7-eb3b-08d971654308 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2021 18:36:37.8884 (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: Zc+6Y5lErJ30GxbC1cWa6VVjlRAPossDG1vB8T6FOEMQCUuzP8GbbkivVUZuLbruHVG7uXmwrOR4pEIQ6XWaqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4569 X-Proofpoint-GUID: mtFZs9j1WvV5NqL2Czb-RyoLT3MuUwDU X-Proofpoint-ORIG-GUID: mtFZs9j1WvV5NqL2Czb-RyoLT3MuUwDU 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-09-06_08,2021-09-03_01,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [PATCH 02/15] crypto: add total raw buffer length 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" > From: Gagandeep Singh >=20 > The current crypto raw data vectors is extended to support > rte_security usecases, where we need total data length to know > how much additional memory space is available in buffer other > than data length so that driver/HW can write expanded size > data after encryption. >=20 > Signed-off-by: Gagandeep Singh > --- Acked-by: Akhil Goyal