From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0043.outbound.protection.outlook.com [104.47.0.43]) by dpdk.org (Postfix) with ESMTP id F251E3195 for ; Wed, 9 May 2018 09:02:05 +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; bh=uit/UmmEEfVUNv+xA3ypx3V9a4tGZXa8DHW3iH3nsPg=; b=tHaumlOkuuJAcMKK8GqCe+49EDPZlOYNmQeymEJQXqoAMQqAkDYXvzYCypd/uW1GXiQCgZ0B244gQ6y0VM3nxeWLsE5IDYfTL2yelwe3dUuPl5Xwxbi2o+cBmNCp/SuT26vmaJsWT30Okfqys9bjPH9+hiL0sPoEBOlIoNOnsiw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.49] (14.142.187.166) by DB5PR04MB1382.eurprd04.prod.outlook.com (2a01:111:e400:58da::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Wed, 9 May 2018 07:02:02 +0000 To: Abhinandan Gujjar , jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, akhil.goyal@nxp.com, dev@dpdk.org References: <1525808764-109595-1-git-send-email-abhinandan.gujjar@intel.com> <1525808764-109595-2-git-send-email-abhinandan.gujjar@intel.com> Cc: narender.vangati@intel.com, nikhil.rao@intel.com, gage.eads@intel.com From: Akhil Goyal Organization: NXP Message-ID: <479d6bf8-c0aa-620a-1946-0a209a279c59@nxp.com> Date: Wed, 9 May 2018 12:31:49 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1525808764-109595-2-git-send-email-abhinandan.gujjar@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0056.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::18) To DB5PR04MB1382.eurprd04.prod.outlook.com (2a01:111:e400:58da::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB1382; X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1382; 3:fECe4oeNDtMAP4eRzN8mwsA48VJ9Oq6xpWrIkT+xjfawDikSMD3XjxzwbCYLnE2Pn71xAdN8O1BzScKFBIyeQKbreJhjet/wsOpfd6K5hFkiEYPYVrmyb+WEnEIFICGJFOt/YtAqzIUunHaiyza3Yt3D+Zy6wYHz9glIYpLS9XFCdmJmr9VnQjjc8ZIpEJurKYwu4EfUyBbuM4La3X4OP8YFOg4TsuVxnbQoW7fzPLpiHjgpF8bjWHO6rvxkeZIW; 25:LZMU7EsXKbJcyy8JwvAl1ou0oCIsG2Fh3tlKxLI0zLE12OMBmbWjr8HHfMT4GR8RKXsqXR02itGs+GZzVSXOwU6XwhprsgmlMZk5wOxWn3aIwa+sQc7wspSxAZXN02inpcj1uGUL1q21E3X51tWLUq+FsCJBdP4g9cs1kbiXLvdb8eMIawvRfUzdTqV6o9I8N1HJTnJb0mS60W1FrcqtLkC/nGdD0hZuy2sXXN/MTgEvd5UawqZvtEnfm/lD0XAFTeF9K+aTBvaMSrNnPREoJhHgrqTg7WW4pU+rzdZbxyPgRkSzJ742j0/ELumHKSNWSXIcdDEEh1JM8vmRjS6zgA==; 31:W6T/9TgiZcvwZPCpJkC/HvkP0UaFlYZGs5VPwrLA86q/oGQHdD/nf4J3cwGmuPikpLIBGrcMEn8kz51PkxYNa073zA9XQ35tvSA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xudKe4BQ2hNeFC4UqI= 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)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DB5PR04MB1382; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1382; X-Forefront-PRVS: 0667289FF8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(376002)(366004)(346002)(39380400002)(39860400002)(189003)(199004)(105586002)(26005)(16526019)(186003)(59450400001)(4326008)(64126003)(31686004)(6246003)(53936002)(44832011)(446003)(7736002)(11346002)(77096007)(316002)(47776003)(53546011)(55236004)(66066001)(16576012)(65806001)(386003)(58126008)(65956001)(67846002)(305945005)(5660300001)(6486002)(36916002)(5009440100003)(8936002)(2616005)(97736004)(86362001)(230700001)(31696002)(81156014)(23746002)(52116002)(956004)(476003)(81166006)(6666003)(3260700006)(25786009)(486006)(2906002)(50466002)(36756003)(478600001)(229853002)(68736007)(106356001)(8676002)(6116002)(76176011)(3846002)(65826007)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1382; H:[10.232.134.49]; 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: =?Windows-1252?Q?1; DB5PR04MB1382; 23:c6cMJeK2JZ2vvdgcB9v2TTC/yB9/umwdgOzpL?= =?Windows-1252?Q?BjHQx11mXLxJddR3q3BRe/6Vg5w268oVqHpAPcF46yaaD3Fox9qWDbOU?= =?Windows-1252?Q?oSzDU0MExnD5Yo4URL6DcHBiVOy5EmnAdbdL3T7+/A4pBqSI/IY5E7QB?= =?Windows-1252?Q?ntefqgOiSIxsG7BchwM2VEEEZAmQTD+miH1w5P7Ib/Lkp5gZ+QHP7NqO?= =?Windows-1252?Q?tMXNZpx/2jlxke5yNXcNzxTBqXXE5WjO1Ce0Y8fEEuRCfAVD3DxNAvYu?= =?Windows-1252?Q?JFcicekHcDM+nYzq5Zyz5yhDsoV5OdEihL9xJRX3OdpO0bPxn4Mw0j7G?= =?Windows-1252?Q?XZQ7JKZPefGJdkiavL3AnU2uqeABQLLxHy03kFm4Tw8pf7CeQcZOCTl2?= =?Windows-1252?Q?5U+AG5ehbqwVhpTYdiIPHdCRef+WbeMh0G6SKMaxyzEF8AzNhB09hrUw?= =?Windows-1252?Q?J+wdkG4BwirxE9qNi5dXNuIgHvjTANk4If2SbfTuZl7dJgL0HMFbK13J?= =?Windows-1252?Q?8peZhslNat4MTWlWX0ter/XqPck6hLJXRdOjfZ9qK2KrJSoGVXB+cNLG?= =?Windows-1252?Q?U+f20LN7vcuXaSbNpGB/PJEmdEMktTY51ACQMgKHy6UciaYGFTWF8Zvu?= =?Windows-1252?Q?WIpDNiJ8tYB3S+XGYUtTK2wmFvxuEKkiiKdg91nFk+YUr4sv6XYsXaEp?= =?Windows-1252?Q?30+zrm6FL6FE2EQxa3wLp5PQHXoZi+eXXP9ClyPbN7wTIMcd/XayLkPt?= =?Windows-1252?Q?7JLiQa3062S+A1bgtjZqCxAtYt2rnM5T7Wmvbqu9ZfLmy4kISj35y7lN?= =?Windows-1252?Q?eaogiahxBHUPlbybHTxoc7u3KyBx/XrI9lGcJyF3WbfAYw2gTC+nLX+f?= =?Windows-1252?Q?hDfp+wW8p7IAwWiaQb9itQnpBeWJMbgtWmgy19FCXBHYguZlTuK1S0Lp?= =?Windows-1252?Q?uzfb4FwSkF+t5mBcGDh61htC8scT1nIPsNm+vdKfeq5k79tLVEx0aGHY?= =?Windows-1252?Q?0uBHmrdU9onBhGDsb5k7E7LGdGSxIddtQaN5n5ussnvyw9AIHggwPCYQ?= =?Windows-1252?Q?ak7gPJxwaf6RIFJc2ZSkqrl4Bslk9N+/I3OryDclA0KgcoaAWlQvG0qM?= =?Windows-1252?Q?6ZwyKMWbX7uIKJqP9MJR0x+qcT33rEvMsgn4gw+D/w4FtVg+IYIaEx+O?= =?Windows-1252?Q?Ql9tOx7XSu61ncmqAMP35QlIZDk62mWp0TpUPIL3Bvp/KTtuN+QtflHV?= =?Windows-1252?Q?Hwil5huLnqeI5sS2S0X2nlwSGO8D9HTS1Bd3RzqhZpwELEnjm3PxB0w2?= =?Windows-1252?Q?h/cG9LcfPz9wPNBHmioX7od5KemR7UcBx0MFvxozC8sSGEui6bhaBSXe?= =?Windows-1252?Q?xgFlMF39BC2B7CgehFSayihDtia8ZnY87NN+ijw0/8mq+aO7pGyYFRUi?= =?Windows-1252?Q?6Txd/SJupwz9j0wkdtyyTsuN+VfyBD8Wt/HRwUNun3BiusN9PQwRmyqg?= =?Windows-1252?Q?GJo2m3a368UsmNyLhlw50br//AMdLlM2haka+etrlVFHh8kV8M51Y5hK?= =?Windows-1252?Q?mPT7jOZ3UES6DwLYFwMTJwRUM2HIlqeDjl2gqCx+9HUFLbBnt4Ff71dP?= =?Windows-1252?Q?y1ZuhmTmoRaBHLdkklf49eEVHcPCs0ZBoASmFM4xIZK1O5RNJ5H8B3Ys?= =?Windows-1252?Q?km+nAPWOg=3D=3D?= X-Microsoft-Antispam-Message-Info: dICxF+lQkJrGWaDlKgMC6OP7+hzqUWqurZSVWOmHIQW4eQU1HMPpmI4t6cPZxAiK8CyP3mRmj6W7hHHG4ik+ZaSrR2/4MfMZy6ADZk/4qf5/oTiKBqFK1+LUSr0TaWvYvyiWtk8Rk0aBFv4mb6ZdU+DxZ+G8yK5IBfZIZqIrw9etKylonlKmhEb4555IGoPT X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1382; 6:KXjirtppxZJNp5m336V8fEqSEnbm1q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ELXZtsSY5 X-MS-Office365-Filtering-Correlation-Id: 2a1760f2-fc60-4e99-445c-08d5b57ac536 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2018 07:02:02.6160 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a1760f2-fc60-4e99-445c-08d5b57ac536 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1382 Subject: Re: [dpdk-dev] [v4,1/5] eventdev: introduce event 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: Wed, 09 May 2018 07:02:06 -0000 On 5/9/2018 1:16 AM, Abhinandan Gujjar wrote: > Signed-off-by: Abhinandan Gujjar > Signed-off-by: Nikhil Rao > Signed-off-by: Gage Eads > --- [...] > + > +/** > + * @warning > + * @b EXPERIMENTAL: this structure may change without prior notice > + * > + * Crypto event metadata structure will be filled by application > + * to provide crypto request and event response information. > + * > + * If crypto events are enqueued using a HW mechanism, the cryptodev > + * PMD will use the event response information to set up the event > + * that is enqueued back to eventdev after completion of the crypto > + * operation. If the transfer is done by SW, event response information > + * will be used by the adapter. > + */ > +union rte_event_crypto_metadata { > + struct rte_event_crypto_request request_info; > + /**< Request information to be filled in by application > + * for RTE_EVENT_CRYPTO_ADAPTER_OP_NEW mode. > + */ > + struct rte_event response_info; > + /**< Response information to be filled in by application > + * for RTE_EVENT_CRYPTO_ADAPTER_OP_NEW and > + * RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode. > + */ > +}; I think the comments are not correct. It was correct in previous version. request is for only forward mode and response is for both. Apart from this: Patch Series Acked-by: Akhil Goyal