From patchwork Fri Jun 16 10:49:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 105703 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1238296qgd; Fri, 16 Jun 2017 03:51:23 -0700 (PDT) X-Received: by 10.55.97.148 with SMTP id v142mr11998182qkb.107.1497610283052; Fri, 16 Jun 2017 03:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497610283; cv=none; d=google.com; s=arc-20160816; b=0bIT2kF1vKw6VDvSJngLp/vJc878E1RKZpKCJuaNuYN0gKkJXGjQ6OiRkHeyL0mFQG goCsbHZdl1NKmdzYgko5kNYdvT5jCD0oYjPOIZa9F2eN68di6AcxOO+/MFkqDMRrmAAd uMwxQNCXYg5MsEJ9ZUl52eCO4mFWM+Ze51A9nidbrq4tUoQcPF85ijIl55GQ/6pV2prj c5JrercDYHo2Cmh7NsiDyuM4l0NUcu8PpCYe5T41yQHIoqDkP95Ve7aVK3QD/I5MXOnB 9CjKk1dcPCSxyscnLFh2gNvkOV2cqCr3Sp9WpKD6aEdKBLhePgB5ZA56KW08DLyREXqm wsvw== 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=N8SW6BjkL52mr+0Pz2ZzBxWZlVpAuX+zyEz5Rbv0Tdo=; b=oW3OXCBQILVwP7IXRI4a0ZicKg5ESPPCZLoeD6mx1sTxp3sV2BwgjhAQzeLOSy0Cif aR+DfAmAhq0HRk136kekZHgAEUUKxcTdCHm8tDZQ3x4ZTqxeeYKYl4YA/u0GSrqkgZTJ MRWOKDwjdcGPerqkD+E+0d8UZjxyrPV+X3Dnb7PRF3ZdBto2mPV6gvVoStMWDFXhCFeU OXH7RGkJVjv8FByfyzVyZOAbV3CW8ksVIeCrjaH/eJu/X+vMII0+C4pVb3hBt0X1ycwJ 1gQ7eV2CplbfsGcsj431KGXaXIYqcQNzCabXKw6WVLIZtReWo/b+aeItCHxjDeJa8FNz 8uXQ== 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 21si1756748qtu.34.2017.06.16.03.51.22; Fri, 16 Jun 2017 03:51:23 -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 A7D2E60C2E; Fri, 16 Jun 2017 10:51:22 +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=-4.7 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 A31BA60C32; Fri, 16 Jun 2017 10:50:21 +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 C376160C30; Fri, 16 Jun 2017 10:50:13 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0092.outbound.protection.outlook.com [104.47.2.92]) by lists.linaro.org (Postfix) with ESMTPS id 19FA760825 for ; Fri, 16 Jun 2017 10:50:09 +0000 (UTC) Received: from VI1PR07CA0194.eurprd07.prod.outlook.com (2603:10a6:802:3f::18) by VI1PR0701MB2479.eurprd07.prod.outlook.com (2603:10a6:800:6e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.10; Fri, 16 Jun 2017 10:50:07 +0000 Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::207) by VI1PR07CA0194.outlook.office365.com (2603:10a6:802:3f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.6 via Frontend Transport; Fri, 16 Jun 2017 10:50:07 +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 AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) 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; Fri, 16 Jun 2017 10:50:06 +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 v5GAneKw018240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 16 Jun 2017 13:49:40 +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 v5GAnebx018212 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Fri, 16 Jun 2017 13:49:40 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Fri, 16 Jun 2017 13:49:38 +0300 Message-ID: <20170616104940.20166-2-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170616104940.20166-1-petri.savolainen@linaro.org> References: <20170616104940.20166-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)(39400400002)(39410400002)(39840400002)(39860400002)(39850400002)(2980300002)(199003)(189002)(9170700003)(47776003)(8936002)(5003940100001)(356003)(1076002)(38730400002)(81166006)(8676002)(2950100002)(22756006)(498600001)(110136004)(50226002)(2906002)(36756003)(53936002)(6916009)(105596002)(2351001)(575784001)(86362001)(5660300001)(48376002)(77096006)(305945005)(50466002)(189998001)(106466001)(33646002)(50986999)(76176999)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB2479; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT005; 1:IIGccKXY8gshmRL8A2i0qZBrAOmSwIGb+t3SMkaYkPqcQw3lBRmiD04Gfw5sfjTDkMxGhuuPC+fp8LF+p+70qig+545PwDFzhb+/yN//HTGF/4zh3JwaYFKZ1tes/GKAI3BoF/x4n44BFjCPxFNq+fKXhNCVlVFre6HrBqRFc1WEcMKapOmHJ+3uVV48WicnzfcB0IEc4ECgUb7R9ny6625kuc8ScXcZvhSOtOmqEUWtE/jpAfOzWGX0cjxrYTSlNwPo7mQ2oRWmX9LxLz3TwdHlsV/nPNT3n83N9nuJdWldyvzmEr8+Sl+646P3tu5a4BIKNZ/lEKYBYecXJr/d2aTkL6lxHwloht9doj9fQQI6dDZVXwhFoZBOGLQ2PoybhihlY1yjAhmojbOo7rwi/+AiaBngZwpsxhgeAWyR29m1gt9+h4Cih5yWEMj4W14XgHCpw4WOXpsMaAuq8SPIBLhdxvAm9nTDDZIMh8ugqg7EfQn+GXrX74Q0HQp2RuCjAcXuojAtN1N2HdsBjEpZlTPDEORNV5Nx/FXJkOVAMvo= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 502959b1-0d97-421a-24b0-08d4b4a5738c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:VI1PR0701MB2479; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2479; 3:SkDxJ+Mg86ySdvgdEqOZqXSHFxQIcL6Hbejdui65b9M4wdEHvDGI0MlFJpFsOHmk+Rk2Ga/5O9isAQ3DlTvrbRCsteLODczQF5t0cI1ckF1vAxX9SQnoOzj8ia4hie0/610g2bgSkvg6TisfuyrZwEzFVG3yifBdUxZXOGAl8tD8ZTXHqQ2JTQ6Knitt7uewyzwW7iT7OcWzLmGsbOB0UMloK+3J/1MzsejHy2zIEiayDQ/VGf3ZgSqZpqn2oTrNKGchgdJhTnieWhXAKZuVBTJcTlp0A//3RX5YKQCu6ICWPsuIqDcSg/HEaxfO9m6pxxmmhyhJLA9F25QaLNyTibgIYrWuhOvZ9PzWQSJhGRSEOkDXa80MuwzEug6G3AG7X7Fn6hFacvoEWhpfW2T3Nn6a10o0SIlhjabynaPfHyks/vb5g2iVOzrDRxl/Uer8syYx8xtG8HYeqf6rdVP1Kg== X-MS-TrafficTypeDiagnostic: VI1PR0701MB2479: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2479; 25:DplBpqSC9e8ykriBXcSr6vu7fcMfsBnHREoO9vQhMOmii2HYfUX2Xbgx3Z0INOdhjre4RuJxYBLKgfgWtbaHy1uohut+5Sx4w+z/YyzmsOqywc034EcFdYcQ3I9jnacBDV06DNkOs1DJswfneHy3rIUmcBoy4yiKbm7WMXehh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NZtdM+DWNpVa0iDyw2qkxXHUgOMaJfQDQhhRW/fHUjIjit+o/ZP9ZNts5AMEc3hs2Xu3VpaMMLdX3MNCbf9GNvF+6Sq+qYGiAAeLJWeH9ALBxbSnpSzdJohVanAOEjcAqHqkERP3W5i78l/TBTcCpSInAP0KKzg+9louTJ90yU= 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)(13021025)(8121501046)(5005006)(13013025)(93006095)(93003095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123560025)(20161123562025)(20161123555025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0701MB2479; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0701MB2479; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0701MB2479; 4:hYObPGWDbKgE+GVaUbjwRV2xBzsGhq5ZmvourFa0?= OpbMdhY0rVHB2zOjV6LysZockSBMHZ93XOB4WN7n3Xxc63A+VKYnhs/DX4/UeUNvNhA29tz4PVJKYnhzv+mGd6i9TNcZ1zgGDvVwtx35owm9gZ12aDEIyhIsSyA95DiTzJR+OBVa6fxojXYLXpRuX4zw4PMl7iwukLC3Kq6ix3mjKAvVEWXTNrl+2I0UuT0mMqETXcSDkMnqQjt5jsb6OBN2rGGv3q+/E7t9fH4yZUm43syHBwL3o42y3CXgxKWoLn46y0fOKkma73rDPogxGwaAUcsGVB2fYGU/DP8C64YC9t03SYLGyJMWY2WtT4QSMs+5T3Ac8RPwmPDNiNOG/BBpD6WRfVU5ucLrX4vzVLPXj0P1GLtIoEeK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9Gbive8MtvWwdJWBhN3qQFmirw1ahrHxcORheX9c4I8lC2XQGQXeKTSEo0+qiU4rxJag7myWqdSf5QW0HFdj2T+wlzsCD7a0fp0F0IB3dcw7CE0Pnv8hHTpkhRm/Xa07zg5F3Ros9+p7Me5munt2Mg0dMQRdN8Tqo355CTdze8xcNuKIJ8hDYrluHrvnO9lBM7tNswWkPSHPrE9t4TqAr7NTEyQRud4QljfSPE7+32h7zVWnK4UEMfO7mI= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 10:50:06.2093 (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: VI1PR0701MB2479 Subject: [lng-odp] [API-NEXT PATCH v3 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..2ad3ce84 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 preferred 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; + /** * @} */