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 0293BA2EFC for ; Mon, 14 Oct 2019 07:20:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D251A1C1C7; Mon, 14 Oct 2019 07:20:26 +0200 (CEST) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-eopbgr810041.outbound.protection.outlook.com [40.107.81.41]) by dpdk.org (Postfix) with ESMTP id 47F731C19E; Mon, 14 Oct 2019 07:20:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VoiraSLm8jlgtVTSiwBfJ0VWSlrK9KTtrEfKDJPcNTkiqf4y/p8egkRFEsfLWbav7RmVQyKHj6xYVomkGNTvIE2tA2km23tZnm9GCX3dgETUNrHjEMcD1lIuBCmouJTOiR8UcYqiy+5sRSezu408UIg3L1LCLgJ7sjayvTdyzQLgVQxlC+9TsTGnEcKqn1699Lm2RZv5DRJF6n5/X1e3rZk7f8DeCeRmsZ+QREjZlR627Rhxfbwri1Y3QvtzNuwMFdPlT6n4hFAVNscio/gglZrIQmdu36YjzrsHioq2kLvy8sw9f6aC+AeslEV+PLwdmYbJg1/E6DQrJISnkXKExw== 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=om34HFQCKDMmescMH9sd63ZDK8BLo1asjdQ2jBgvNJU=; b=YKm0EdMgJMb54zcnWPO3lNYcKK8Pq52W6aXfjHt7MnLZxj58Vwmmmofmih3Zq8StQiFElUqk6xslUkJn3UDCzfCLTZ+OmNdC5ngGUZ8Z0rllP4WKpnAUz7WwdlIlse3SSIwq/+5n8rU1ZqUBfkNAo+ANOSWNecqZXwyIq4jSjgB5RRIkrn/kp3u95sTse31/7c1NesYZyZqn249hac7ss+hOsQ1cnNsQiRSEg2CXAPzJf5ZM18bZBsCoM4LjbWr+rd2XQNvILdld+7/zIJSsqH06v7CgXr7TI+EXdoikYSeXH0QGDYPId50UXJ0U+1M3iJ+ZugIJ7tO4Aqcm7HvHFA== 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=om34HFQCKDMmescMH9sd63ZDK8BLo1asjdQ2jBgvNJU=; b=V059K/2ywAnBdsLrmYFMS5LoU7iVGxW970eE059ofnHnKbzHainC+FwN8hN54SiGhj1BYfona2/pCJ5dobvcEgrOPnl3y/UK2jS16CrGB9+iifaWWSJN9XG77PSct7epgNB5f825MD+BODWeasOi32bnbUjLMitNJLN+WGPkVZo= Received: from DM5PR1201MB2474.namprd12.prod.outlook.com (10.172.87.136) by DM5PR1201MB0027.namprd12.prod.outlook.com (10.174.108.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.19; Mon, 14 Oct 2019 05:20:23 +0000 Received: from DM5PR1201MB2474.namprd12.prod.outlook.com ([fe80::f3:94a5:9dbc:1fd5]) by DM5PR1201MB2474.namprd12.prod.outlook.com ([fe80::f3:94a5:9dbc:1fd5%12]) with mapi id 15.20.2347.023; Mon, 14 Oct 2019 05:20:23 +0000 From: To: "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v1 2/6] crypto/ccp: fix for max queue pair and max burst sizes for ccp drivers fixing crash issue in VPP when ccp used. vpp max burst size is 256, and minimum queue pair required is 3. Thread-Index: AQHVgk8UU1jhGo/ptk+OYl6vcYAw7A== Date: Mon, 14 Oct 2019 05:20:23 +0000 Message-ID: <20191014052002.11712-1-asomalap@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR01CA0158.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::28) To DM5PR1201MB2474.namprd12.prod.outlook.com (2603:10b6:3:e3::8) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Amaranath.Somalapuram@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [165.204.156.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 86d6a434-3163-482a-5a30-08d7506636a3 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DM5PR1201MB0027: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:296; x-forefront-prvs: 01901B3451 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(136003)(396003)(366004)(199004)(189003)(1076003)(14454004)(5660300002)(2616005)(66066001)(486006)(4326008)(476003)(99286004)(4744005)(256004)(66556008)(71200400001)(66476007)(64756008)(66946007)(66446008)(71190400001)(6436002)(478600001)(6512007)(5640700003)(2906002)(316002)(450100002)(7736002)(25786009)(2351001)(2501003)(6486002)(6916009)(386003)(6506007)(102836004)(26005)(52116002)(186003)(3846002)(6116002)(36756003)(305945005)(8676002)(50226002)(81156014)(1730700003)(8936002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR1201MB0027; H:DM5PR1201MB2474.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: AMlfcuBlXHT/D4AHAqOIWD9vyKvvrDzZ/TyeoV7XIOjx/W/a50Le3j5VkCK+f783nuoOKoYmvsJMnwxdo6Ik3XsNB/SjAyW97eqqJNZOkQd2iiWBMP51UN3sVp9ueugO0PikLJYNqYo7YboclaU6QNrXbtSjyuw961gIskCuxmPwwebCXdKywrqlqB61PFNUWDFLC6AuMlRfARnq4OLJ0f/I0bLoBHIwdgXMsM5YVtuJTy8jH8u37Kgepfd4VgDfciFVCqP7d1A4/bkt2vMW0u3doWBIom6T+PMSl6eY6g3gAdJAQ/SvLoRNodDX3RdrhIfDPn+Sr3nhu04ZUED1a4JN47WUdlihBLJZJm0w5ohqBIBrJPNzthOSmRg/AX8ESnTg1rliJlz1BO/j3fvb9+Tmn2ETaOv1UwcoVMlgCVo= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86d6a434-3163-482a-5a30-08d7506636a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2019 05:20:23.4853 (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: 7UiGnDWk/jLblI6imMCv7hrof0g20JaL1xY8u7yC3w70JGLcjvPAKBdIQ3NfS0ps6GxdpE97fRtaRvkuCz/5Cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0027 Subject: [dpdk-dev] [PATCH v1 2/6] crypto/ccp: fix for max queue pair and max burst sizes for ccp drivers fixing crash issue in VPP when ccp used. vpp max burst size is 256, and minimum queue pair required is 3. 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" From: Amaranath Somalapuram 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 =20 /**< 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 =20 #include "ccp_dev.h" =20 --=20 2.17.1