From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B786A0C40; Fri, 30 Jul 2021 21:18:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91C6140040; Fri, 30 Jul 2021 21:18:36 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CEC874003F for ; Fri, 30 Jul 2021 21:18:34 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16UJFXDi025606; Fri, 30 Jul 2021 12:18:33 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by mx0b-0016f401.pphosted.com with ESMTP id 3a456tugyh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jul 2021 12:18:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+0ANvIVMD7tr88QLQ1UI4IxbySISuKQXTUdkLw38QUhZTvfPEbBzEWl3fQkQcySlF5kxZeWC96Knlrg3v5Gu7kUSDKbuNkcUMEDLPFTZ5ICqDj5AKrvEwLh4Hu76LPch2w2V8/q+4H8P2StypPc2ROohXecICrN8ia9da+RE0ePjZXh30UJfK6Aq5IRZeJazaHnnioEzzlFJ/PjLR9lMfXAtkfv1uJUMhB9b4UFZEBh8y2lbUIQyENNuVzXyniw6hQmds4F1VCz5NELzEwQ/EdCChcGCDgJgaDT9wAy5v1s5Fw7JL6rONM7Q6bCQRogLNX9cdZF3hlN4tEechndhw== 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=kXbzV5yXE5X8tC/pqmdUMvhonu8tc+RvSTeEUQ0T9WE=; b=b6epzv5OBu2HRd5QuxdQpE4oRwVAMAOxIe3Lbxyb3vaIE33nCEycR7Ddk7BtctDnAmzZ7KQZ1yn8Nt3YO6fJ+agblrCkyXelCtyPGTF3eAhKOq0h4nHpusO7W2yJisHICrGvwTF8PGn4HPFff0aDYVdz8XLWBiFLtMCKVq+/i791KKBfdPxDKcpxu3IZNysxCzuOPH2z0fEX+iUutIo5Vljg185vvxAvOEp0rqCgYiZrgt51oANwk8WPTQZI17X2tPBFap6JqBoqjayHdU1XOV1NnqXLw1JpBpTXeYjJM9qUuO6N1dyScpCOG9X7oGENkRSkmuCp0xF/fGBDwMeM7Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kXbzV5yXE5X8tC/pqmdUMvhonu8tc+RvSTeEUQ0T9WE=; b=EmKNk19LrVv4QnPN4e5GB7Lmt41cDbAFxLISt/Wdc4d/d1xNHpwUMjL7wUjcblTaNLnPw9XMCyWgxrmt8j9LaG3zr8sW0OiAXG6JgKw0LzzAZco2AKPufu/99cZIXRAhDyLkS8mXfC/aBhK0HAyzHDmk2yJ6p8Fzp9aGGOQPfmo= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4435.namprd18.prod.outlook.com (2603:10b6:5:355::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Fri, 30 Jul 2021 19:18:27 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557%7]) with mapi id 15.20.4373.025; Fri, 30 Jul 2021 19:18:26 +0000 From: Akhil Goyal To: Arek Kusztal , "dev@dpdk.org" CC: "fiona.trahe@intel.com" , "roy.fan.zhang@intel.com" Thread-Topic: [EXT] [PATCH 1/2] drivers/qat: fix wrong return value for invalid service Thread-Index: AQHXg8xDIiiY0IchaE6MYrqtqcl0v6tb5tVw Date: Fri, 30 Jul 2021 19:18:25 +0000 Message-ID: References: <20210728161831.6807-1-arkadiuszx.kusztal@intel.com> <20210728161831.6807-2-arkadiuszx.kusztal@intel.com> In-Reply-To: <20210728161831.6807-2-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=marvell.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 74ebee28-f8e0-4695-4072-08d9538ece40 x-ms-traffictypediagnostic: CO6PR18MB4435: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kRvfLb2ZiKtrAptqKOsxpOGmKVzUU//3+BzSrerzuWWRdjKzhSXT/DIGIc2MosU63h2MqIbMpiqMLFzA9bZ5oFYQE5BHLFBy/ENNfNXF4WEFuEYbFSX0I+GLflgAYsWOsWkm9UYUSza09GFXrC21QYqLlm3P7eDsq7/HldZ5aeZn3ELxUDLu6IkZ1rwgz/2Z+MV+5Vw0cfBOqrcjgqQ91x/8Wj3yk+/fi12DwbBzPjPB8xV5hb6SUXH6xUbZTgS2cNjmTNsV9FMLrLTGKZQSF8DRtisQuAQubUgl98vyJSkIfhtOLpOXahf2LPTtxwvEPd+iUYSWCjtEqmo1JVdNMpP9Hjpxab4tVulZcu453XFZ4mILu2dfCh4gnQhHDRpurXGZJb0xrYPXVfO3gOgBxQa78Ffje2jkvHaHkSocpbCIgCRJUQYsvnkuYcB9QFubwFG3BM2XKF/mJs1/dBWtQHBLEKPqJX16QRtRbrpQVaFQAM8a7CzYbluSQfpQaT+u/F/Aonr8UJ++7FaEQ07k4U1K9LVZOgP8rZaWGz46kvZqLbyGFGtG8ROWRKYfiNEwVyeFSJH+okokJMhryP+tiG4VOD5Grs0P1nOqRunOHAkprVodoum+eW0XAYWpzYcqx95f3R4qR//t5sJU//zElg1OiQSo2w4Y28aNwBE8UnG8ipvc9Oj4ttOeuTsS3RIicenRFu62lvhaHbdNTRCrGg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(39860400002)(396003)(346002)(376002)(478600001)(66446008)(122000001)(38100700002)(26005)(6506007)(186003)(64756008)(66556008)(2906002)(4326008)(4744005)(316002)(9686003)(66476007)(8676002)(7696005)(5660300002)(71200400001)(33656002)(55016002)(55236004)(83380400001)(38070700005)(52536014)(86362001)(76116006)(66946007)(8936002)(54906003)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ezuRwTXGoI3FygNbIgSIQHtYTyUpJxysyCXjzlmZ8a+Y3CXI0eNTJ/tV1hNU?= =?us-ascii?Q?et+KKGzQJ2qVluiBdNyp74kPE/NWja8Bku+4C0er6ShVbvoQZGOq4tnMIloT?= =?us-ascii?Q?Sa2m7mJeNYy132xGu/Bi3pFjn6w9zYAT0fKBajvD1M/vDeyuf/lvY8W3qIUN?= =?us-ascii?Q?WOI3NpnDnIqX5RyHmToxnYyEj5Zsu6WrvUNouhkT61sL/pAWlK6B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hDKXYh/F21uz4M1iteUXToDvqNhlDfJb8M?= =?us-ascii?Q?iDr0hNTjHZTtSWZ1xCHRLDKPWK9Y/leWI2QZxzGMI+ukvqNICV6xij4qwjRb?= =?us-ascii?Q?7n6BVRaR7yKqeTtrHHppfSfwanT0G1Kwx26kCYs0spV9GpBotU2aFCzg+jls?= =?us-ascii?Q?KOXR7L7z/JmINNQUio+AcrQywsL7em1hs6Iq9c8EpKi21xGDuMaWqzbwBesH?= =?us-ascii?Q?6g7cy+61aSgQJOR9wr5C5z3u?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74ebee28-f8e0-4695-4072-08d9538ece40 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2021 19:18:25.9030 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ui3B+eWm77IT7oMyBxcpIphJcT1/vTFkIezHjvmmu2S5sklojCMTwKTe5ihahXB4BzkfqJZfytzKJVC0YsHAfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4435 X-Proofpoint-GUID: 5GWvy7iQWvboUUa4j4B7VPTLjGJjvSES X-Proofpoint-ORIG-GUID: 5GWvy7iQWvboUUa4j4B7VPTLjGJjvSES X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-30_11:2021-07-30, 2021-07-30 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH 1/2] drivers/qat: fix wrong return value for invalid service X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > Subject: [EXT] [PATCH 1/2] drivers/qat: fix wrong return value for invali= d > service >=20 Title changed as " drivers: fix return value for QAT PMDs " Please check ./devtools/check-git-log.sh before sending patch. =20 > Fix invalid value that is returned when asymmetric crypto > or compression service is selected. Description is also updated. Please check. >=20 > Fixes: 8f393c4ffdc1 ("common/qat: support GEN4 devices") >=20 > Signed-off-by: Arek Kusztal > --- Applied to dpdk-next-crypto Braces across 'EFAULT' are not needed. I tried fixing it, but it is being Used at many places. Please fix that in a separate patch.