From patchwork Wed Jul 12 12:56:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 107503 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp782994qge; Wed, 12 Jul 2017 06:03:53 -0700 (PDT) X-Received: by 10.237.38.195 with SMTP id q61mr6434882qtd.245.1499864633580; Wed, 12 Jul 2017 06:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499864633; cv=none; d=google.com; s=arc-20160816; b=GGgBMyyjI38sTOQIrfmUF9U9Kl+nB/4VyH9EUTvZ9QffF9kHuEMMxD5ZSoxpApYISK hdoVL07cTmRW8ysuFuytIYhaCy3gqs/zLoPD1t4g+yP4Rm8ihRxlGyXokeIwEkBj3GKq K7or70VVtnksUc6pXPnU8pkjeQKBa+okGGPbciRw7xLXq4hoD7NyTa2/OeCBkHyV8mRW JLokZx1F5JdVEgesP0MQcIE1343sc5ceRo363yakr7GEJKAS2I/iXfO3hFFQcDv2d9w7 LbMRLNQ1SFohRkbf6WchNgWfJw3YBoWx7YnTdttHroCgxjKfjg+54Q4x4TXmo/bTi5pR ao5g== 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=f485IDJsOOagxb+CICSmUG9LF9ywpJHMF64I9UHa30A=; b=nTCAau7QVtsjBOCRPta+A2QXTQjUthC6szm/89EKKD+jxo43yNeZCYBntw/pXYsZcJ 42wK4JT2fwf2xKQ3pEuFiQCHa2Ma0yxbYo0VTVKqMjNaJ/Er8s/9wP5qXoCp5UdsdekK SYZTiZVe6AicdhQRwmEo9Wxd9B+LY7ZAB26RIvjPA5BrT7IaBqn/ZB7pCpL0gxDCC1R6 /ac+MeNIKV27vLtiiZS8trtOxjgFNYYkl+BANQp15xOGbBVaxr4JpUJ/YcrtC23qSXR2 IsRXvJslmXTCgokLvkR9Je3aBnUSN+Gqr0ZEJ8TX0ofAXh8c6zAu6KpKphpgJoUH4XBw hSXA== 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 x19si2302408qth.297.2017.07.12.06.03.53; Wed, 12 Jul 2017 06:03:53 -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 30BF062875; Wed, 12 Jul 2017 13:03:53 +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=-2.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, 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 3D16F64490; Wed, 12 Jul 2017 12:58:52 +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 BBADB64490; Wed, 12 Jul 2017 12:58:44 +0000 (UTC) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40099.outbound.protection.outlook.com [40.107.4.99]) by lists.linaro.org (Postfix) with ESMTPS id 64EDD644B0 for ; Wed, 12 Jul 2017 12:57:24 +0000 (UTC) Received: from VI1PR07CA0166.eurprd07.prod.outlook.com (2603:10a6:802:3e::14) by HE1PR07MB1049.eurprd07.prod.outlook.com (2a01:111:e400:581d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.4; Wed, 12 Jul 2017 12:57:16 +0000 Received: from DB5EUR03FT057.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::207) by VI1PR07CA0166.outlook.office365.com (2603:10a6:802:3e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.4 via Frontend Transport; Wed, 12 Jul 2017 12:57:16 +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 DB5EUR03FT057.mail.protection.outlook.com (10.152.20.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1240.9 via Frontend Transport; Wed, 12 Jul 2017 12:57:15 +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 v6CCuehM018026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 12 Jul 2017 15:56: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 v6CCudve017949 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Wed, 12 Jul 2017 15:56:39 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Wed, 12 Jul 2017 15:56:36 +0300 Message-ID: <20170712125639.11445-6-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170712125639.11445-1-petri.savolainen@linaro.org> References: <20170712125639.11445-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)(39850400002)(39400400002)(39860400002)(39450400003)(39840400002)(2980300002)(189002)(199003)(9170700003)(6666003)(8936002)(106466001)(6916009)(50226002)(2351001)(105596002)(33646002)(5003940100001)(48376002)(53936002)(189998001)(50986999)(2950100002)(8676002)(81166006)(76176999)(77096006)(38730400002)(47776003)(356003)(110136004)(498600001)(626005)(305945005)(22756006)(2906002)(1076002)(86362001)(5660300001)(36756003)(50466002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR07MB1049; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT057; 1:xRkAVhHX00PXKA6ui1a8w9jwDcMiziOfGeJzBnGpI0K8YmP2e81s5UIY+qHTS0lnRwVvEXYaniQQAAsTlXtFFtmeYZB7eWCZKZ0wNBJkKWx7PJ9dCE6bAxsD7U7/V+3wNlhXSdS7E+Nfth1HM5AslC0KEoE6qqWH1ZE7QASdY0zU/2ldW3sCZrt9jIxNujx+5FgFQjluHJI/Aw/1oWbxGwjfSrJq+SLnqob0Na5FAf+hIXurnwQ6B2wLCJ6R0AAWEJkiK45IrB5qF7kGLpj/jWtYzrq5PK42jZk76v5VQCNjVhDkWkz+Pgt+gjj8LxFV3Rdqsl7dA6/wOY2te0pOZZ/gB96YtBk+bskD3NOjEIYRUCfcaECsOdbUqRovLj8M7CpYRqVpy27NL6tMio7xPnyhCDmfZxxFZQ3yH1c88d8npRetjnGJwa7/n8qUt//PQvoE7HNnlQ4mQSGvaxZa5Vjd4bXoRu4jD7TNn6fpaKkWTrHNiG4E76bEDeMKROTThrqEgXwQ6eUTXdSgAd7MCt5C/+fymjofFT6IxuU4zcFBosKwjLAr1y1LGRiV9+UTU1bcQuEHl1idNJfygMjbkvp7onpTD+OwEwg5R432K4s4F9vsb45BZCJiHZ/zK9Ib8OYgft+m1c8J9UblOTc97HzvcZMesiAZUqlPWpuvyd2QpebZqRzzc9m+Qjb8hAlhLDDAAF05BsVr1MOcVb+m5RcySuMO+SoAfpiE8sb7NpjGoiL5udcDFNcvoLtF0CJWQFuBmSxNGEgkQS2Lre5tbgsIHrWXMJzDDty8QYaz7ZyTJ7WH0XQGlE/D5bcExS3Jc6uATaT/fDknj2ewmxHDPSeGIBdMEUTqTMpWt8+WzNg= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d67030bd-fc83-4768-a6c1-08d4c92585c4 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:HE1PR07MB1049; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1049; 3:zlYxkSi9yQS/SXV97a7uXIZqWGQoaxCtCuS/NNJgL68MUvBgdZuNpHGQoe59TKj0VzJx9cRimDs2L6qQdhrYCD8kZwcy7uFwKGPh4anWFMz+fE4omozhhBVoAYvNk8SSF0wX+CJJaUQTLp+avQSwxWsfI50jQWmIHtn1SgAXJrzMA6gUZn4SaUBX4fuR4Kkv+KZvyV47fLqMAlht6RyHMcChLiRthX6Boon36riiAQn8FvnzKVA4VUqxlxpGeWi/VXNybsXwNde0SMu/l1Hgv4zw6/pI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U8LHY+RLnRyhNMOzHKooXtIeLZNhflQiAeYqpjmGtoSmanOPJFB7wvdhbgJanqXio4Jg8gpFKSmkXycIiauQHM88WPRhwY/2jfxkV6IxNyqKnGNUHroaJnwVq2EUvg1XJ3jDeo5wzlRoithgoAUmvGQxL+T24mu6xoG8usyFU9+Q0V0oyKQL/8IdByPdOQJtBlAr+vupRrhyWbK0Ms6T6XyXLtQsRBuH015 X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1049; 20:u9SD1WG2c2Lb0scxvHyMIXC/F3N8VmNArH+Qgpcuf8jPf6i3BPdk5sqTl3JLszRfSKDW4cGoTsfDK3n6p/ptshqNGqHal60pZmBhKZtY78Tp1QCE2bxscSur0TSvHo3JSn8KNR++336+GABAhxP8fvAScBWpd6OzoHv13GDvQPKc2QkaPr+WGQqt/Fra2yb5s2wqszMPIln0hlr8ptxeL4awerwm3nLwT2OUd4cthXPaGxvr8R/OLtAmLOkR2ipzdBECHmJ9JgX95IOKSurQKg+U/VxRo78MsrthbRySRRWkJlB/hes/krNGAjMI+jI+TN6Dur1ZVyFP0d2S3dXT6OmYiQA1kiv3w60ZhBQ7mDVa9duTxfVMHRqRpKXnGhlU2ZammefuA+a6lazqKlFjWQU5d0MXbcHqB5WP8njoH/hs7qPa18UBGmeWvMT3wpuLltOAOnAYMOhgEmGwQ4HEnbXNAOIz9eC+qPE5ReirbC8M8OJtaK2vVbZhHRquYl3aP4tTYQ8z5aVBQUZ3eXdbwBXHWjrG055L7kFIStJPJcwx1XrQl5Q8TvTAFPdKLP6WG6+uTVWpYyN4n+9eDmR66FCNNhvyeh9QMVYbDRrYKDo= X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(13021025)(13013025)(93006095)(93003095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR07MB1049; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR07MB1049; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR07MB1049; 4:ZceJIYvxnlrISYZG1k03jPneD3JcTuJYBGFQ9gTI3M?= 9T+QOL9My+7+1sGxnBjakXC6/2IaE8uN3N9B5AyQ35XIxGZ8cuDLCeeOF7zqNDUB/RZrSAoqw7z0l7cPufOojlBigmaGdhGw2HAQHjLnQLZJwfgknbcecCv9ZDacY5y698HJabCQhr0Ad/vUoxxzzUmww9udS/emd4lS2hcYDwldP/UGXMyUxkRYgur9Zvn5Y3HCtcNOOpBf/dsrPD92qovibEdmFRW4xPXyPECVGAtsvyIZuHg3NSA2hdvrYnzqWMZPm3pWzXDgrLQLue9ck7O/aBXz89Fvg5DwYCV41+Ql+RBtGNe1bBqVSCsFMa/FjV9QoCJvfJ/VThIka9mwcKqeGSnKQT0DSJN0b+8kCbKGERDt4laqeiHDHDYvDFL05iVadaokMwQ9n6CsX9+8bWR6Pw6rzo1d9xgltfLsSJugNMbFP94dfAo1fikzAVk/HEuCHRnUxHm4rZeERkoMiAs5OqTRhRZdI2WK+zzGYIXJCrCNal2GKR5D1JRxGeVOKsoc0SWAdf8p9vXtmhR1l1qnwklojsQjruh0Ln3aMU58ULjY+Kfhyjy8jDwjSvZGR4EM99DqK5ggYWXPdC038HLRWk3JIxlV7e4FisaXUrOWdr6RSrIPqDnf7I6pJyO5FIK+e2Sds3unlY5aMZT1GtOdeGpsF5C/kDtr2oma28WkVvxeJXr92/uirfmbwfqIUAPL2nzUKgQaKC+SMtMbaN5Az00GM/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sRI8392yaMuRIz8oXvKX7FUFtaNMlOpgi48u3Rbt0b69bS80eyWosjVoc2jxOhHE3; 24:oiFCRb13O11X72snGQTIwC8JRIRG7fTxDo7eAbVi4qntQfeMm9ZXT/YRDtgn/aCfmDjoOHPP8WlfzXLm1Iey0BTnKMDRVkBB7vrNLgEEUGA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1049; 7:49ymAHM3FmO25sFLIUdQ82yLf37K/Uqw8RGwt+4/4o+VeRncZOjMg0eUuX6OmetmVoZbZJTyrvD65hgnnAErVwsjwq6h5XicCK1c6qjbJdP8GljGm9NVqJOexSdAFNKIj2oFmS/0KRRJBV9CM7qjWVoJdoshTuP1wXG45pCEj0qCtugqsWGOj0ReFGMHeJix4RiIrrEHyb6sQn27kwXlPLm0d2mTj20hLfMtaKWVjiwUNEQhg2L8tlFvP7cWheeHVIpHZcWxgiGRnCi5EjfMIa7oB8Q5J/vx92WUQJ5NKrRodarZqVCv8SVBTXEAmikSoYGWNWOCA4GZei2IO5htTn7/a0z48Hi5IJFz6OKYOOFyJyNIvAGeB3gCUvRkvqiyG3FLPyFUvgCad21KHCFHo6s8Zro64wQpdHRq8edXqDMev+4ScxE4sMUvJb3rFdRUH7NyKWcQGHsg890XO6eB3D8/pBFnKy8kl6K+L8q1PtcJRqqXfhkCswQOwUWYawflLf/iC/N9MXUCRuE6ncxJ74H/6e2WYwx8x2KkeP0efiI/G53TSsiEXrL3ReYKEtup3i5lnGGpcP/xOuIc3h3BodfRtWSACS19PoVZvvsdtdXVXmT2U9oCGNEYP875kTRhRsOQviutoOLjklLs+nOvqSqCFXNhoCNhKJXyLf3++evdBcxEsEcFkkOSC4Ngn0JWMbHmklr42uJxoTuCbZYkP5UNxEq6qqEJt2Bapebt1JCLYGDNkAab8pSMjOtccHGwEu5SDftkT724ujtrteU+J1L/ipxp8O6XYQyxqrmzois= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2017 12:57:15.9437 (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: HE1PR07MB1049 Subject: [lng-odp] [API-NEXT PATCH v2 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 87cee2a1..ae7b1b2e 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -558,8 +558,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. */ @@ -878,11 +878,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. */ @@ -903,44 +903,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 @@ -1049,9 +1086,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 @@ -1063,7 +1105,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