From patchwork Wed Jul 12 13:54:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 107517 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp850037qge; Wed, 12 Jul 2017 07:01:28 -0700 (PDT) X-Received: by 10.200.35.221 with SMTP id r29mr6395539qtr.169.1499868088865; Wed, 12 Jul 2017 07:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499868088; cv=none; d=google.com; s=arc-20160816; b=NxQE8VQ2X0vLP+0zONh+RAecYs8jx+a/jTYbmwocH7QqyOmhWnpV8W+4b6MXht3f0z uYKWUA6PgW0rqfaqMV2IXYfeqpE5T93d38s2KGrE6X7a0poTchfob4TDBD66gLPOOCiR IgenqdrasAQmew6fwjun0kYcXtPotuDgKuJJMZFtsk9b1OgbXKeohesYXMj0VDrnRQA7 jw4gfqg1WPt+UhTtA88rCigkUrOQrzgqY/BHjUyToyyWh2NJCWvG3AprsTDbkevY6b6v 42roefjDnTDrIIswbOsVpedLNqbBnPutV6uPqwVJE30kMJUoVKfYOkrFAaPezQiYsdoj xr8w== 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=FerUuGzJZJoEC/7yxdjnIblN3RYa8BJ6T0JS4RsvWqc=; b=MQVCjjO8Hfex/cn/xoCnA7YFLe0WkkQNKFt+kXlvtewz6GJ37Zd5TQj2oVzH3CH92/ UqWopMa5DHNaIpvoLOeM6wM/kTcYO0hL2D8il3c55glp4hZ66DeVSZvZKcA8CYNl5Yz0 6S8x4/v9hMrahrdz0dnYNpa23XGN15nOAcAKNRs1iEECknxrq2yvgEkTrek87npgArva aqWNf8mJ5DdC896IiTrTaOsZbIkVuSoH+AjkE4RQVIhJwA3fKiGzt3r3zO7fufdBEvZm IgMovifAZ5tRRBsBgaYzqQCHz3gO8cWnf7P3K2w5NIKUzskUbQF9MfIo+pv56gQqEIJC RYEg== 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 r13si2407316qkl.92.2017.07.12.07.01.28; Wed, 12 Jul 2017 07:01:28 -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 5944C644C5; Wed, 12 Jul 2017 14:01:28 +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_H3, 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 32A8E60A24; Wed, 12 Jul 2017 13:57:26 +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 3440560656; Wed, 12 Jul 2017 13:57:10 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0091.outbound.protection.outlook.com [104.47.0.91]) by lists.linaro.org (Postfix) with ESMTPS id 2DBC760977 for ; Wed, 12 Jul 2017 13:55:23 +0000 (UTC) Received: from HE1PR0701CA0016.eurprd07.prod.outlook.com (2603:10a6:3:5::26) by DB6PR0701MB2200.eurprd07.prod.outlook.com (2603:10a6:4:51::9) 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 13:55:21 +0000 Received: from DB5EUR03FT030.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::202) by HE1PR0701CA0016.outlook.office365.com (2603:10a6:3:5::26) 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; Wed, 12 Jul 2017 13:55: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 DB5EUR03FT030.mail.protection.outlook.com (10.152.20.144) 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 13:55: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 v6CDsc77021189 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2017 16:54:38 +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 v6CDsc8m021179 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT); Wed, 12 Jul 2017 16:54:38 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Wed, 12 Jul 2017 16:54:32 +0300 Message-ID: <20170712135438.22191-3-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170712135438.22191-1-petri.savolainen@linaro.org> References: <20170712135438.22191-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)(39840400002)(39410400002)(39400400002)(39860400002)(39850400002)(2980300002)(189002)(199003)(9170700003)(8676002)(6666003)(1076002)(36756003)(498600001)(53936002)(81166006)(38730400002)(86362001)(356003)(6916009)(2950100002)(2906002)(8936002)(50226002)(77096006)(110136004)(4326008)(106466001)(305945005)(48376002)(50466002)(5660300001)(47776003)(2351001)(189998001)(105596002)(5003940100001)(50986999)(22756006)(76176999)(626005)(33646002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB2200; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT030; 1:/R6qiBC04FBW5qu/VD96OgJhNUxACvlSTHSRt3U9zHbIv7NSSm5opejN5iHLQ5CYHsbzlz72T4ifuHjH/A+uMImBOIia39ET5FC4M64ZjRJE47aenZAUlFuzuTY0BL2uDNXvpB02PNmewssLe4qcNcNMCx/ebvQ51VrHOCquE8gI36e1PxuImH3nUmpsyko9IWCNh1ZWBvkUlaL3cUBpiCWtmLVMHIIq9YijV97J0f1ZTOEldHPw36LVhpYkeTdIAa+X4zV8Jt7csnah/Mi9EEpcJUI0xikwGpOy/HONMdt0cREIjoqHEnzWnVC9yMB+E68Dm51f11uUU8lSJ4Zxe0tJUGY0Telq40OdXmcI3XX8KoHF6sSEYyAN/L0rcy28rU06X8ICrwSEOUEu5DLvBw1lHq/ghai4meBwgvEB1BiJWCLfPFAmAer0YETAtTlGLebe2Ggd9vhXRebVs4NPeBLKWH8LbCSyi1g1untIGNXuG/IPIKN45zpOxxIs3FQmPj21sl7fP29DGxvvEz28DRYB/BZu0/lvbH8TpUGUJox/TI4vTJnREP+mQqC+Z0OeacCwPDNo3sjdjMIGc4oo7H7nUsj63o5TOCGZgCiW5FAmp34UMSQY5IpV6vhjfPwZAA0PFkuDTNIRUxxCFptRfiBUf/DpLkhCImYkpbZV4Xywufg/mONhS3n/aVt6zJOixCgp2070GLapVIekpp2a5FbOSqxikYBFYNT2g+Mvg9h6ht1zKOJbBSw+MkY6O+EzPAuqpnwTuUTAVsH5ibEa5fQRMvp1v4HixPrMYouuTSlkA/0RKBRcV2uuMYEw5LZn/XE13oORP5DXzZazzsSUS0KSj9k9cfPQJExFoSoppic= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 22047d52-3127-4ec2-5cf6-08d4c92da26b 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:DB6PR0701MB2200; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2200; 3:ZeVwO91UqqGAZq1nTHl8VcESeNoAj5cLrZb2EEsuTImPubmBYjXsYn1MthfGESuE5bNAgbgbyUy2UeGEvjWjvhf/d/A2axLfyAz4cFQ2FG45KbvVG1UNBwU0RNvCaGugN0OYd3FAsVg1qoKHEmARY5mhW4LkWS8znH197GqFwavJw1xrHHq4SxtgMD8y11W9g/sMFGOvdGmz0StEGhe447lJETySiVJHDhJb/1jggpnBhsQaf+SQ5qYznbflJJeoCisKZ/A8B7QXZg/uXP9IJP+GT+GeFlJQTQzQW2uwgksERf2BJJr2lqhqzHvswsbpxTP3DkKH8lO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ERsyFwsxfxFyDZLcm8PGaCeHTryo+XizlB9jGU0yOfmW2eevlEp7f9pYtziOke24QnrBGvMVbx33j4DvZb9NBijhFHVkaPprge3paJVWlHcVf+KgbuLHYQGaAPch7kXsBza0Fl0hL05OYtRqlnJdi1qwQ55xwirl9gICWQDTmG3/41sdrF+6rz8Rcdi2oiX5lJ0tXULW23F8or4X8kb2mQ== X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2200; 20:02uN9eSGthxFoQ0XgVP3IDqpF4dd2h3lJaPMPx++4xkNqWGogFkigJhmf81/dnPV2hfOtukYLLOf+ht2h69qaLDkf3Hw2ZtxpT3lS2gPKjzdjDR5KI4nxcjeunHzT8WIuuhF5EGWQC1mgUHaa2Ny1Nhdmf+w36SMLRErh0Yb0HYz4Hsogg6e4/l0q4kxfZlo0rUtQ7n6En3de4ppCQRfuad2PsucBhYZ82E1ez4KMJ0AawjeCw3uEY3dpGgTfyqrbY5tW7VAK4EEU7WWOTrkLSUJ9X1WNYD3jK4fNfsSJJ12TCYdAUkVPWKkxV9jXaVW2LqFF/lKA/XT59/65EtoJ1vkm/q2D86qJLs5G3+n++ZI2dRCsiCSsXZWNB/qHylH9tQQjATaHRbmen5vw8m+RBssFhjUjLHYFK2T2WQeLei2srWPpFSBvkmjjwejNXrlxrr99mbfBiG6fsiCMy4ftnX6f5UxYW7+fCn0bCd3oEGCKUwELUhcpfv2pwkN0m8wVltGuUh4VxLD2JSDkie4QGNj2X0Vlg3vAvrH+iP+CGnuhlv82KGfmcmleKEi0JUMh6E34jI3sE7cmIEeRp9v+5TWEY4AIpawRfC/cnDW6xE= 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)(8121501046)(13021025)(2017060910075)(13013025)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93003095)(10201501046)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0701MB2200; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0701MB2200; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0701MB2200; 4:3eGH9XalPosJUloYx3IDkrODfL5k7ylDXqep4RBa?= i214cyX+v3+e9mL8Eka6gIxkXIgLEKJCkzL7vPisi99Gk5RwaH1gfG4OS6vBnaZIcEx8eIMFveTou/8AvbV1GBwSq6PtgjZmBXvLXj/uO1rIXQejIWofDg8tFBPt7gLa9VH9R+JNfrkMYG8FdWlAZrSIUWsRby3VUpDRLm3AB+Bs2rPhxlSU/qJ8rwnOqv2bJRLMzWeFAbqHsO1bMLyIf1kM7w9uSDBp3zYT6s4pCHKxMg+c6cjXEZ2TRLWrj2/p0ssSmWw/KnetR1oicBXCG/A3MJyljPCPGVf/JWHzLTr8zOR3yiPcCo7Si9F7vpw9KCMWGj0h35R0jkkVLnMfa8eKpnssktAvPGojqqmiHIByQAg8dDBn+Jb7ACKqAMlUZCN2M3uVVQzFiJdGbQLhruC0/KByALlRv4Rmp4MgF5mu65qr5ToBTFebxqsCl+Ab/1/TYuZWb+dJU6MNIR8ZrczbyKUUUDAntgYbdJb4TptPYqUrOuEM7W8Q597MWtEnip9Vc5FVdPCrjYiRvhUInlhYm8IlbwnP0EOBRAs/2y9X61AUg/toirTTtam7NsFPbtlDjB6BjJQALdCF2D6+uyiJxJxW18wzCvivUhsAIKHTSsceOBtaQw+CKeHkL/W/JjdqBBkcg5QxJj/kJIcQ2EySvDsUyN6xGjBzGUlOD64EB9tJrHIWIZTlybraM9ICCH3onvbdBGTQ2sKzWHfKs1m3V69RysUeq3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XGoSz5X6JkfvK6u9+4TLodAJshmJhlfNUhSYE4OiDcU= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2017 13:55:19.9863 (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: DB6PR0701MB2200 Subject: [lng-odp] [API-NEXT PATCH v3 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 fa793e37..0c3826af 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -629,51 +629,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 @@ -690,17 +657,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. @@ -717,6 +673,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; /**