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 7F385A00C2; Fri, 14 Oct 2022 12:28:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EF8342D26; Fri, 14 Oct 2022 12:28:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6A72642CF8 for ; Fri, 14 Oct 2022 12:28:56 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29E2JJqC005854; Fri, 14 Oct 2022 03:28:55 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2175.outbound.protection.outlook.com [104.47.57.175]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3k6xvp1e89-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 03:28:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SCRAMTbi67aYt0OlwyLlypcgXA0M0+aNYNEjlssPfqojrsDSf83z+HlQp09wsU7Gr+NI0NWv3ilvi97KALI2lZjjtjmTMpP8d02XnIUEBS+Oo+Kz6NVAR75XHeApofz6MmURJULjI4hJ07pjgkNiy8or2WvrFKIFmeb4jn6GrCm/bbZQ3FjTDrjpCxTn/bmzypsUqRmBnk+82g1Uf62KyQfU9Awc1cjdskhHuhIilJmkE1sUQHcHe+e5oHPh5a9rXMqvQPebymAkJWmxrHXtK0CxIv+3nfm2w63NKEa6oi22my5eW6mF8qVrNGX+oH4chaCHY+4/9XOumipDvFe05Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4tIKGtn4o5y/aFu8mEAL+3yrlk6ey2xNeHnRmN98/2k=; b=IhuCxkjmr6GqvV/nIZCHLwLdy+HSosidqDG8UrRcUPeDlYS2IZVV1eKsNlPAdmIhgP0boAu3+zPvxqpwQIWUcKNLtly40GWaKunILa/RFOmW3aVZFkiYfxO9/JCxb6sEJihUjHRp53+xyvv3bEnYwWHONGsjao8SWsOjv4sAHF8fKuARaRWvc72K9JV6lqt/RLimzPd8wvGyXmB0rkTtJAU36mXr1rpz+YMsTkE/ShTru+8DCA6RtUMDu4zeTvUI7HgRA3B5KVR5UeoTZWkCFoadUjoYxB2hV2Psp85wdCixOaaCR0a4SAt7aQONEBMeo7DwABJOz2hamg+4w7LdxQ== 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=4tIKGtn4o5y/aFu8mEAL+3yrlk6ey2xNeHnRmN98/2k=; b=GjGqNMB6PYfJkbwqK1yejG5/gsy9yxjTy61YV7yYg+BIk61wq7O614V4PJyx/uXb8A2m9DJZucElb82FiifzcQBzd0xy/peNme33G3c4ql9KejCFE5+wBgg0mGYNF9F6TVKUHZ3DB4qCk6u4nWGn03bHTztOTZQkN82NtyDk0Fw= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SJ0PR18MB4930.namprd18.prod.outlook.com (2603:10b6:a03:40d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.22; Fri, 14 Oct 2022 10:28:53 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d%3]) with mapi id 15.20.5723.029; Fri, 14 Oct 2022 10:28:53 +0000 From: Akhil Goyal To: Arek Kusztal , "dev@dpdk.org" CC: "kai.ji@intel.com" Subject: RE: [EXT] [PATCH v2] common/qat: read hw slice configuration Thread-Topic: [EXT] [PATCH v2] common/qat: read hw slice configuration Thread-Index: AQHY3xYW0hb9g2tPQkSnH9K/1IbSA64NsOXQ Date: Fri, 14 Oct 2022 10:28:53 +0000 Message-ID: References: <20221013140233.82512-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20221013140233.82512-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|SJ0PR18MB4930:EE_ x-ms-office365-filtering-correlation-id: 1f6b3eef-cdca-4d63-e5e3-08daadcee47c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qfUz7vl/zd0QKI5oa6LKktg4ed4WjUfWRcMvJdHDQUR1yuKsPs9cMDvQIB8QqEZ4rWoX3PcIQyIoeNotkhP5qBolYvyv6LqY8/XPjh9wL7I+EMu5vBEgmuXcPME0Qu4vie5en+7pIlnSXz1cJoPg03zsvzfNvqT/54i/IVLl5SFLZAtjYbKeQ8WLjtqVudTc7A2JlgPVJ3UQMEzaFKW4tMnG1q7BEAWIqWw75C97NU7GTMluzQufz42yMa1vU8dmJpMH19uc+qEeLiGfuFG78AzhiSkXLKTYxMCqwQreLbpMJ61MTgVoZUJss9yT7av+ZmVJ4MdYi1ZPLl0jhtV9bd5ak1PTvyeQQBNPfImcxsJfSD9Jv2JKcq0y2x764nIwxreb+6RuOaeaNGL15/AJL5sGfF0f6YXlMZLU+byLfEIyUUL2icNpfNCpkBvuMo3R9ZSkESeD/YuzeRZ7mPijbNs949W2Z9ChX4oqJCfaaa3Tw0ph3QMLjm52+BkAy0nEypfpWNbLorP2nOyvTHDzet4BKMGZMNzPuT3EQk+0QQYl3HoNKUVgYXBiPT1aYfmL2/oOt8QAtI++7nR2YszXiWR/LqfbcOCDIX48PGPlGsHMPZrC1lfAajqLKIXTLBmVVQW6GFbA4Vn3pbjYovpc8+mgP4Gd/sjraRfcRNgVLIZXdm0FbMFopDtM7z8YY/HJWOrAtam30uLszo9hUkC2Gl+ONDAPDQZjIiZE27ZVbpniou77oQyhIxvnuM2saBg+QTMKQAxGExuRJzMo9duYug== 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:(13230022)(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(451199015)(76116006)(316002)(478600001)(110136005)(71200400001)(66476007)(4326008)(66446008)(64756008)(66946007)(8676002)(66556008)(52536014)(55236004)(9686003)(26005)(8936002)(186003)(41300700001)(5660300002)(7696005)(6506007)(4744005)(2906002)(83380400001)(38070700005)(122000001)(55016003)(38100700002)(33656002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ywmNg8cLC/+PuAGM99xyYn4HQ8bzlMa0h3L0phXEbL9QHQpn4foRAcQNBF5z?= =?us-ascii?Q?B3/M7lEWLitleVdcy3PBNv92WVoRIr9x+gmaDsC0Uchf52IiwegaMQqsUhNi?= =?us-ascii?Q?GSy4o/Af73b1HFOAXDAX2LuXDctdf8S+Oq5yfuaCCPNCp9VkRtVGJ/HualSx?= =?us-ascii?Q?UhG+bWZlNo97Q+STld4IqE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ZcsY?= =?us-ascii?Q?vvC/bMBwj54DpeC6GD2SDXcfG27tJpV88/vcQtMXClZ8retkO4sMi5WndnuS?= =?us-ascii?Q?OtNiYQMN7N2d6Mm2e+8qd/kCB7ooYi+FisgmP7ySYn7O2GougJFcdtz9mLoX?= =?us-ascii?Q?rfU1EOmXj97SP9l5ld6KUV82ZmpkGsEgeL7hqjajEJ2FJTSMpKNS7NKbi7TI?= =?us-ascii?Q?eR9FaxEu2JlNQVXw3TZATCt52xUBACtAf+UNKRugkWrvawJdywKYYkp33lKw?= =?us-ascii?Q?eoD5eK5wAbo7YOSJgrgWBm0b/+1DiSxKfxp/nTBq/20yTtUeat+h0kaygXvk?= =?us-ascii?Q?7LOVTw/NPiZtg8g5Q48E9EqAs71eXCVHN326SUk/ocjzkZlc1D+8WFOlEKiv?= =?us-ascii?Q?8YyK7MWtttzH2iH5X+CVAtbs65Dn0HoeFkSqiZJEEMQ7ediloKOUEuTZ6iq+?= =?us-ascii?Q?8zlwrQ4oFS1Nct/2uqpigQSWBivv/45lkpXLvq+aPuy65HfNcCxFGmY7SrN5?= =?us-ascii?Q?Y8N/ke0nddLD1sZbNFBJunvyclIfZiBK0FFysdfA?= 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: 1f6b3eef-cdca-4d63-e5e3-08daadcee47c X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2022 10:28:53.4135 (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: oL+f3g0OkVleY6hWb5jSSh+qNm30t3s4iesZ9rY/8mlCkBUgVcDcdhr6DlxhFK1vDoYj4FyanHY5rudS+ZGWBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB4930 X-Proofpoint-ORIG-GUID: 1kJCpU_n2gsjyLnCPBqZm4IBb8zIbtIE X-Proofpoint-GUID: 1kJCpU_n2gsjyLnCPBqZm4IBb8zIbtIE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-14_05,2022-10-14_01,2022-06-22_01 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 > Read slice configuration of QAT capabilities. > This will allow to recognize if specific hw function > is available on particular device. >=20 > Signed-off-by: Arek Kusztal Spit the patch into 2. - common/qat for adding the function pointer and implementation - crypto/qat for calling that function Fix checkpatch warnings.