From patchwork Wed Jun 14 14:08:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 105525 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp313130qgd; Wed, 14 Jun 2017 07:10:57 -0700 (PDT) X-Received: by 10.237.45.103 with SMTP id h94mr332867qtd.204.1497449457784; Wed, 14 Jun 2017 07:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497449457; cv=none; d=google.com; s=arc-20160816; b=CMTNWruEsolFH10Yr8DCJ+9P7tNGUV6d0uxJfCmkF7rS38Yi/baYS06sAsiKHCFyvN ggABC1DGMwN8l9BkWbfDnbBh0vw0JadaR6bV4aVvsYVW5Nfjq8HwR+bhzqs6D34oOELZ 4JNB4cSk/apfTeT0GC2ZdvK3rXtsIKudKMKRDMm3laKtyfIWjl6mpP257mtBIcqLwwqP 8HMoFrIgbdjhe1x4Z38YegHTPMWrobqhTYxcnhuj3IzeqR1FWme/aPfwoJUoAEbR9eW0 JAJwv4twRc19HHMnCSoHL1cyoDJgeeUpjeL7A8htPXIZ0xZPAYRdFf0hwe56aqXQAF/x rXAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=IvQoJuUiHQaPxOEXpOEyq3QzTZrmYImT3V6Aimg9bIM=; b=Nz32SmXZ1+lPDEVzTDyNuFRHDVFioUgAVG7aPYc17PuTTgWvdjlyohyMdFN5Kk6D1/ iyUqkPxHHTYJ2eMCBI7EMIukR1eeWxilEyV10rSqWseevm2k5Dy4gXHjpiMG9GZPVWEi GazSORX3M2gP3r+qHPGBJgV8TnA9camjZpuXwJfZzg9mzIYjrnCElm1JA9/fIBmJ2paq QiWOyv5bHC9Hm/pG5a3b4Zz5ZxvnHrZgixi2H4bQdn102IFvbC03IeVbjHqe9LZ0ur5j UG1I5PiafvxzHvSsEozEM7hLqPP487avRmQLj6pn4Gmq8MNdaxRMPYU7IF1fvSXIZMx+ DyeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c145si104103qke.81.2017.06.14.07.10.57; Wed, 14 Jun 2017 07:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 6E6C660687; Wed, 14 Jun 2017 14:10:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 1E00E609CD; Wed, 14 Jun 2017 14:10:39 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C90F760962; Wed, 14 Jun 2017 14:10:33 +0000 (UTC) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20101.outbound.protection.outlook.com [40.107.2.101]) by lists.linaro.org (Postfix) with ESMTPS id 2A6F060687 for ; Wed, 14 Jun 2017 14:09:28 +0000 (UTC) Received: from AM3PR07CA0138.eurprd07.prod.outlook.com (2603:10a6:207:8::24) by VI1PR0701MB2480.eurprd07.prod.outlook.com (2603:10a6:800:6e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.10; Wed, 14 Jun 2017 14:09:26 +0000 Received: from AM5EUR03FT006.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by AM3PR07CA0138.outlook.office365.com (2603:10a6:207:8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.10 via Frontend Transport; Wed, 14 Jun 2017 14:09:26 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.241 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.241) by AM5EUR03FT006.mail.protection.outlook.com (10.152.16.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1157.12 via Frontend Transport; Wed, 14 Jun 2017 14:09:26 +0000 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v5EE8ld7019849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 14 Jun 2017 17:08:47 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v5EE8lS0019837 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Wed, 14 Jun 2017 17:08:47 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Wed, 14 Jun 2017 17:08:45 +0300 Message-ID: <20170614140847.30399-2-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170614140847.30399-1-petri.savolainen@linaro.org> References: <20170614140847.30399-1-petri.savolainen@linaro.org> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.241; IPV:CAL; SCL:-1; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39840400002)(39860400002)(39850400002)(39450400003)(39400400002)(2980300002)(199003)(189002)(9170700003)(33646002)(305945005)(77096006)(76176999)(5660300001)(356003)(50986999)(189998001)(1076002)(575784001)(86362001)(36756003)(498600001)(5003940100001)(8936002)(50466002)(48376002)(47776003)(81166006)(2906002)(2950100002)(22756006)(50226002)(6916009)(38730400002)(2351001)(105596002)(8676002)(53936002)(106466001)(110136004)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB2480; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT006; 1:Ts46QzzRkDHddZvxf1ghvllVwfIYbxQLizSKYsUhm30geTOk5s31b+GPms2+ScjF+hm+Iym2F72idn6DOrE1ADPu4pbKMhXB6zpMW92j2YWxK5hJYaw3RRG7EnLTyRGhas7Aq/pKJbvM+hOt2zsQ/3wV2laJ/mPX3pW5P1VUxiUrwxcX5IbnDASm7sllHv93LsUCmN0aoHIEtnfvk3lqAD1uap/uSX8/SNRcIR6/jPALPo5aiCrXuSe17arhJ3xv+CR/F1CSvTvP1cRApq12pqI6pn8WAF2EtYNN82I9lGRSqsSfzqR1DIOX0bUr3gZ1bmkyyt5uGDRANdpbhlD4BySF1Mio5llQwoGMEes6SXNDJgBXSn68jpW2wmTexGp7kepEjhcW4Ty0r5cTAHakspVR01GLRf5gqNcoXOXG+BPu1zd7rrbpr2VEq4AIiYF9/rYltbTCLzGssAOS3OLGLv+LFwo0JqBiF5Fu2MveLWf0k6qzk+0Tl3D7ZX/OdblIx3krRxWbhob2I7OQ2q4JCY7AHqhxGTYwM/xt/ph2Jes= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2cb7f20a-3d69-4cfd-3052-08d4b32ef731 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:VI1PR0701MB2480; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2480; 3:eUOVKpHRkSd0sJo+XFmBRfyJE/tjLmRJVKAp6AEahlTIfbJPVOjj1J/N7M73rNDhtmWRl6voywE1TOyyOoBXNQ2cjUuhcPm4lFPkfpGp8svq+dOL6NUHZgFFaN3+fD1d6q/+HXZL2qPqoVULH6d+GtHlIieef7plOkaiwx4NEZKwrk8dbLsuzu7/tS0+BBpK6Bpc3taOOvB82CgfxqI3vztDvybXCn2oNppkJosCwgjGzHwEPo++CtV2gifiQnOpSqsXnGCTpN5kLMhs/s5+YYGYQ3gErrrekhSoZDaZTGIp95ZJPI0seIL51P4hJKKYps+QrIuTlx69xizqYIZDnymfqlINj9/9O+7COa2Zs9zQ0N/5Afnymt7YiLmzTt867JrwsiYduXGzwYk7NVFuR0seYUGzHiVpDCOqthUXIa/ANnPOM4YDnTfDJnV+u5BPMsSvBxL1ciL9CcWiCH67Mw== X-MS-TrafficTypeDiagnostic: VI1PR0701MB2480: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2480; 25:Hej40Vt3mKsMk/+Nzgl8Jv8FQCRs7+A+1j/1J3CGRbVrAlK1E+9FZcRwx4Qd5aOzE2LzVSoQeWNUC9f0GrZY98zjFyvcO5G95/jGzb/TZyrchUTSoivA9kaW+FEjdv9V5c3+ZqOIYCNydeVrbx2VUxNZdsaI9gGURU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0h5S2FzVZNCttPOf2G6rgppCAi/l6AwudAZP28aD3f8BUQKhBlmudM5z26O0enRXC7R/+6zad1HZyBF+RYjY6doUmZJDv1b+Ff6Wmpcd6cvq2XjVv0daOfHeon3P6CgYVjyFXO7D54bcmeM0ya6MKHtKhbri1ThV2PVwO1UBItUqUm60GsY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13013025)(8121501046)(5005006)(13021025)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93003095)(6055026)(6041248)(20161123562025)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0701MB2480; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0701MB2480; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0701MB2480; 4:v6IDQirT+EpD5uHc9KD5ImIowj+MIlWW8rJmdIrJ?= wYwIYzqEYi53rIy4zyCbLHnr5uKlK6ZZtXlRmqjJu0kBN8xq//HJKpmTu/fTqAFNSs1Is7fl2/ZZepLSuiflzyYINpDuB6IFt1ZLKV5R9Y+6rnXA7l2IHd05H/SYLK+xngLVrl8S4gb0mNwtLC+SpdcbJ6bmRaEG4zpEMw2gux7GeZWLX7eYSWjmUb8ZQkwCZ86Z3uFk97EimF5Cl9J8C90Tpgvf7oLtEfWoGsaxvzAqp0juoblqhyKXgNU/BenkAi7VFglcCdCcdLB2pMS92M9Vf3qvvYTt0Rzc6aqfbcEQ5pK3DpFwoFcQFuAIhmvyek0r4OuEd8Z7sGEzmDZuEt9w22YZKoP94r+EtHXdDrp1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8r1uGlFK0Z9dFcxHQNveQnkQ6NRLnekKxgkeZ5OGke8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2480; 7:mdQZah1+Rh5fVANP71v90WibBcoL4k3B9PrAFkBRr3Gsv3YZgatbA3rgukamCHBZfE7ijvPQrzNke21zhSOEf/wBIa/q6ZpfQ52pt6bsRqQdDWvyDwRKGvWgajx7KfgpHFPwrWipUrLclrkN8eBrbOCy2S6Rc4SmxMlEaEssnSX1a7m+gFsqsuNLoGhv6HUBHSS//l+iWvbGa+8PwY7UnEDv96AJQaCSj40hgjvWhSUlsn6a9MDzrYyupfTN9CwXK9fKISmtWjeN2N1d+lz/xGDtfpnZFJwEm17pYMG8yu53FbvnJ8KLlF1SR1Yh0wMaNq+biAJwp2Fu0vDU8I6jYQ== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2017 14:09:26.1427 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.241]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2480 Subject: [lng-odp] [API-NEXT PATCH v2 1/3] api: event: add subtype to expand event type X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Event subtype gives more detailed information about the event. Two subtypes (basic and IPSEC packet) are introduced initially. Later on, other packet producing APIs (crypto, comp, etc) may also produce packet events with additional subtypes. Signed-off-by: Petri Savolainen --- include/odp/api/spec/event.h | 80 ++++++++++++++++++++-- include/odp/arch/default/api/abi/event.h | 9 ++- .../include/odp/api/plat/event_types.h | 8 ++- 3 files changed, 89 insertions(+), 8 deletions(-) -- 2.13.0 diff --git a/include/odp/api/spec/event.h b/include/odp/api/spec/event.h index f22efce5..ac92c339 100644 --- a/include/odp/api/spec/event.h +++ b/include/odp/api/spec/event.h @@ -37,21 +37,91 @@ extern "C" { /** * @typedef odp_event_type_t - * ODP event types: - * ODP_EVENT_BUFFER, ODP_EVENT_PACKET, ODP_EVENT_TIMEOUT, - * ODP_EVENT_CRYPTO_COMPL, ODP_EVENT_IPSEC_RESULT, ODP_EVENT_IPSEC_STATUS + * Event type + * + * Event type specifies purpose and general format of an event. It can be + * checked with odp_event_type() or odp_event_types(). Each event type has + * functions (e.g. odp_buffer_from_event()) to convert between the generic event + * handle (odp_event_t) and the type specific handle (e.g. odp_buffer_t). + * Results are undefined, if conversion function of a wrong event type is used. + * Application cannot change event type by chaining conversion functions. + * + * List of event types: + * - ODP_EVENT_BUFFER + * - Buffer event (odp_buffer_t) for simple data storage and message passing + * - ODP_EVENT_PACKET + * - Packet event (odp_packet_t) containing packet data and plenty of + * packet processing related metadata + * - ODP_EVENT_TIMEOUT + * - Timeout event (odp_timeout_t) from a timer + * - ODP_EVENT_CRYPTO_COMPL + * - Crypto completion event (odp_crypto_compl_t) + * - ODP_EVENT_IPSEC_STATUS + * - IPSEC status update event (odp_ipsec_status_t) */ /** - * Get event type + * @typedef odp_event_subtype_t + * Event subtype * - * @param event Event handle + * Event subtype expands event type specification by providing more detailed + * purpose and format of an event. It can be checked with odp_event_subtype() or + * odp_event_types(). Each event subtype may define specific functions + * (e.g. odp_ipsec_packet_from_event()) to convert between the generic event + * handle (odp_event_t) and event type specific handle (e.g. odp_packet_t). When + * subtype is known, these subtype specific functions should be preffer over the + * event type general function (e.g. odp_packet_from_event()). Results are + * undefined, if conversion function of a wrong event subtype is used. + * Application cannot change event subtype by chaining conversion functions. + * + * List of event subtypes: + * - ODP_EVENT_PACKET_BASIC + * - Packet event (odp_packet_t) with basic packet metadata + * - ODP_EVENT_PACKET_IPSEC + * - Packet event (odp_packet_t) generated as a result of an IPsec + * operation. It contains IPSEC specific metadata in addition to the basic + * packet metadata. + * - ODP_EVENT_NO_SUBTYPE + * - An event type does not have any subtypes defined + */ + +/** + * Event type of an event + * + * Event type specifies purpose and general format of an event. + * + * @param event Event handle * * @return Event type */ odp_event_type_t odp_event_type(odp_event_t event); /** + * Event subtype of an event + * + * Event subtype expands event type specification by providing more detailed + * purpose and format of an event. + * + * @param event Event handle + * + * @return Event subtype + */ +odp_event_subtype_t odp_event_subtype(odp_event_t event); + +/** + * Event type and subtype of an event + * + * Returns event type and outputs event subtype. + * + * @param event Event handle + * @param[out] subtype Pointer to event subtype for output + * + * @return Event type + */ +odp_event_type_t odp_event_types(odp_event_t event, + odp_event_subtype_t *subtype); + +/** * Get printable value for an odp_event_t * * @param hdl odp_event_t handle to be printed diff --git a/include/odp/arch/default/api/abi/event.h b/include/odp/arch/default/api/abi/event.h index 87220d63..ab3c0f75 100644 --- a/include/odp/arch/default/api/abi/event.h +++ b/include/odp/arch/default/api/abi/event.h @@ -29,10 +29,15 @@ typedef enum odp_event_type_t { ODP_EVENT_PACKET = 2, ODP_EVENT_TIMEOUT = 3, ODP_EVENT_CRYPTO_COMPL = 4, - ODP_EVENT_IPSEC_RESULT = 5, - ODP_EVENT_IPSEC_STATUS = 6 + ODP_EVENT_IPSEC_STATUS = 5 } odp_event_type_t; +typedef enum odp_event_subtype_t { + ODP_EVENT_NO_SUBTYPE = 0, + ODP_EVENT_PACKET_BASIC = 1, + ODP_EVENT_PACKET_IPSEC = 2 +} odp_event_subtype_t; + /** * @} */ diff --git a/platform/linux-generic/include/odp/api/plat/event_types.h b/platform/linux-generic/include/odp/api/plat/event_types.h index 0f517834..5b3a07e3 100644 --- a/platform/linux-generic/include/odp/api/plat/event_types.h +++ b/platform/linux-generic/include/odp/api/plat/event_types.h @@ -39,9 +39,15 @@ typedef enum odp_event_type_t { ODP_EVENT_PACKET = 2, ODP_EVENT_TIMEOUT = 3, ODP_EVENT_CRYPTO_COMPL = 4, - ODP_EVENT_IPSEC_RESULT = 5 + ODP_EVENT_IPSEC_STATUS = 5 } odp_event_type_t; +typedef enum odp_event_subtype_t { + ODP_EVENT_NO_SUBTYPE = 0, + ODP_EVENT_PACKET_BASIC = 1, + ODP_EVENT_PACKET_IPSEC = 2 +} odp_event_subtype_t; + /** * @} */