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 F1EB8A328D for ; Tue, 22 Oct 2019 07:18:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F05F49DF; Tue, 22 Oct 2019 07:18:54 +0200 (CEST) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-eopbgr740071.outbound.protection.outlook.com [40.107.74.71]) by dpdk.org (Postfix) with ESMTP id F270637B7; Tue, 22 Oct 2019 07:18:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OPVjnANA5TL9wD6/HOP04wuwzpo07kGyMcIVcFvd5tIVJ4DNxryc39ta410T6uniE9wZIM5BPBCRcoCY6/VgKNrPjvf96l1whCVQLLOqKYsOrvt/47mzYoCchwoUdz/MdSAUfFNyAPIxGI/gKJxE0x9DSYsFD11z5nelzDJ354ggbXe8KzVzRyzWrF1c5KCAtetIWgMaBYUk8Vc4AJFJVC4dphdQTO2DnZhvgHM8/XgbYwXZbeHas7bST8Nhq0ih/v5F4hmmF4LLYjnw7S4W57ZfRb5d5t5iLEi59WSosVQrdpFtYuBFwyB4zr/RMI+r8t4VF/FXLieLc01MD5Zcow== 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=vB5RXXgqU8X/1LR9Spn3oiUWA+WK9Qu+eg7ORkycHZ4=; b=CHdkaCD6/dHgSK+i2a1r2TZAp7GQFECfI6fRACM7OmWlA8emWO9NGBLXzRJzeF+Il3ygS4fxW1Fd6/TVcfGaX405CrB+KfUCxXz1NhEwmFIn82aBw4ET4bRw7nrBIq/BumB6qeB71o1FdsrW+XCM+rxJ7bSYsUKWy7dUghAiF4A1Pu1YV8GGa9Aa2JdbACaw0J95IlIW9f4pAyziBrBl3j/2cBJ8kDTRMMuKNBAgR0fkGZTmu7ojT/LxVGygqyg6NVyCb9GTnASOJk9VMshvModMia3O+zMsEepYv/6Qj0hHAUA4jnAPBUXiu4aTRoHgYlcDzmMinHsG+vggVje5CA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vB5RXXgqU8X/1LR9Spn3oiUWA+WK9Qu+eg7ORkycHZ4=; b=lKvo+VzSIy7BsKi7Bbm79G/aa41qhdSFIutvRGUi4jZZzlf8MxnOjfCyE9Y6qoieQImfizwNjpYRkMrrNod8idu1JT4LXVLr559ZPfAcHyMx6ysNv54/HqoOwWW61SIhxnFbevC8RuX0JL+mS5cppN77wY+yJ+iKPOEJejzWO9g= Received: from CY4PR1201MB2471.namprd12.prod.outlook.com (10.172.116.10) by CY4PR1201MB0118.namprd12.prod.outlook.com (10.174.52.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.20; Tue, 22 Oct 2019 05:18:50 +0000 Received: from CY4PR1201MB2471.namprd12.prod.outlook.com ([fe80::1d96:48a6:87c3:6c93]) by CY4PR1201MB2471.namprd12.prod.outlook.com ([fe80::1d96:48a6:87c3:6c93%10]) with mapi id 15.20.2367.022; Tue, 22 Oct 2019 05:18:50 +0000 From: "Somalapuram, Amaranath" To: Akhil Goyal , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v1 3/6] crypto/ccp: crash when using ccp cpu authentication is used Thread-Index: AQHVgyZjqDIZFySiFUO55qa6IdDkV6dbiM7ggAqgo9A= Date: Tue, 22 Oct 2019 05:18:50 +0000 Message-ID: References: <20191015070112.92937-1-asomalap@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Amaranath.Somalapuram@amd.com; x-originating-ip: [165.204.157.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 14e77c98-a22f-4dfe-5f89-08d756af52ea x-ms-traffictypediagnostic: CY4PR1201MB0118: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 01986AE76B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(39860400002)(366004)(346002)(376002)(199004)(189003)(13464003)(2501003)(66476007)(66946007)(64756008)(74316002)(76116006)(305945005)(66446008)(66556008)(7736002)(33656002)(5660300002)(9686003)(71200400001)(55016002)(71190400001)(256004)(14444005)(6116002)(3846002)(476003)(11346002)(486006)(446003)(229853002)(76176011)(99286004)(26005)(110136005)(186003)(53546011)(6506007)(102836004)(6436002)(14454004)(25786009)(7696005)(81166006)(316002)(2906002)(81156014)(8676002)(4326008)(8936002)(478600001)(86362001)(6246003)(52536014)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1201MB0118; H:CY4PR1201MB2471.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b1Orh0253ueRg3S/NLBu+P4gH9eHk2ezP+9oaiXipCofTDw+IjQNwMs4nK3HNIcGv8tQxz7VS5ZpVPfS9RFdUaSJYhP3LGyDEiO0ND4BZDoiqArALHLnImkmR/kh0iJ/SlN2tnbbQc54asljwGPyyoxCMC+dWqYlx3yL+iKwD4/Gi3/khOfNak4UdpmYtzIZjncBEhsEV+czAu3nerPSXb+88IQ86XVMm6PgV/1AfO+JSV4x2RbKi/eNpzz9XJZcsQrtIu03qUPvCHN3gAr0cMcZpVfyY3Q9VELPiQCXBML3SxnrV0WkZriWCsuk1ayo2+qcs5qi699AOGDGIyJaD9nkdRYKTUkJAfdTL4N38MYHm+Z/NtRz9Zeo1EkRTDSrVy999E/DMoTSQM9Mu9h1FZuBqkij7fK0SREyR8B/DeZyLei3BmFcwr6z/avaRCCB x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 14e77c98-a22f-4dfe-5f89-08d756af52ea X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2019 05:18:50.5022 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: apcy8Yo8KNtifIT3f8tsgRpaHRftLM4SM9/btQjJOVRa8gDLyxVK5FoAbeXi8mE2JHsWBq5fcvCWmJ7kFP5aSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0118 Subject: Re: [dpdk-dev] [PATCH v1 3/6] crypto/ccp: crash when using ccp cpu authentication is used 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" Hi Akhil, Not sure about how to use fix line if I don't have bug number. If I run ./devtools/check-git-log.sh it expect bug number.=20 Do you recommend to log a bug for my patches ?? Please let me know. Regards, S.Amarnath -----Original Message----- From: Akhil Goyal =20 Sent: Tuesday, October 15, 2019 4:31 PM To: Somalapuram, Amaranath ; dev@dpdk.org Cc: stable@dpdk.org Subject: RE: [PATCH v1 3/6] crypto/ccp: crash when using ccp cpu authentica= tion is used [CAUTION: External Email] Title: crypto/ccp: fix CPU authentication crash > > From: Amaranath Somalapuram > > when ccp_auth_opt=3D1 is set and > if authentication error occurred ccp driver crash. > proble is enqueue count and dequeue count miss match if we continue. Please rephrase this description. Fixes line?? > Cc: stable@dpdk.org > > Signed-off-by: Amaranath Somalapuram > --- > drivers/crypto/ccp/ccp_crypto.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/crypto/ccp/ccp_crypto.c=20 > b/drivers/crypto/ccp/ccp_crypto.c index 19ae9153d..1837c8543 100644 > --- a/drivers/crypto/ccp/ccp_crypto.c > +++ b/drivers/crypto/ccp/ccp_crypto.c > @@ -2738,7 +2738,7 @@ process_ops_to_enqueue(struct ccp_qp *qp, > session, auth_ctx)= ; > if (op[i]->status !=3D > RTE_CRYPTO_OP_STATUS_SUCCESS) > - continue; > + > CCP_LOG_ERR("RTE_CRYPTO_OP_STATUS_AUTH_FAILED"); > } else > result =3D ccp_crypto_auth(op[i], cmd_q,=20 > b_info); > > -- > 2.17.1