From patchwork Tue Jul 11 12:31:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 107368 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp4816350qge; Tue, 11 Jul 2017 05:37:45 -0700 (PDT) X-Received: by 10.200.36.205 with SMTP id t13mr10451446qtt.147.1499776665429; Tue, 11 Jul 2017 05:37:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499776665; cv=none; d=google.com; s=arc-20160816; b=F/Gc7GQHJbxcqz5jItpMulmQuFqf2eHio9lZDpPYCHPHFlrzQp/apUFwTNuGY7sbJ7 jsdQWlaVBg4wf5cK4gvoJ4OKWdhMeU7Q5FHgCnnqXaOhg5WLGM0+qtfRHH0d5GiYrU4s iK0sIf90nNsRkLrTDCfQs1W1MpgIrkEQtVkh3Hd477EEDa5C921MpnfgfnqXTsfrhu6F Rbn7ddNcf7f+vGNteUGt86B06yfEFHe7uuZU8ezzeDQ5QrS5ZQPmGIE3m8N5wSQc5QM9 vUAlEIJs0Ayn3CRdNrZJSmOsVXNL6K+ownYV12lVV9USbs/PZ8c3R1Obou3FEMgrfjxa t1iQ== 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=LQYF0KYwtVqlAgBTrJNSqiCX1Mb0aRRd4ElGxlURj5s=; b=xWLOJdSc0SOeRXB/eRYeftYcXHngVHI3KsbvBH9yt3HScVBTelOhVFTmRohvZKM5u7 nYqQJh7y1/g4a08bmIkq8rnEv2X3Csf/Ad8docgNaLq5LqF05Bh7JNCDQMdfRoFFYQzg dW3nJRUr+mSNCTswKkTWgUGaDq3DHXfv4ec4a4njAEX0ibAwQdOM57Soez+v8DAJvmDp mfhRI3aArA1aKONj+Zacn2QRmwJnnCci2yqNJI++BiQdIFqr4lNR6DJymO9i/3PZl71n /XhiR7Wk9IHHH2Tm4aqJGdMVX8ImueQVppL6o5mGAN8rNlVlWNz0BYEO724i+hRexsqf 1bUw== 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 e59si13277098qtb.235.2017.07.11.05.37.45; Tue, 11 Jul 2017 05:37:45 -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 210716447B; Tue, 11 Jul 2017 12:37:45 +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 1008364482; Tue, 11 Jul 2017 12:33:58 +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 0319B64483; Tue, 11 Jul 2017 12:33:47 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0100.outbound.protection.outlook.com [104.47.1.100]) by lists.linaro.org (Postfix) with ESMTPS id DD06460911 for ; Tue, 11 Jul 2017 12:32:21 +0000 (UTC) Received: from VI1PR0701CA0065.eurprd07.prod.outlook.com (2603:10a6:800:5f::27) by DB6PR0701MB2199.eurprd07.prod.outlook.com (2603:10a6:4:51::8) 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:20 +0000 Received: from AM5EUR03FT034.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by VI1PR0701CA0065.outlook.office365.com (2603:10a6:800:5f::27) 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:20 +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 AM5EUR03FT034.mail.protection.outlook.com (10.152.16.81) 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:19 +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 v6BCVIwc015661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jul 2017 15:31:18 +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 v6BCVIGO015642 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT); Tue, 11 Jul 2017 15:31:18 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Tue, 11 Jul 2017 15:31:12 +0300 Message-ID: <20170711123118.14745-3-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)(39450400003)(39400400002)(39850400002)(39840400002)(39860400002)(39410400002)(2980300002)(199003)(189002)(9170700003)(5003940100001)(86362001)(626005)(4326008)(305945005)(47776003)(498600001)(22756006)(2906002)(6916009)(5660300001)(6666003)(189998001)(50466002)(48376002)(356003)(2950100002)(81166006)(36756003)(8936002)(50986999)(53936002)(1076002)(38730400002)(50226002)(2351001)(105596002)(76176999)(77096006)(106466001)(110136004)(8676002)(33646002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB2199; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT034; 1:uIGsBN1U5PO6smhodqu1jQgasiMjuV7z0mQydWdlgPZ605zWYsWNl7fqHz5r6ahmg9sWqCD+59SZLgmYa75NmmRquEWuHWcvb1aTsQEi+t02rxNxcV5g/bMsWivimy+gfUUYyhqkJwFv5ygsp+gw2eUmwh8+rNN3wC+Cn+VmMgEvbnIji6d9ZB7l/6u8ILNlcVcz07uuEhTBLX0+m/Ia/B5ZMDN91FFKgPHpjWDQnT6SC7eQ9dUP554YAjMueVt/slfbkLN0MBjoFMteEqv/o5HpZp7GOgyrRNU7PjlElfMCK47aLzoVbJiI2mOYT9BQJlV6opMikpF3wHcqon+375vyQm875txW/mlYHR0Udm4eBsOii6/+pWeVvxfN85n429QRw/pPZ32WfvGpOiENsOeSoRLT0DUZwZW+LsNdwQAYXblywl3ecmP/3aLtBY2F8PwccCK82DTnOpmLVZxT9N/PhLKCtB9ZjygMccCrui4BB6cTHC7/eSKis8rhdoVlqAX2AJynLiQopJ72t3+7QyX0HqVBlO2n1l6KFCuOVUQLtYokpzLL8BmXa1SoBQxoj6rvLyvFt7U+mnX+LcrxbEj9WXXgQmhXPhMisQFdXfq7al8fFhfnQxuAr2/hd2aJqV3bJdJA63FJrwHN21JYD9oc5xc5tEgt7XLcuWF8YThgfTeFM9etzPCyWve6pYIiEQY++B6xfeAXEzWbjstvfXSO2OHM7lodag0RrOKaR8yzMojW+7jj62DOLnM8t07F+bBPGEwXvDa5jjKR1Q5yn1dEq/ps6AX/4PEpb0YrEpQDWJ4SXdjcumm1lI5YYRbl8yXT1cQIXvDYKEHTjKSqBkZ3VSOEc0+vxww7FlMgDRU= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca2c4b91-bc84-4772-8857-08d4c858df89 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:DB6PR0701MB2199; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2199; 3:lXPRvzmpYsVH0Ukgfi2sUFCEjYEKGRfcXkwS7tl2pYY/xYzH/3l8yLizOgPzokXS7xuLur5vNEKMrNiqF3IGvGx7SMbLA/+FJ0t29v2X2IPqKI3OmQO//+fCIR6uCvuWip8rW3CVj9TGgt34FdHefolQlJu/dkGPAq5XyuoRCSWvWju0E4JDK5HsxU47XWbYDRj2IKL8rQs8tAbez6CPGjmRAuqUvwd6Ac1chLNHNcwEOv23cHV/oQU7gsiEbj2IowB/8dX6bKoaC/7SLTJUPQHqJAhatPb8yuH6VOJhATvDrhjx5ypA+Oy3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vI3z6kI+KS2yvRs6yMcrnBOZ5IM4le0FRv65XeIsSpdJV9Q2s7LPgxI2cc2aL1XxVanMIF4cMBHjoTiFLb51M/q5QbHg2ye7nOP3iO1G52uqGoRa96cTTRB5qSzSsjPOUn4AfsFy6DvEXEgA5fsqt8//Eji8EgcpV7J2qTSXyrrcPk7yjGPSB5Mb8qN6LysRwChepQ6eDPibKwzKgpyrpInXz9FdtDKIMQJxj2ioB4Q== X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2199; 20:w93chLxfALhSAqZSdivJXmHE4aMNX/C11IUpj3kVq+0iud9SsHSWnMAlnWNrnOz/ne0+8bXHLkEdzVTPv+ZkVQMbmmSmvm/3aj1IKJD8sN/seO46JvLRy4VSkYsoUvVCaErvt3hTMgB72DwSTiPuavD5X6x2IPimBLB1maxOK1Fbn3XJ2p5rL85DZVXwjmVT/IeHDXjJzRbfPhZB6avwInMNkT716aUgsfYSXn06TcFfhyFUSsm2VFbdvb6ysbOvoRcpwd4wdjMtD+ynh3rJqpVbu/DMsHXo6S2aMPa7c66PSlKgltxV8vU1JJOjMBgbLAJcI+/ZMSHHB4i/DTP6cPylrYRxyYyy+lU8YtiQeyerUkN41TEZfVcc8fxIDGHISdCklixOOzmHXaN2gYIzq0yi/MTnLcDeWcVYkn3YlJ8Wfhqy/bgjwlm0zaK0MB3su/OlqApyLR0BwOcrbf8uX1Nv8HU1sWznFCCwHqQ/SW/iypE6mmXLEk5vuhOEz9MCN3ZcUmZhTXt03270IjsGD/9+L8GiQDW/XHCM3QHeiJXEsymcPRLm4pATH6u4GvpYeOFbHY27Tbzdlh3RAowF671eCZgZxvl/B0H/VaRNMdg= 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)(13021025)(13013025)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93003095)(10201501046)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123564025)(20161123562025)(20161123558100)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0701MB2199; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0701MB2199; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0701MB2199; 4:qEY5fGk5xjrNW9cLLOwjv++RA4tnibDaUcf84RzK?= lp9p02xPtYKG/BjtRJ9mPPpqn6BfqhiSN74blbAUekZ5uDV9cQ4znVD6XSuWm0mjqNz79k8A3FcUeIiAqDe+Vnz66c7hr3E3FdA7H8jRzwrQnTB64ntj4ufYB4PiNEjqKndGrGLeejB5VdQuwLlzuEzULYpyL47oGUo3osV7ypYhPhUNKBp4tsErilZ82C3fukXiGZx0NWuUEdNbj3g28Mdxou3sxK36MWIwXXHH4tkAREWCDuS5VvhtNo5f7vvri9VE0nS3bz+GRqwdO2LRJlT8J7TMTGtwVuF1yWIG5YwAemg/DKF9GeBR9hgzQpv7qrm0V2b0WJ35XxC+5uFx1RWd9Cx0Ykm+CZKYdyP9ssr4VQ7XJ2AJ9NHMgGw/tLft0VA/q8mxWSfoWU6pH8I8IlTC2nK3fRRPDtf9PrcDjJjcC8TMZv3k60Nhy95dHtj6MP6yAlkrkuGkiYlqwuWmaBJTAVtSwgG8NyJGjXHbJsbcHm28EOedTJfHwJWofL50Rzyyaq4kd05/bLD2/2KNDyxDOveWA0XSQQ+yNt9DP3VTO0qWcYb+q9hdeAfyN4s+EK7uHP5yq1umU+t6b4kdcdEXw6nu9rfrnXhoyVu8wpFOtyw6GVIDS4jSeDk0zVpZo+CWPrxm/ofNRndWuJkrtL0+E80f71ohQ/DkEel5/BGWJqYXi8bmZfcYJASjTL8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Mj76DOa+bmpgnxat+laLU78Q4zGvatLBgXwz3zBP/7jLskkmKWScGy3E9f2P9YrFFHiFXdOHxpCadSP3O91Gy2Zo+qsNY= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 12:32:19.7529 (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: DB6PR0701MB2199 Subject: [lng-odp] [API-NEXT PATCH 3/9] api: ipsec: direction specific SA params 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" Move direction (inboud/outbound) specific SA parameters into separate structures. Specification is more clear between common and direction specific SA parameters. Signed-off-by: Petri Savolainen Signed-off-by: Bogdan Pricope --- include/odp/api/spec/ipsec.h | 103 +++++++++++++++++++++++++------------------ 1 file changed, 59 insertions(+), 44 deletions(-) -- 2.13.0 diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 388c9f38..5e5c87ec 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -630,51 +630,18 @@ typedef struct odp_ipsec_sa_param_t { /** Parameters for crypto and authentication algorithms */ odp_ipsec_crypto_param_t crypto; - /** Parameters for tunnel mode */ - odp_ipsec_tunnel_param_t tunnel; - - /** Fragmentation mode */ - odp_ipsec_frag_mode_t frag_mode; - /** Various SA option flags */ odp_ipsec_sa_opt_t opt; /** SA lifetime parameters */ odp_ipsec_lifetime_t lifetime; - /** SA lookup mode */ - odp_ipsec_lookup_mode_t lookup_mode; - - /** Minimum anti-replay window size. Use 0 to disable anti-replay - * service. */ - uint32_t antireplay_ws; - /** Initial sequence number */ uint64_t seq; /** SPI value */ uint32_t spi; - /** Additional inbound SA lookup parameters. Values are considered - * only in ODP_IPSEC_LOOKUP_DSTADDR_SPI lookup mode. */ - struct { - /** Select IP version - */ - odp_ipsec_ip_version_t ip_version; - - /** IP destination address (NETWORK ENDIAN) */ - void *dst_addr; - - } lookup_param; - - /** MTU for outbound IP fragmentation offload - * - * This is the maximum length of IP packets that outbound IPSEC - * operations may produce. The value may be updated later with - * odp_ipsec_mtu_update(). - */ - uint32_t mtu; - /** Select pipelined destination for resulting events * * Asynchronous and inline modes generate events. Select where @@ -691,17 +658,6 @@ typedef struct odp_ipsec_sa_param_t { */ odp_queue_t dest_queue; - /** Classifier destination CoS for resulting packets - * - * Successfully decapsulated packets are sent to classification - * through this CoS. Other resulting events are sent to 'dest_queue'. - * This field is considered only when 'pipeline' is - * ODP_IPSEC_PIPELINE_CLS. The CoS must not be shared between any pktio - * interface default CoS. The maximum number of different CoS supported - * is defined by IPSEC capability max_cls_cos. - */ - odp_cos_t dest_cos; - /** User defined SA context pointer * * User defined context pointer associated with the SA. @@ -718,6 +674,65 @@ typedef struct odp_ipsec_sa_param_t { */ uint32_t context_len; + /** IPSEC SA direction dependent parameters */ + union { + /** Inbound specific parameters */ + struct { + /** SA lookup mode */ + odp_ipsec_lookup_mode_t lookup_mode; + + /** Additional SA lookup parameters. Values are + * considered only in ODP_IPSEC_LOOKUP_DSTADDR_SPI + * lookup mode. */ + struct { + /** Select IP version */ + odp_ipsec_ip_version_t ip_version; + + /** IP destination address (NETWORK ENDIAN) to + * be matched in addition to SPI value. */ + void *dst_addr; + + } lookup_param; + + /** Minimum anti-replay window size. Use 0 to disable + * anti-replay service. + */ + uint32_t antireplay_ws; + + /** Classifier destination CoS for resulting packets + * + * Successfully decapsulated packets are sent to + * classification through this CoS. Other resulting + * events are sent to 'dest_queue'. This field is + * considered only when 'pipeline' is + * ODP_IPSEC_PIPELINE_CLS. The CoS must not be shared + * between any pktio interface default CoS. The maximum + * number of different CoS supported is defined by + * IPSEC capability max_cls_cos. + */ + odp_cos_t dest_cos; + + } inbound; + + /** Outbound specific parameters */ + struct { + /** Parameters for tunnel mode */ + odp_ipsec_tunnel_param_t tunnel; + + /** Fragmentation mode */ + odp_ipsec_frag_mode_t frag_mode; + + /** MTU for outbound IP fragmentation offload + * + * This is the maximum length of IP packets that + * outbound IPSEC operations may produce. The value may + * be updated later with odp_ipsec_mtu_update(). + */ + uint32_t mtu; + + } outbound; + }; + } odp_ipsec_sa_param_t; /**