From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DEC2DA04A2; Tue, 5 Nov 2019 23:59:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2B8311BF88; Tue, 5 Nov 2019 23:59:38 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00075.outbound.protection.outlook.com [40.107.0.75]) by dpdk.org (Postfix) with ESMTP id 645EE1BEBF; Tue, 5 Nov 2019 23:59:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oMNOPQuutgUwL6r3xsfrWTT3V3RRIlW7cDITv5hyjOmEeSGb1YHmtTX2Yfx+guyfSmeVd2hzQYPwYVG4Y4JL7b31tQNtniqNWVmvSYjl4M6ihfy1/1Et43iIGtiJnyudahRNjLUphlB8gcHLcCPSd01YQAwvnFBVL9drP+AWGIQAuc4cO2nTWDx0lGKKjJrafa6ZD/rnY2eDN1psbEJmvqyfUZCvnNy/2GNx83iauX0pB6awXGnadaa+Je9SIJXfP3p6is4msG+qI63kx8WqmP/LmW7X4jCaveJPkGlqMZ5+IGYpkjeGd1wFohU7jdK+BOQYAq01OagyaR8eltaz2A== 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-SenderADCheck; bh=LROJS6eXpSlTUEmK1+mFMBdIt91woE7DW0jdw/gAN3g=; b=VcMIY/2t/1Qy3CoTOGt6d8KqXrxYuXVLBg7ezO2mxhhEyWWT5jKEEMd3aby9pGxBQ93sUpU5N256NhXv8vg14EInbB//+bzPy09h+m8LNkKEslXbxFinBppLUP3EBXmf25Nup8A/sCIogIdEcUYY2Gxp9/Ku6pdEhhL21vcZTDd9mJtcvPmM2cSUz4EYJebXQ+Grn2eUbK+piuy9YvizfmQgnVoNb7wK0gM6wINbKvLEU7R7s3HAe9Kl761Tz5EDA/WxD+RxmlM1fX754gcJ1pJ2fbwPpBxSCiYp5CLjWJ4syDYQUbHyuiotxX2aIrEjHAi3qtcM0McroACxSIWKog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LROJS6eXpSlTUEmK1+mFMBdIt91woE7DW0jdw/gAN3g=; b=cfMr7AuGSWwHMb6euq9NhRpKclrsRbvTBKbmZF3980rb6pKrfYxphbfo6Fbhcci6tlH8GKnKi52ibl8GyndXwDZQNpWUQpXQnUA0Rr9kyrm/PWRpKF3Y4dkYg69ztaH/+RZqxx1Us5xBu+gvRPTiTIIAd2vSaxkGj6cHeMHsSHE= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6720.eurprd04.prod.outlook.com (20.179.234.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Tue, 5 Nov 2019 22:59:35 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::9dc:aa5c:2bb8:b561]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::9dc:aa5c:2bb8:b561%6]) with mapi id 15.20.2408.024; Tue, 5 Nov 2019 22:59:35 +0000 From: Akhil Goyal To: Akhil Goyal , "dev@dpdk.org" CC: "stable@dpdk.org" , Hemant Agrawal Thread-Topic: [PATCH] crypto/dpaa2_sec: fix length retreived from hardware Thread-Index: AQHVlB9J724PfHYKLk6X4CR86Nyiv6d9MQtw Date: Tue, 5 Nov 2019 22:59:34 +0000 Message-ID: References: <20191105210712.14554-1-akhil.goyal@nxp.com> In-Reply-To: <20191105210712.14554-1-akhil.goyal@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [223.190.56.205] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: c583ac0f-3ec8-4b87-8449-08d76243d3ec x-ms-traffictypediagnostic: VE1PR04MB6720:|VE1PR04MB6720: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0212BDE3BE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(346002)(39860400002)(376002)(136003)(366004)(199004)(189003)(5660300002)(4326008)(52536014)(9686003)(81156014)(33656002)(446003)(6116002)(3846002)(486006)(476003)(11346002)(66066001)(4744005)(186003)(74316002)(54906003)(2906002)(2501003)(14454004)(110136005)(7736002)(305945005)(478600001)(316002)(6246003)(66476007)(86362001)(71200400001)(71190400001)(99286004)(26005)(76176011)(229853002)(102836004)(64756008)(66446008)(8676002)(76116006)(25786009)(44832011)(66946007)(8936002)(66556008)(81166006)(55016002)(7696005)(256004)(6436002)(450100002)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6720; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +JFwAhYCGxKwuNM/sAMCuE74XmdKzap9jHpXVCcsAnhx5G22LvuNMnROZ+lb5rBY3h/Flx4SbFXMjVFIzPgnqzkO24fNnc7TehjVrCMTkRVx9+xC4As95IYWfCEbEFFKrP7FyrpCpdN+r2GqX5m188gobXEfk9xgpfzfjKTyD5KEtL8qnopn/FIONa249Xi8yxK/NUUp8PT3I4va7ka+1ytFcZlz63Gpie7/Kfy/A04gKt8a4bYpEFKBDAWaVuFXeCMdWYRn9DeMzUaV0DAbSlNw1OupjqkG8pNboRKN9sSYD60N4RaOBB4V2hx4vd61qssa+3zI2gjuidJqpZNBQd6mZ/ayyOZWAvgPG+iS9cBuv0YQ+qet8Nwc9g4nU1vWjk2OjVEpxnrMyi6smPTH2OFaM1v47TWDnLJ5GViR4sB5ykrZe2gx10RviKF1ccxS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c583ac0f-3ec8-4b87-8449-08d76243d3ec X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2019 22:59:34.9810 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VeDkpwjgi0hmuCX+3rj4wKs5FBMYN80FTyrRVMZp7DhcZ0vvscRQUsyizowI/kgiv+jHMtg8cBcnk1M5n2ffXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6720 Subject: Re: [dpdk-dev] [PATCH] crypto/dpaa2_sec: fix length retreived from hardware X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" > FD retreived from SEC after crypto processing provides > an updated length of the buffer which need to be updated > in mbuf. The difference in length can be negative hence > changing diff to int32_t from uint32_t. >=20 > Fixes: 0a23d4b6f4c2 ("crypto/dpaa2_sec: support protocol offload IPsec") > Cc: stable@dpdk.org >=20 > Signed-off-by: Akhil Goyal > --- Applied to dpdk-next-crypto Thanks.