From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0076.outbound.protection.outlook.com [104.47.38.76]) by dpdk.org (Postfix) with ESMTP id 0CCB52BA7 for ; Mon, 7 May 2018 11:53:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=M0RBYtaS4IqB4RpPvdM9UrVbpY1/aQUBVqDtOAb8Pw8=; b=DfYXO6VeLsOKrtQMEjG6FOVlju31gn4xhM99jHPWvFVis09GspsyOX54MEUMiTPiDinUS48pizK3jzLqsXb7pRHzNhh/QdG4fItU0kKV4rU5dDCLclH6zLO7MEAia14Zq6epXSI0p/pw6ld+SjqihtXHkWRGgWS8E8WZzg8QE60= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by CY1PR07MB2523.namprd07.prod.outlook.com (2a01:111:e400:c636::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.16; Mon, 7 May 2018 09:52:55 +0000 Date: Mon, 7 May 2018 15:22:39 +0530 From: Jerin Jacob To: Abhinandan Gujjar Cc: hemant.agrawal@nxp.com, akhil.goyal@nxp.com, dev@dpdk.org, narender.vangati@intel.com, nikhil.rao@intel.com, gage.eads@intel.com Message-ID: <20180507095238.GA9245@jerin> References: <1525546030-11204-1-git-send-email-abhinandan.gujjar@intel.com> <1525546030-11204-3-git-send-email-abhinandan.gujjar@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1525546030-11204-3-git-send-email-abhinandan.gujjar@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: PN1PR0101CA0017.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::27) To CY1PR07MB2523.namprd07.prod.outlook.com (2a01:111:e400:c636::14) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY1PR07MB2523; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2523; 3:t+MBU1jcnCEQen3VyzYU94juKtKMht3THLIf8dQMj0ptaFAHfFOACs7eZh+PUrfHIM4+kPlvPYVsqkBq0Oyu1tG41JrKf2kpgFnrUnGz5sAyUeQuz27q5dHvaLOV8dAdVyIFRc6xhw/suwSkYXDlLomm80wBdzXbUJCn6YBBAAx5/id6F1S+2iUJM5cavv9XKb79shHbSnfWXXU1SjdZEC0fTH+IOf1Fff7rQZZM8hWfeOBRogVfSujS88aPyl6U; 25:Tm8SrHQo4Uc13OZPUXQr12btHDeWSc0rXl+K7LObVBuLevY+/qyArhAd64ZZVEcwhDK6b45WzsB5AXtwP2BS7v3R41VUNjEd1MU8NCesql4Q5AKdfTxMZpgZXn5utu9b6f6sLXYwofWpKS+fS26tE4ArKSnIXPnct7h8tTm9QfvBEzLiiu1qui44D/KqtbfFermDw40SlqJGjeswwS9WHQrUArbTCfRR7wWwTz7lnfCWxtik+vbobHBV0G10V8l3s+RVTpfsmZvHk192dv92XaurMdov47BM2zEuSaw9pj04iox6MV404lvaCbCiagols6b5UIsTrDHACxbvncf+Mg==; 31:mM4yFvoeoUGsu3IYw0lA7vxugQb3KIGoX4Iz25Pdr7vS1g3y1XISHct1sGxTFFXhgqBEGe6t4V1FhmEv437rcDkAAzT4YJEXdkGYoZIjNjy7a+14pEQa2HjUCPPYZZHMT4aTb3bYw9bUQrbCEioM+DxF/9rFT2/UgEjnH5VcH9K+1ONPLGajiKML4ZGKRl49nRm0Wd9FXLV0jeEn8FE2NfyXRBziprwhDFFMSZ5bbso= X-MS-TrafficTypeDiagnostic: CY1PR07MB2523: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2523; 20:oJwDhugKOX8JD7N9t4hgnbeAFxdNI8Jw21OQHTBsZGk2PLT/HFkUwTXpE2WJuT4V9dSNZKWngoa45qxqRORVWIIWGnKt6pQPi5XKcYMdta3U1TJtYx8MUMR4o7s5ArV87mFMQAVIWCx+vFRahZbkKKdgopOh9PVlm76YU3AwiKQ/b176mbqa2UU69nnBXdd6vtafrWgzCOy2dOVaiF1b4gBM/XGYaRu3XbfisUeL5u44cvWs/PKdC+K/pnZo452XUVgUSftOSYWPCxiJmTnFMMQz0Oc+U2/gMr+vPCgAkb0CUUQGcrO3IX1CTp1BCoODmRnPgB0ZW3dxaOm3aq2gbJz9HnOsQnKaD6v3E7aWC+/dSKNUd87RG2m625nQea/qNEeJIXEyEM6tjBt+ukjLl72m/Dp4x10J+JD5pO82Ea8iJnzH3xZT2+uEJE4AAHkSH+5vG6BaiZ2A8p15PwyJSXfsh0qTbBsCfFgiz5uzPlnJapTbeyYzuSsd6pe/FkZAbxmufu4CmKjJYfRUt+l1IdniMzqXrNc70G/KB+iBwtWPIfMweDyDmamUWwX96dkC5Xexf2MsezcJwZbPlBTosRKRsvRS/kDedVAaQcOQMG8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:CY1PR07MB2523; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2523; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2523; 4:TqKUcalGZ2kxXZxenFVUgp54jE0yHxi4fV5KTJnSkqQQuGYyukhKoU4ootPeMGEWd59QqCSZXR6R9d+v+/pY5lPm0Ze0eRAiNCR86ut4ql7g/WsJ8nurAnaqjBernsqTm6SqbIsKKxVj7eNfc3oFrOEWHbA7XNT1v3mreEmSiS35v1yTN9PfTeZqTT0mAaJTul01oGr7JZbnEV5K1WzwgOJvbm/hLSqkGnhr2MLtVk/cah+K2EJOSKzx3bij9NAfuPPTjOXM15K/plha4qoAfL0PrWGPgDWsdsJSGWWmFJhHfI38PYPCsHchmAmUKuwuFCkYNk9tfYPZc87Kh1jbum99FDJAd7IJDzlxzMOwgZE= X-Forefront-PRVS: 066517B35B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39850400004)(346002)(39380400002)(396003)(13464003)(189003)(199004)(33716001)(42882007)(33656002)(50466002)(6916009)(478600001)(7736002)(8676002)(476003)(72206003)(956004)(81166006)(81156014)(11346002)(486006)(5660300001)(106356001)(6116002)(446003)(105586002)(44832011)(3846002)(25786009)(8936002)(2906002)(386003)(1076002)(76176011)(52116002)(16526019)(23726003)(229853002)(68736007)(8656006)(305945005)(97736004)(4326008)(47776003)(6496006)(186003)(66066001)(55016002)(6246003)(316002)(16586007)(53936002)(26005)(9686003)(58126008)(55236004)(33896004)(6666003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2523; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2523; 23:u5a6vBOlP7H3wScZD2wMNkrP17eZSEwXK1xPDRRy2?= =?us-ascii?Q?6Rtzd2CK5YbWmlnTm83M2Cwc/JaGbamAV2ipWyaK1orvkhm1r9vHbD/fL2cU?= =?us-ascii?Q?RMAB+kw+XsvlksufuArq+EQO6r0voeoxAhPLfhInGIgeSgOqxtFD8/KWS2T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smQRdkbBEJ+P/E5ovduBAYMYNkcsMMdmsb9qV7M8gvcYwS3qs8Y1Wg9hZ21B4CxlJrYHJtGyBHx3ukp+kJZIA4BwWof84ExjPHcvQZA==; 5:3I3Fr+omSBGbTi6iinmmC1dhbBaMHp+TI7TbodpzBfmHV5q+fHqFwL+6NAnDfpoKGHojHfg8CffA6YOZmJ3XOhh7enHgcUFLzRNb83YyA5r2+mvOsEqh9ElN9VyvB3tp7pbaAuhDV7R25+dzkhy1hH3zwSmus3YIHu87j7EAWuI=; 24:BoCeBesO20LRHa3ISFChUHIH0vDt/1Y0spkVRFMWcxWf9BMUf1NDqPu68TSxc4tKGjlCkpIN8OwmA+EoxOHx1/KhL2fNowKzpnxRfWbaQvM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2523; 7:qT7wh6QK/jemtnOaNmOtr4Tut5nhjjvjpZhF3a+8VyM4oSx0vSFQ8ih4pzw82v9ksCiG+lc7t51fHbo6o2Yhj9V+9f3Gk4iTBndZV4p3AwO5/e52I8HUfoe8cFN/p7fsjxTFpz/7Nh36gi1ooCFUZjH23idVnbkF6kW5+WwVgcdYS2RhN5NV2Bhj8Ebc1joZeSns1XoVrvBh2Yu3H4TObfQszdlaKkK6SREL//VF2JE4lyprKeVt/ZZHu+NJIhfH X-MS-Office365-Filtering-Correlation-Id: f83f2780-648e-4ba5-af83-08d5b4005097 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2018 09:52:55.8381 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f83f2780-648e-4ba5-af83-08d5b4005097 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2523 Subject: Re: [dpdk-dev] [v3, 2/5] eventdev: add APIs and PMD callbacks for crypto adapter 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, 07 May 2018 09:53:00 -0000 -----Original Message----- > Date: Sun, 6 May 2018 00:17:07 +0530 > From: Abhinandan Gujjar > To: jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, > akhil.goyal@nxp.com, dev@dpdk.org > CC: narender.vangati@intel.com, abhinandan.gujjar@intel.com, > nikhil.rao@intel.com, gage.eads@intel.com > Subject: [v3,2/5] eventdev: add APIs and PMD callbacks for crypto adapter > X-Mailer: git-send-email 1.9.1 > > Signed-off-by: Abhinandan Gujjar > --- > drivers/event/sw/sw_evdev.c | 13 +++ > lib/librte_eventdev/rte_eventdev.c | 25 +++++ > lib/librte_eventdev/rte_eventdev.h | 54 ++++++++++ > lib/librte_eventdev/rte_eventdev_pmd.h | 187 +++++++++++++++++++++++++++++++++ > 4 files changed, 279 insertions(+) > > --- a/lib/librte_eventdev/rte_eventdev.h > +++ b/lib/librte_eventdev/rte_eventdev.h > @@ -8,6 +8,8 @@ > #ifndef _RTE_EVENTDEV_H_ > #define _RTE_EVENTDEV_H_ > > +#include Why rte_compat.h ? Is it by mistake? I could compile without this change. > + > /** > * @file > * > @@ -1135,6 +1137,58 @@ struct rte_event { > int __rte_experimental > rte_event_timer_adapter_caps_get(uint8_t dev_id, uint32_t *caps); > > @@ -70,6 +70,9 @@ > ((RTE_EVENT_ETH_RX_ADAPTER_CAP_OVERRIDE_FLOW_ID) | \ > (RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ)) > > +#define RTE_EVENT_CRYPTO_ADAPTER_SW_CAP \ > + RTE_EVENT_CRYPTO_ADAPTER_CAP_SESSION_PRIVATE_DATA I thought, SW driver has support for RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_QP_EV_BIND. If not, please ignore this comment. With above changes: Acked-by: Jerin Jacob