From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60085.outbound.protection.outlook.com [40.107.6.85]) by dpdk.org (Postfix) with ESMTP id ABA1B5F20 for ; Mon, 17 Sep 2018 14:01:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2ghfvZ3PiLyo0gBO+xZH7HTcaJeoYl9lj9sh9CKjJuo=; b=lGXWjVTid6yAueIHrmg8GZSr5c+MZMUFonn4j1WBFTECcIyi1yLpY1at5adUXSHJFkXANnVay69RcMel9TR7DY5GiOXQlT5YB5i9DrtkHU5GXpW9hgdYOLj9ucfOUCAHA5dLsuPidK8zpF5/uyOnJR3i4dzJwKv1kIAksP0hb8U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.143.30.134) by VI1PR04MB4896.eurprd04.prod.outlook.com (2603:10a6:803:56::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.17; Mon, 17 Sep 2018 12:01:47 +0000 To: Anoob Joseph , Pablo de Lara , Thomas Monjalon Cc: Murthy NSSR , Jerin Jacob , Narayana Prasad , dev@dpdk.org, Ankur Dwivedi , Anoob Joseph , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian S , Tejasree Kondoj References: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> <1536033560-21541-1-git-send-email-ajoseph@caviumnetworks.com> <1536033560-21541-10-git-send-email-ajoseph@caviumnetworks.com> From: Akhil Goyal Message-ID: <0b2cecb1-f055-61d6-3c10-802d0d647b96@nxp.com> Date: Mon, 17 Sep 2018 17:31:34 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1536033560-21541-10-git-send-email-ajoseph@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BM1PR01CA0100.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::16) To VI1PR04MB4896.eurprd04.prod.outlook.com (2603:10a6:803:56::29) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9332a53e-aa8e-4ac0-b191-08d61c9559c1 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4896; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4896; 3:9ZROHssNmizbcX2GEo81tj71oNcShGThrx66+ZsrJhs7W6vA/FZIRg0aEe+BQhkfUIYaocv7dEXBQI23irlOlF5R8vS2xd4Cf8dTdRm2sZI08xSyUSb99KST3Ncob+w0MrBg9kW3u716HefOynj3ZoMPmZTulCLFeoZDZF54XQFdJRRJrrtGmA97tt8KCbVOmbtkcAAr5g1DzNfse/0XfuJiiBtbDR7DG3yxc2IJqSlJQvy7QNEEFEfMVjRvhVlB; 25:J6crJWsPdx69/7U3HHM8Tajskjzz1+aDlKzK123jXafIQ2upwoQR3y9FNoOy00lczKNItgJFk+Fwmae0gsJNcwtAqxigEo9JYYPxAb9/5iCa9ZiO7K3OjaX219eeZO8JA1D7EFINQVTRf0R7xusZQDfMZAOzMHrhe7qnNMn9/0wO0E3aoZg1K7UJudfBsp4PNIkVZjb8Zp6m53lM2o/SlQAaqs3KjGplyIz+kdu7oxNjAK21GIJNGGGdJfmVS1P8q0IY3dSAYG70lOMwR3Nqs8Z9HvrrCT171Gv4ddWk/M+hloqJrXMfOpn49C9gZIgK30p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SDefjrCsD0kSVxVCFeqhN5Q2Xz6t7iHgjHmeEJkwF7G+pp5V18aHvpBVVw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(201708071742011)(7699050); SRVR:VI1PR04MB4896; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4896; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(39860400002)(396003)(136003)(376002)(346002)(366004)(189003)(199004)(14444005)(478600001)(230700001)(31686004)(476003)(97736004)(5009440100003)(50466002)(305945005)(58126008)(2616005)(486006)(956004)(386003)(67846002)(5660300001)(11346002)(446003)(53936002)(8936002)(316002)(81156014)(16526019)(26005)(186003)(54906003)(229853002)(65956001)(65806001)(110136005)(65826007)(6486002)(7416002)(77096007)(81166006)(47776003)(66066001)(8676002)(2906002)(4326008)(52116002)(44832011)(6246003)(68736007)(6666003)(7736002)(86362001)(16576012)(76176011)(31696002)(105586002)(3260700006)(25786009)(64126003)(106356001)(52146003)(23676004)(6116002)(36756003)(3846002)(2486003)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4896; H:[10.232.134.144]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA0TUI0ODk2OzIzOlhXamYzd3h2U08rRzQzdXlYbkJOTlh6OW12?= =?utf-8?B?OENmNGp4SWtLeDRuMCt2L2h5SDlLTWVCeVJKMTd4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93z5LngMhyo3B0jME5O6N82uI7h7CAjaMMlw7Dpc0BfkCUOi1XlSSCHVvsUeje7J1a5KLJubf3ljUqdiIb1s8o2XbWGPejFi906X3/KVVEZema5WzRl9qGSAnyYmc6o8SSkvPw==; 5:fujhL8ig4y/sme60V6VnnFvLcJgyUKWrcdkIgdZQlsaSFGw0zHCje2dOjTZKZvt93CY9dqhV7+jgOg5wkc8G5sJr6sWJut6hCrxjQRVLsW8ESjVt+VK/JWbTIpopaZklwCPIpa52jCJTTUM2mtLSt/UNvrxu3IGsHwgR+4GgF1o=; 7:nQfwNiQFXSMWPbo7nzxHbCje74dEXn2vxMCQ+irfdEzo1qGJ+hIWMuoxrj+GBl5yieWthERmkLSnG2IBThbaR8e57s/3RcsYTwa3jCObEpr6q7MTCQIw2Ro9cW86emrnXa2MzWSEoT+NCJuh2b90h7ByM1hXYh2hHeywWYCaSmkbsaoDTkoA7mJIHNyBlLAmi/mXPmTZ2d6Ws24xYUlrPWenVHsje6BKqJv7A9Qt+gqfM+C84LAA88u/ZufpZ2SK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 12:01:47.8969 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9332a53e-aa8e-4ac0-b191-08d61c9559c1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4896 Subject: Re: [dpdk-dev] [PATCH v2 09/33] crypto/octeontx: adds symmetric capabilities 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: , X-List-Received-Date: Mon, 17 Sep 2018 12:01:52 -0000 > diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c > index d25f9c1..cc0030e 100644 > --- a/drivers/crypto/octeontx/otx_cryptodev_ops.c > +++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c > @@ -10,9 +10,15 @@ > #include "cpt_pmd_logs.h" > > #include "otx_cryptodev.h" > +#include "otx_cryptodev_capabilities.h" > #include "otx_cryptodev_hw_access.h" > #include "otx_cryptodev_ops.h" > > +static const struct rte_cryptodev_capabilities otx_capabilities[] = { > + OTX_SYM_CAPABILITIES, > + RTE_CRYPTODEV_END_OF_CAPABILITIES_LIST() > +}; > + better to have otx_capabilities structure defined in the otx_cryptodev_capabilities.h I don't see any value addition of creating a macro in one file using in a separate structure in another file which doesn't have anything new in that structure. It would also give checkpatch error. You can directly have a capability structure without the #define. > /* Alarm routines */ > > static void >