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 2806BA328D for ; Tue, 22 Oct 2019 07:21:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5CCCF493D; Tue, 22 Oct 2019 07:21:37 +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 C9F692C0C; Tue, 22 Oct 2019 07:21:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IEoDyx5naxOjmHHU3DuCJu9oaVSdjV26KqJnTtYE5GPPvpxWhwqkM+E7mj1gp/vQA6JB+QrAhrnvZ06x5qKyJBH4x8FUGLsxBiVDpZoVh8ZCL7FJH0dPap0hy8/VeEW6b5ynJjaGXsB1dl6PiiuOyjN5hacH7/ZxAOXO2EjHF2pFFUhI09nhxTCdnhmRoNGY6IREnl3eRrBOGavrthvTlSmnDXqzp20Go89yz1lZy5f4lQakPO1flfiTjIybczFm0Qu7nU4UL/xcRxH1s86dpELWDKI2jTQsoiM8+7rF68nSyFnZSmlcmO/Gbpraq0BD0YuR7oPDLEOPChXp2k3Pmw== 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=5SbOHxQSyIIFOhw1FIZ5S/H45LqTX1cKRR+Plnj8wEc=; b=XInWaVVN5n5lRz1WjeK0utNwkrDM64aYIBpHh+uBW7cTzlsISM0h68ozcgmSCj66urbEppYo1GcShRKhI1WnfHBhIyfTtCEMWlcwoNnef5LxY4RpuxmN57ScwIGBXpPmsOBMIiqeDF/OhhjzY18TrNPOP3oPP8lI+cT9ersBuRUWqhV/iWhY36rNhyWFLU01f+0vIiXYVWjxHUA2RgbIuVmy8HjspY22ItT8Bryo5qZgz4rpbx1AO/EekHDO/80MlzRG+/bmK4a1WLxavnP1zdRjrG9NqMs5yXrKhBhoY7xp03CKAm3suUglqIpFOTvMjOB9fQulNSdF1GCIJwfSzQ== 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=5SbOHxQSyIIFOhw1FIZ5S/H45LqTX1cKRR+Plnj8wEc=; b=yEPzfxzDLMBZxomKPS+JNsQZgOdWR7NM3cqVafw/Rd9J2XbJ+oJLljxrMMsNFLYJ1IYIf0xX/ltvaHr8XjiZZQFl1LZF0Uw0cFniGj1fUxiuAO6uttWlmZwIGEK0QlNUGrjA+677XYEIaFGBWIZ1ox2mgMkBPJXc6bjY3MJZ16s= 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:21:34 +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:21:34 +0000 From: "Somalapuram, Amaranath" To: Akhil Goyal , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1 2/6] crypto/ccp: max queue pair and max burst sizes changes Thread-Index: AQHVg0dybcurX3nr70qBsAnAK9VJQqdmKefQ Date: Tue, 22 Oct 2019 05:21:34 +0000 Message-ID: References: <20191015070042.92707-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: ecb3261b-2f6c-49e2-2088-08d756afb4c6 x-ms-traffictypediagnostic: CY4PR1201MB0118: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:989; 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)(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: 6wC+RG9YCJl68zKNF6rI4XDh0+EYdt3MVxcsri2/mW5pBYeTElD2iROT4mM/t3ps/E4O0kPlhXDz5kZt9xhihhPnAf1yVJ2oAXP4VLxDv8RyT18I8T8W3EwTl6kfQicNFeGfUJuBZdqJRD3MgZlgi30o+7CbUAe+nKkqI3e91viluCteY5Amib2WdxxdjKZXvAGSefiAGhe5lf/YDp8EmRjipzKEFvfl41l2ntBNLaZApfQfmg7vgxO+alI2ze3av+nfH7FoYZms9UvTR+v+znUi8yvhbTeVbi4pkBEHmdeYpLaI5DE9BojE/BoyGxZpFhaNpL3pHy5XPb2OrmtCGWhmmsnteIZWmwzs91/DR+lDHW58e7RieBiuKw5ymPg+u54+5dTdvSk8OQfGkZSvnBzT8vUjfAGzEIKGzli7EM08YiQsxuRD+Viy4h3NWfpe 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: ecb3261b-2f6c-49e2-2088-08d756afb4c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2019 05:21:34.6654 (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: QND1SWQh5VvIlTlplbzRHbFzcurwROZvUh4YFJvE06KSo9r8HOEmFfERXBhWoUvh4yptB8ARYHjHTqkmXUMVfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0118 Subject: Re: [dpdk-dev] [PATCH v1 2/6] crypto/ccp: max queue pair and max burst sizes changes 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" We can reproduce this issue in l2fwd by changing MAX_PKT_BURST 32 to 256 -----Original Message----- From: Akhil Goyal =20 Sent: Tuesday, October 15, 2019 4:28 PM To: Somalapuram, Amaranath ; dev@dpdk.org Cc: stable@dpdk.org Subject: RE: [dpdk-dev] [PATCH v1 2/6] crypto/ccp: max queue pair and max b= urst sizes changes [CAUTION: External Email] Title should be: crypto/ccp: update max qp and burst size. > > From: Amaranath Somalapuram > > issue occurred during VPP testing, crash's issue in VPP when ccp used. > vpp max burst size is 256, and minimum queue pair required is 3. Please explain the issue appropriately in the description. Does that mean, without VPP, this issue cannot be reproduced. Add a fixes line with the commit which introduces this issue. > Cc: stable@dpdk.org > > Signed-off-by: Amaranath Somalapuram > --- > drivers/crypto/ccp/ccp_pmd_private.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/crypto/ccp/ccp_pmd_private.h > b/drivers/crypto/ccp/ccp_pmd_private.h > index 7f2979e89..781050c31 100644 > --- a/drivers/crypto/ccp/ccp_pmd_private.h > +++ b/drivers/crypto/ccp/ccp_pmd_private.h > @@ -31,9 +31,9 @@ > #endif > > /**< Maximum queue pairs supported by CCP PMD */ > -#define CCP_PMD_MAX_QUEUE_PAIRS 1 > +#define CCP_PMD_MAX_QUEUE_PAIRS 8 > #define CCP_NB_MAX_DESCRIPTORS 1024 > -#define CCP_MAX_BURST 64 > +#define CCP_MAX_BURST 256 > > #include "ccp_dev.h" > > -- > 2.17.1