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 83D17A04C1; Fri, 22 Nov 2019 07:49:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5FB952C2B; Fri, 22 Nov 2019 07:49:15 +0100 (CET) Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-eopbgr730089.outbound.protection.outlook.com [40.107.73.89]) by dpdk.org (Postfix) with ESMTP id 6EC292BF9; Fri, 22 Nov 2019 07:49:14 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZPVklw1OwNUWHnHNYeybPQo83jts1XFBiIA+ZgEdXW0Mqdelv49qWpjPI4SWCCUDxvJ6LxGj4HByGYPug5xes+OM8ho8MSDKnO9nUT8J/QE2FebDK0Vz+0QldYZFf4J/voJ3HPvcbvkwYFn2x9e3y6/8F7dk4ZSqv2TA17t4e7eruE4VsJ4fIgZkk9tmVwclT8f2yvHZtt5Vq7sKatXMPxA8GPWnrdbHPwKVT99dXcep7YMt4iR8XKq1vsd/TDnnO+kJr0tgF0XdvIR7CNlvUrUH58pFBpEM3jnB7kfHmcRxe7bTebxq46tUlHSl/TRjfkwb5FHLCAOV7df3Cs0bSQ== 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=zftQ8HGLP3MDbP0UVrBj3qGKlCMEIrk+/Ht8F24cCKE=; b=c6TI5hihDh6LpIJnrvbLR/eescJTpIZp+i8SrRGzZcVVpV2DI+YL3/b4pi4rRi/hHj/OyPQ15T+JBxnn+24ECeQuw0d9kPZLUm3uLUFSsxE7CHQqfGs4yyKYaQ4k6QCKRsOMB9V3OM5N8RdAOVy8Lr0mJPRbC0qV3hCUUpJtB/3+oMOSbuJpaAOQMQ6Zbwbg/ZevtVx9VhZYxrQUUXcfXpsqVouE90Py/DpfHrm6fbWd6AwN2A+Kc4RYXpU0HB0jg3BAj0wg/jad13/34DL13IvuNr8ryEkL/uIAd5jCBNavVXzlb7IYJjJK85HHRtYbErpJNHgmhBviae2SPMafBQ== 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=zftQ8HGLP3MDbP0UVrBj3qGKlCMEIrk+/Ht8F24cCKE=; b=U6x+2V5BsKxGGjMUXw0DVK81LinNaCm9MlqGvjsm2VE1ETTe1YfCRsOGsS8aYBP58HEIN6/Uuofu+s0Zx9kRwSJx0wQWnhsxV5O4ad6+PDm6IQdXMf/hoHwVrcT+7eZTOyvqJxvKHFCTL/E1/I1Tsen3Q6Cd9UCJ1sj+dcNRvo4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Amaranath.Somalapuram@amd.com; Received: from DM5PR1201MB2474.namprd12.prod.outlook.com (10.172.87.136) by DM5PR1201MB2473.namprd12.prod.outlook.com (10.172.87.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Fri, 22 Nov 2019 06:49:13 +0000 Received: from DM5PR1201MB2474.namprd12.prod.outlook.com ([fe80::3da8:4a0d:72f9:d41d]) by DM5PR1201MB2474.namprd12.prod.outlook.com ([fe80::3da8:4a0d:72f9:d41d%9]) with mapi id 15.20.2451.031; Fri, 22 Nov 2019 06:49:13 +0000 From: asomalap@amd.com To: dev@dpdk.org Cc: stable@dpdk.org Date: Fri, 22 Nov 2019 12:16:15 +0530 Message-Id: <20191122064615.94115-1-asomalap@amd.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: MAXPR0101CA0054.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:e::16) To DM5PR1201MB2474.namprd12.prod.outlook.com (2603:10b6:3:e3::8) MIME-Version: 1.0 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [165.204.157.251] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 599acc6a-7983-4bc2-b74a-08d76f181564 X-MS-TrafficTypeDiagnostic: DM5PR1201MB2473: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:989; X-Forefront-PRVS: 02296943FF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(396003)(39860400002)(136003)(366004)(199004)(189003)(16586007)(316002)(305945005)(81156014)(99286004)(8676002)(7736002)(2361001)(2351001)(2906002)(2616005)(6512007)(3846002)(4326008)(81166006)(450100002)(9686003)(36756003)(6436002)(66066001)(478600001)(47776003)(6116002)(48376002)(6916009)(66476007)(66946007)(186003)(50466002)(66556008)(6506007)(386003)(51416003)(52116002)(1076003)(14454004)(6486002)(5660300002)(4744005)(8936002)(50226002)(25786009)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR1201MB2473; 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: v+orjRWNYvuoo4+dlP7Km2f51rR1hRQO/OdB5QL5f0RP5hK0sRbjdKl76ql1S4M8Vw07V7FXKnRMKRSLjR27ECB3QfK3Q4t4We3WHSx/x9THPJsgCdJ4oGmTlre+oKo4Fx5W3r90Q+wcXdXa0rATDNNz9yZxlc6O69NuxTbTBbU0cDHREaX+3UHrDIYlkuCDyYmvMsYPCpWCXhjczzNQm1PYdKevurGUP0wWXEg5VJw/JCsmV1NVnP7WARMDuPEacbK4Vy/j1wBCrczvXoyoi2qkviwMjHQzcJ7+aDbL8r0M2hh1WXHffzif+X+sTfbNvFZiizIMRnXUPp2ZkDfn57PO0Z6QdGzXptJBTOImffcc1fUmzCpOFUVifDKu7J7Js/uQ6ORBUADtEmqSUNF834M5wM70Ip4sTl53sI2e4TAkZSQsXzCtC+WHyskPGKen X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 599acc6a-7983-4bc2-b74a-08d76f181564 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2019 06:49:12.9772 (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: k87Rdml3Ga2sCDzDZ3AINLTtCXgtEt0gv46FzlPJ6bCKUx48SIgLWnuvGPMXjZ0t8nnMBtIvF1zL/q/U0cSPzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB2473 Subject: [dpdk-dev] [PATCH v2 2/5] crypto/ccp: fix update max qp and burst size 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 CCP driver crash when running l2fwd issue happen when changing MAX_PKT_BURST 32 to 256 increacing the CCP qp to 8 and CCP_MAX_BURST to 256 Fixes: ef4b04f87f ("crypto/ccp: support device init") 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