From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0049.outbound.protection.outlook.com [104.47.2.49]) by dpdk.org (Postfix) with ESMTP id A203F2C6A for ; Mon, 7 May 2018 17:28:52 +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=0Y398+Y0FgvCjdb1TLhTHhg7u59ySEFuVVJP3REHn/Y=; b=WDV/vwyufdrDL5HxLevCVNchaDYexjyTdnQoxBWpGcwS0U50EoCqzh4xdib/YK6gj3TT7FVQ31uw3yfJYNYtsuQSarIauXWY9rCrXL9gSH9z9s6yRJfG0h9eGSEljrAQoForqVzto0sk7wzMqf3xTBUJkAG3o1O6oPgZBcaFdL8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.49] (14.142.187.166) by AM3PR04MB1379.eurprd04.prod.outlook.com (2a01:111:e400:536a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.735.16; Mon, 7 May 2018 15:28:49 +0000 To: Abhinandan Gujjar , jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, akhil.goyal@nxp.com, dev@dpdk.org References: <1525546030-11204-1-git-send-email-abhinandan.gujjar@intel.com> <1525546030-11204-3-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: <84043fc5-01b4-203e-a173-b596f53d4f62@nxp.com> Date: Mon, 7 May 2018 20:58:37 +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: <1525546030-11204-3-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: BM1PR0101CA0043.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::29) To AM3PR04MB1379.eurprd04.prod.outlook.com (2a01:111:e400:536a::17) 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:AM3PR04MB1379; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1379; 3:IIqjBMEbZWWzxM+WmiUELnRZ+J5Di4G3qQ6Ahnt1NyyOoEBOK2CORWaOUfHodwWlz0RjHCye8zGMM4kCtZhVA/QED9HDih1R6hDztOBU9QDxY3U7SnL6bo6ZjaMO4gMX6mgH5b+vXUeIfiX96s+Cc6TjXIqGv5L+OFep5fISASBP5yjmz0sBf95s8/+Ar1qXffG1Yzg8Iufx4C4edtnAMD6Xex1um3V6lgLuFQJjPjnHyL66a703VsFVI0fA7CML; 25:DSRXHVWZXaR4S/EZWsDT+a7G0nog96DmcX7pGOnonY1TdJDPOHqWexfHQwr+Ty/T9Zxa4VZv7EHq7OpiLlqQTiFAU+bu2831IKZqkX/ZtCnnRQosSDjM2t7S4a+GKgkzdX94987qtQfChIjmTtdAPaqpx1iIL13sgS/G+m8n7kUhfQ3NXRMcQLrvZb02NTmhJ18phLDrtqT6DLgwJw5de3ymSVbcIrpb0dofM1CwjJuKTYx1kPXbtVI/EtUbmUvDgpz2nTtJnRS793rR6vZY7ojmxPiKbJD7n+gD5/bo/dPR8hnm8LPRm1arh0yi9wjdXXcTsjycvyOwz9epqtQoWQ==; 31:27Qvfr4D0GxMDH7mDkJ/AsZ7tCoV2iEk5u8S/YOJd5M7wQPU+ZcrWyGyx9u8MtZTFjkmIE7IA6LN9ahiM96Pjb77/a2hLaEOQQLXB6Ifs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-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:AM3PR04MB1379; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB1379; X-Forefront-PRVS: 066517B35B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(346002)(366004)(376002)(396003)(39380400002)(39860400002)(199004)(189003)(16526019)(31696002)(6116002)(3846002)(5660300001)(65956001)(65826007)(44832011)(230700001)(53546011)(36756003)(65806001)(67846002)(58126008)(86362001)(66066001)(68736007)(77096007)(26005)(50466002)(486006)(2906002)(186003)(47776003)(5009440100003)(64126003)(25786009)(52116002)(6666003)(53936002)(16576012)(446003)(36916002)(11346002)(305945005)(478600001)(3260700006)(7736002)(476003)(23746002)(106356001)(97736004)(956004)(55236004)(6486002)(31686004)(2616005)(229853002)(4326008)(8936002)(6246003)(105586002)(316002)(76176011)(81166006)(81156014)(386003)(8676002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1379; H:[10.232.134.49]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; AM3PR04MB1379; 23:HTa5sXEzqVNEfU6DxgXtFiHNqVgnyGbEfvP2x?= =?Windows-1252?Q?uECOj/sR9t0VTbPCgGPkwigt3PUMAPbrJDlt0Ku6hHQhWnhd3FOJheuY?= =?Windows-1252?Q?bCw86t6gId89wvTvtiLs8QKBjskkv+iBq/uhM9T7BY61n/EYNbHVg+j1?= =?Windows-1252?Q?spFOH/13TveyCBhzbnSC/VAzh7BaAH0mLtASMgdHnQWp/ma+Ou3pqF11?= =?Windows-1252?Q?0fbfd78bh4+V7xZaqgC19PDUsribDfJE7Kr3Zp97ncYU5Ts9Y0sLkv4F?= =?Windows-1252?Q?sillCgdtPLwRIwbUCOVpahFaZbhcQKsEDJH5mnoKK/OLVdLsDZ2RWGbu?= =?Windows-1252?Q?BWEjsR0N/ux7URraC4uxsrcMeGHAijgbyOOOwsUWFs3Jv8LUt58V8HNT?= =?Windows-1252?Q?3LmNHH/7k6txqAr7sakd1gbdZw39oktiXtZEZPXYJazdn6ETLOSkUajy?= =?Windows-1252?Q?o3jtlhVYc7NrcmHnk+Kt91Z6GnLNXZqE/aAfFZaqt9sC2nGPnG4elg8u?= =?Windows-1252?Q?+XRk9iytnu4XskLHvJdC/qLB0eivu8H3JLCiPkV5CVidnivc5/fh5KQR?= =?Windows-1252?Q?sLuxULxlhSVnIUi3j4ihOPDC6KlAVeE8No9VcXVi5ath2PF6idXXiZwY?= =?Windows-1252?Q?TGIHbAsgLI5OMxrkhvcKzCpYbncCvDkF6kKnYJX0uzgObtnYeRJnHP7D?= =?Windows-1252?Q?OWaWRktE/l1hwRHCzES3UCfrF9IqI0wBldyBL65Okxbl6zXRiuUVJEnx?= =?Windows-1252?Q?bckqdZf42pyLXyhW75KOlkGv53rgXVcTqDmWNWzAypGvmkJMie0aUdTC?= =?Windows-1252?Q?uGOpYrqfl4tTMkVR0q/PdeCKsjj2UQrUgypbe5q79PY+XraP43prTtE8?= =?Windows-1252?Q?KDLibE7pYASRUSyT6/4weTH4JJi1iJO850tqCIjrAmgrLBxrXrESwUmc?= =?Windows-1252?Q?sY68k1DSNTnREK/9Z8UmttRuTQb3U/c9ovHagf4z/NsZJlVUWL+SSaAX?= =?Windows-1252?Q?ns2LBdvevlLjaXpdIUYkj9XSvu8Hs03TDixxP0s8quXSdoV118hWBXiX?= =?Windows-1252?Q?nG4HYMlSUi+WEa3HZ5FifYMTx/0ksBs+Xu04fRbuilXQH3WhjFfCtbaX?= =?Windows-1252?Q?HWnra/Ca/Nv9sJ2AuWb4TtnH9NRC/UPhuQNoglvgku8vNxu85pi+4d3I?= =?Windows-1252?Q?BLZ76PPHL+HvFLP0zxbATyuO7HISh5Y2m4co0N0GYrmLEfDh5QSGH4Dv?= =?Windows-1252?Q?NsaKCnMbh6OPVrWnRrLjmDWhXgYWbZ9XdO+kIrPp5vBrH6xo012nzxF3?= =?Windows-1252?Q?fqCPjXfYctWZ6O5h3NCUYEjis1HQfhbZQ7JGFx/JpO8ZhowyfL86Sr3W?= =?Windows-1252?Q?H5RCGPPjk4REv0fFJWScdSPD2OT04Bv7ZfcCQVEr/Djc8octJpOaZ6YS?= =?Windows-1252?Q?VQehNCW/4hXkH256sBJPv81TEqRGuYFzDp+r00TcHxRbXIhWKcF70sWW?= =?Windows-1252?Q?CN9ForlTFTV2soRcCUwBKTbiZctb/9ahAwxhhONqxk83nWwTVOomL1Qq?= =?Windows-1252?Q?USbD4tZ94ngeaKcq2E7+9VZtxQv9UwJ2IlQ5pR2j5u0K03/gIgOSLqbl?= =?Windows-1252?Q?sijHu382ln2drIXMgL7VsdhzdIQmDxGJur1NhXXoyJq?= X-Microsoft-Antispam-Message-Info: 0mbVP2dPZAqwUdZ8jmw3p/twtquIcTjkIPsoQwB7vvXXjbbxgsmAAEXxQiAx6xom8gxvOhxxJu+hZDtj5kOSAzuVX/BS5n6GvQbY/B+9voXM3fW3ZSjj3562U4azUJi2qxQN0WyzL/o66qF/DdCgUKeE5FZdKSyy3KiNKP65uhezpgUlYTZd2r/yCN7XhwTl X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1379; 6:ufxySo2hz3C4fjwuK/V2qXCugU3HozURrZBa5fL73JdwUnYxgv+wLksBgfw2var+XOwQOBC0rCXmY17w740I9C9k1PGqDzapQSBSZKcoQnHaRyIj8Yw1mALG/PMSzKEulBYmg3qIhrVx4nqC4bdCRzxXPeWjyubihVXkR5NkrqSW5q0Y0AHKHm4qpyYHWKhPseEt77AAgsqNQQNkntARWZCb7ghkL0euhYXY3IwFPVIUWIGomsGl6KORbQ8i71RxfMT/zolAHILbaRPy3zEPzm4nnzci6da4Y0uHuhc1XD9SiLxWyFvE1kgxwJgz8miW3/KAqahfaVnBXKOs15fKoB+fozVijeErVs4a9iynR7nz5ODECUIZM+SdqTkv/RD2tlpivO5q99RqHWp7qESdu3mu93HkKebTiJReSq4McMiBK3P1OvJOXB4+dFTS0whED38OvAM0HP1lEUrfgQYA1A==; 5:BaQuFy0VN7k2e5sr6Oeq5sRFTVZuUgezShcc1DM5+DlnEX2eDq67PY0PF3+Koy3NSaMK8IUy8Q0npjmSiNpHlVqmw/w77ALyHoIrbwSDweEvvQmbHG8BwHxvfcPMs/61Q2XAOlLivm7RK/mYOdtdr0tPTl0mIESUQeG25zj2hek=; 24:lldHi6IdEX5Rppcv+3n28VQ9AsaMjSiGfT+T5ic7ED+aHZFO8orIl85+mjHS6/8g9eGtbl2G0JGuUpjkIxcFcbpQcpDjjrFcSAB8tkuBHK8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1379; 7:SfF03toaa99A7zpXwhDDKHRMC9PjFs0rGgos4U/2C6RyH7l0PqHXi0BzreWoKoNlJx9daehU01/HK+cSQlUZjUKrx78M81tp4d2gYUxG0nyakgbstgw/jNvyFgwpzVJhJj9WU+luuZSxKL9OyHtUYwuyu1RAVOU2FOT0fpjZL3A196vYUJ9J+/DQBKJXGQ8EEq0H3MJisenSc/Dny0YIFtB53+blHwZC9P0RS7jDFzRJ09ip+BC/a+eoK7Pmq5Hr X-MS-Office365-Filtering-Correlation-Id: 0bdabfe0-602a-4036-e274-08d5b42f3c82 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2018 15:28:49.8684 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0bdabfe0-602a-4036-e274-08d5b42f3c82 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1379 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 15:28:52 -0000 On 5/6/2018 12:17 AM, Abhinandan Gujjar wrote: > 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(+) > ... > + > +#define RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD 0x2 > +/**< Flag indicates HW is capable of generating events in > + * RTE_EVENT_OP_FWD enqueue operation. Cryptodev will send The name is RTE_EVENT_OP_FORWARD