From patchwork Tue Jul 11 12:31:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 107366 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp4814454qge; Tue, 11 Jul 2017 05:36:08 -0700 (PDT) X-Received: by 10.200.49.73 with SMTP id h9mr11162979qtb.13.1499776567954; Tue, 11 Jul 2017 05:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499776567; cv=none; d=google.com; s=arc-20160816; b=kOONHjN2htJwIzBJ4U53GsSj17xKcwbITMMDZf6VW59W7R1ojJiE7m6uFcAhsUdNM3 AMmbMaM6ITjZzIfZ/bp/N2OoSZ3YE1r+3IEIZ39GfI/Psh22vlvwPyW4f4lrJy6sOWTM boVh4PW9wbZaRAhkm2JmumlDb8JdJoFSC9WDzt7wcRNBuXKnzzUv16Zhp/QQDHjAtr5p zueQVVrkAXVRRFHcsSvOX6mJO1TCPKXIcNyuV8cBgm7bRHA6OHHb49y+QsB5tWMjbUNn lIMvSCE1/ZbUlTUH/H9LiskLaockG88atxoxFagwWqkf1QeUzIn366J0xm6lDpAZXyBE X01A== 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=iiRlPANdRG+wLCYhKcrbjVSBv4wLm2ytcFcktBIogm4=; b=Lm0qH5wV0yKpKLdze/xRziMaQq5H5QlV7uPU7ywzpbOqsBMhmyhpjBUApdiEXBUokn dWEFhtVDtST4lUzXj5+wY0DgWdaov951a28eGvLiamPR1qZ05Mv6hGrHKClXgDqxxeoN X2QpTsWtKctCPzV2PJWVwUoBe7AeasSQll3jhLRQUA090ZIhToL2FJzxVkVLVTv9/B/I BY8oLn0Kb+mki8lefP9Y55j06nAEjuRGVhhViqEU7HIT8oq5BQpJ7veflTtI9/xI9KmL Jbqeg0YNBH3+s+OBF9j9If6UiAQIO6ihwBDm26QaV8nBxUkqnihZeTtwvRJPMAnjyxH9 xxZw== 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 c13si12836641qkb.54.2017.07.11.05.36.07; Tue, 11 Jul 2017 05:36:07 -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 23F9C60CAB; Tue, 11 Jul 2017 12:36:07 +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 BE4EC64481; Tue, 11 Jul 2017 12:33:37 +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 22C3664493; Tue, 11 Jul 2017 12:33:30 +0000 (UTC) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10130.outbound.protection.outlook.com [40.107.1.130]) by lists.linaro.org (Postfix) with ESMTPS id 593FD6447D for ; Tue, 11 Jul 2017 12:32:17 +0000 (UTC) Received: from DB6PR07CA0058.eurprd07.prod.outlook.com (2603:10a6:6:2a::20) by AM4PR0701MB2193.eurprd07.prod.outlook.com (2603:10a6:200:49::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.4; Tue, 11 Jul 2017 12:32:15 +0000 Received: from AM5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by DB6PR07CA0058.outlook.office365.com (2603:10a6:6:2a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.4 via Frontend Transport; Tue, 11 Jul 2017 12:32:15 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.240 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.240) by AM5EUR03FT011.mail.protection.outlook.com (10.152.16.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1220.9 via Frontend Transport; Tue, 11 Jul 2017 12:32:15 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v6BCVJA2015684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 11 Jul 2017 15:31:19 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v6BCVIGR015642 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Tue, 11 Jul 2017 15:31:19 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Tue, 11 Jul 2017 15:31:15 +0300 Message-ID: <20170711123118.14745-6-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170711123118.14745-1-petri.savolainen@linaro.org> References: <20170711123118.14745-1-petri.savolainen@linaro.org> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:CAL; SCL:-1; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39450400003)(39410400002)(39850400002)(39840400002)(39860400002)(2980300002)(189002)(199003)(9170700003)(106466001)(50466002)(48376002)(105596002)(6916009)(8676002)(1076002)(81166006)(8936002)(86362001)(2950100002)(6666003)(50226002)(189998001)(22756006)(5660300001)(626005)(36756003)(2906002)(110136004)(47776003)(38730400002)(77096006)(356003)(50986999)(305945005)(76176999)(2351001)(498600001)(53936002)(5003940100001)(33646002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0701MB2193; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT011; 1:l/OA2o4DHnEZxlojR8cRXfc7BsRWdq2QNuxJnd1DmcjXAziAWaZKVpRAJc7hchYPXPgo3j75WeZSka66COXzz22NzzCgCJ9UIMi39zsZYgUYE+0v1gbLaYj9C7rfSDg1mrfuxXDLfMyQn6PfhR4wzxJxdFzeAq1MnpmEOsDVI9EAp66DoMHBJuUWyIpFb0RahBxlNCNWQbHMi9ZOgt/aB2xW/gNx+3QG0Vd4pUMFPnLs/HLdFJYZP5dsuTYByVy4TYRnD7rNtAgURh2MtvQyw1z+KoJZHwwORn035ulMoB4zu66wrJljgdYf2THNAVi0xlgJe77IOwB7sz3tBk5bzvmxQ/G4nOWmqPCilC3bmNto3sq6n9C/8jdzNLmZDfq1vZN3LxupUCE7Sdgyks5OVQpn/IdD4JGcwmkMSqJ9at2qYJZDGGNLtUnJIIcDafD+jFT+De11PbHYk+pOc//uWdSrFv7VSXvWFR61Qd9vk7ZXs0irA8hXYB6FvGDj0u0WxNGsmTDG+YuKoEKxce5SvyJYh+nGBebZzJaMDwaSWzDi0esa3zfgn0PeycOjhMojGh7ZA7HfuZuCnSnD2bfWBN8i3CIfiii3SrVdkKHs7ezVUi53JdwPtHHwyNE8EQhsqmY4FFuJv0Eq5aSrwBWdvc842c3uLZvZ8Yt+fjtgRoGcWUMK345tAlwrNg0+8+P+U8AY3mppbOopqw0KxOJ7wVe8XlP8Zfa54+Cmaukmbllm8wXn+7Wlrh3++6Z2EQyi4q3/aYeSZ0fUpBykqL6fT5wGubtZ0tkjOpsEoVSHUIhO16Dc/asU99bKNyJMYv3n3FtsQWDRCieKEX22/qSBfrLVnDWCJij+uMkGnMeBp08= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 34a1c0b9-ed4f-4bae-25cf-08d4c858dd02 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM4PR0701MB2193; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2193; 3:lZIvq49CXbXhAP94zQT7JiLZpQKqO+ihLpzJqyGoLmOoxmjhFXej4NCTjemvA3afjmA4+vpOnZDgFzUT09sH4gTHIIK+ZHF7s6SLyqGf1d2rPvbvvcp7gfRK8MMP7kf6TTdRJbs0FTH3PUZ8N8+ECAjxLxNb0kCmI7iMKBJu7Gu2nWJgysAkLXa7Gpb3j5ayhB5AfP6d9VmnoBSrOqS87zFHt5TUpEr6ZGyMT8wANGyt5mNToVHpHc5mUeJF3gIItRHcw+RcSDa9xCai3298pMMUKT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UpE39nMELD3/PcOPwbanLAT3+to7YOe0NVlIzeQ4QMwG5pbiCckXfs6I5Hcl9wbQFkffpYiK/KRqEqGtMJauYfOL5AXiJQODGoP3sc5s2UeB8PijpynoAhzgGYm898GqkPKzGzVQ1KBt3wfgGksNVBytSvuscKJr4VBUhfI6UHc3pCNCjq6+QCmEiuJ033twR4lLFnqjxqYhnKsBG6uWGliorjfokU5Bvum X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2193; 20:LkI8hobCqt4wO2SGZXMTIYoEBer8GMqYyz5vHYP2skfGqQM2OLQLaz93kNhV1jb5RV7ckQszebQ30SN6i8scBRoxqXHRXpiVbbl5OomiEoDKdpj52Txps2Of4oCmvUm3e9Qf89PHCmJEHXNk9ygRsLY2sPTCglwEzdQxSb7zjFrVus4bAAqYcVc+3AGcHZdTqcrSVvHz/OtYAtWbjn9l4bkglc37K/kTocQVuu82ckA/O4WxFWeyu/JWafiy7B1LjujG59Cr12BBfbOGt3iS9anadBxn4xeDPXvyAzmtbUp4Y+8MQyCbpa/31WgRmO9RcTh1H1tcRcXV9p7NlaQbiWNlbW7r20jGZbhQVFrNGT1rVrGjKcAKxlhYQZS0ISo9Y2wlTtzkgLYPl8GarEQHUa/lqjIEyiT5srYDlPVqOOBGQm9UToj8xelP0j+/APDNmL6M/IC4fbgApAr+fLGao4HJc+75xUntqPx2Y6Mpm18BZTBR14XWlTpR6M7wm4NK6ouRokossfySdUOn9Trvch8V0ATll2QmfGFLmfe/3JR7xsmE5ij3nveusrvf9yYjHQC88WdDZ/C5WmV/lr9X0wRgaYhBDyP2Of/6GyqkeJ0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(13021025)(8121501046)(5005006)(13013025)(93006095)(93003095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123558100)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0701MB2193; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0701MB2193; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0701MB2193; 4:JQtgd87bCuUykIylfR+cY2snfeTq2Mjq4jSq0k2s?= YQTSfxUDEJlG4S8MEQuwOGXzgEB3BcqhwU9EinzWrer2DR+0UraQ+t16FAM4Wop6HVfjdY3SuEhcOCrWpXWF6NhnlT+7d00ZWOOBWgM0KNA7i5ileo/EFzZCrrq45hyKB+YQOVmvE07veCjupwfBMV1xH53Q00qqIfpUmnSKC677SHH5WtgWyo+ovUXSsHOSeMYMjXYM+7quLzG+03fSNqiuNaC6FvKxYwfuBDDQih1ItVkI4mz93sCwBdJSnvubrIL5LQ0Rocysr0nh4uuCOp3tmmS6uUL2ZhNRNK4MbWuKsmhb8dKoMsAN9ufbUFogGN1h0cTN21ZT4WVbtpMA66Rl7JRbMVOA87kUwU3nDgQQ5oBf9URQ5NgpUSd+AbxTNIq/xylYVm218ssVdT7+CuPJQuvFlO4kzvCj+SnTwS0kJZt/ayNvBmV/w+oLZMsgcCd5sDQe5Hj+tmreegAY/3naQCNwBcHpXJsbHd6A+mEg9mGOTOndSPJowk+qYQYXJywEsnSmCBNdVxPOOn0kqga6EkkCxVO9EFK9nrYDnuVwhmk0u+86CdHgmUseAeUDuQJEbspiSyK7ScRlnzQT8HAZFRUvQ5/NfVmGYNZhvRTewtp/8q89OeOY3kr5yITYV9PZzjm6DRNhXjp081JlWq5e1m1NUsoms5m1/yit4W/ZZK4MOMhhDUkkttl9hnVRf0zAYjaiHgqujTL9M4zSlQR7AJzVr+iaWi7gSF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v6Ep1qEfWQjWSJpwAU= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 12:32:15.4946 (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.240]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0701MB2193 Subject: [lng-odp] [API-NEXT PATCH 6/9] api: ipsec: split operation result status bits 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" Split error bits into error and warning bits. Move flags into separate type and field. This way, all exceptions (rare but important events) can be checked and maintained separately from operation flags, which may be set for almost every packet. Signed-off-by: Petri Savolainen --- include/odp/api/spec/ipsec.h | 94 ++++++++++++++++++++++++++++++++------------ 1 file changed, 68 insertions(+), 26 deletions(-) -- 2.13.0 diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 7e75b4bf..ed592ac2 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -550,8 +550,8 @@ typedef enum odp_ipsec_frag_mode_t { * Lookup mode controls how an SA participates in SA lookup offload. * Inbound operations perform SA lookup if application does not provide a SA as * a parameter. In inline mode, a lookup miss directs the packet back to normal - * packet input interface processing. SA lookup failure status (error.sa_lookup) - * is reported through odp_ipsec_packet_result_t. + * packet input interface processing. SA lookup failure status + * (status.error.sa_lookup) is reported through odp_ipsec_packet_result_t. */ typedef enum odp_ipsec_lookup_mode_t { /** Inbound SA lookup is disabled for the SA. */ @@ -870,11 +870,11 @@ uint64_t odp_ipsec_sa_to_u64(odp_ipsec_sa_t sa); /** IPSEC operation status has no errors */ #define ODP_IPSEC_OK 0 -/** IPSEC operation status */ -typedef struct odp_ipsec_op_status_t { - /** Variant mappings for op status */ +/** IPSEC errors */ +typedef struct odp_ipsec_error_t { + /** IPSEC errors */ union { - /** Error flags */ + /** Error bits */ struct { /** Protocol error. Not a valid ESP or AH packet, * packet data length error, etc. */ @@ -895,44 +895,81 @@ typedef struct odp_ipsec_op_status_t { /** Packet does not fit into the given MTU size */ uint32_t mtu : 1; - /** Soft lifetime expired: bytes */ - uint32_t soft_exp_bytes : 1; - - /** Soft lifetime expired: packets */ - uint32_t soft_exp_packets : 1; - /** Hard lifetime expired: bytes */ uint32_t hard_exp_bytes : 1; /** Hard lifetime expired: packets */ uint32_t hard_exp_packets : 1; - - } error; + }; /** All error bits * - * This field can be used to set, clear or compare multiple - * flags. For example, 'status.all_error != ODP_IPSEC_OK' - * checks if there are - * any errors. + * This field can be used to set, clear or compare + * multiple bits. For example, 'status.error.all != 0' + * checks if there are any errors. */ - uint32_t all_error; + uint32_t all; }; - /** Variant mappings for status flags */ +} odp_ipsec_error_t; + +/** IPSEC warnings */ +typedef struct odp_ipsec_warn_t { + /** IPSEC warnings */ union { - /** Status flags */ + /** Warning bits */ + struct { + /** Soft lifetime expired: bytes */ + uint32_t soft_exp_bytes : 1; + + /** Soft lifetime expired: packets */ + uint32_t soft_exp_packets : 1; + }; + + /** All warnings bits */ + uint32_t all; + }; + +} odp_ipsec_warn_t; + +/** IPSEC operation status */ +typedef struct odp_ipsec_op_status_t { + /** IPSEC status bits */ + union { + /** IPSEC errors and warnings */ + struct { + /** IPSEC errors */ + odp_ipsec_error_t error; + + /** IPSEC warnings */ + odp_ipsec_warn_t warn; + }; + + /** All status bits. Combines all error and warning bits. + * For example, 'status.all != ODP_IPSEC_OK' checks if there + * are any errors or warnings. */ + uint64_t all; + + }; + +} odp_ipsec_op_status_t; + +/** IPSEC operation flags */ +typedef struct odp_ipsec_op_flag_t { + /** IPSEC operations flags */ + union { + /** Operation flags */ struct { /** Packet was processed in inline mode */ uint32_t inline_mode : 1; - } flag; + }; /** All flag bits */ - uint32_t all_flag; + uint32_t all; }; -} odp_ipsec_op_status_t; +} odp_ipsec_op_flag_t; /** * IPSEC outbound operation options @@ -1041,9 +1078,14 @@ typedef struct odp_ipsec_out_inline_param_t { * IPSEC operation result for a packet */ typedef struct odp_ipsec_packet_result_t { - /** IPSEC operation status */ + /** IPSEC operation status. Use this to check if IPSEC operation + * reported any errors or warnings (e.g. status.all != ODP_IPSEC_OK). + */ odp_ipsec_op_status_t status; + /** IPSEC operation flags */ + odp_ipsec_op_flag_t flag; + /** IPSEC SA that was used to create the packet * * Operation updates this SA handle value, when SA look up is performed @@ -1055,7 +1097,7 @@ typedef struct odp_ipsec_packet_result_t { /** Packet outer header status before inbound inline processing. * This is valid only when outer headers are retained - * (see odp_ipsec_inbound_config_t) and status.flag.inline_mode is set. + * (see odp_ipsec_inbound_config_t) and flag.inline_mode is set. */ struct { /** Points to the first byte of retained outer headers. These