From patchwork Wed Jul 12 12:56:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 107502 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp781854qge; Wed, 12 Jul 2017 06:03:06 -0700 (PDT) X-Received: by 10.55.175.3 with SMTP id y3mr5606390qke.185.1499864586453; Wed, 12 Jul 2017 06:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499864586; cv=none; d=google.com; s=arc-20160816; b=X9CjSB5VU+HA7v33uTblX6hNRoKeLCUdd8bYd9/rB91YMImF4Ih4Wg6Da6Dqm2qGdm /EJh9rWrD2Gr3IWI/ZqFE/GBGWT+wSATYgIEttQ/Fbk2QeN19/a2yXfK03tyTqPbhGaF tcPd0qKzZlLs8PAecXmGpi+RwQ7fHv8IAO1YXpM577YqxgyA1YT6ddQULx08n14Lkma4 tE7AT+RVm08vg3hzHfHvTFith0/WLgzGQQwEOROSX6t1IfZGaEgdfyLH0yx3rfNHwRJk Abt/KXa9xHXMyq7fBslNEYqBg2eM/11M0TiITnUSTf/FwzgjBAsYmHAJMXNVIpM8W1uH oXgw== 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=9n5zY6Ph+fpaGBviGr9lRXSRDfSVP2pM/ftpBdFvcOQ=; b=YfPbyqlMTP3LjD+j1bbWgMq3hGsGc+IRolGdX4YtnT9YSdVTUIKypE7epfA+4SeFn1 6wxh9/x6ahA1+K62DFTMavQbaUIshruuyLmA80Y+fPr/ocrfr06AKr+p+vIysMZtKWpN pSjgFqSKSkE+N7NWMeUCv2S+r+9qxPQuYDjHTjamJ+jsF+Qi/Ug9UmB6diWvKop5UA3G 8b0MGPTPAcUS/1438cjvWu8VpX4cCe5XaqO02SyR47JAWSxgaIKujbtyPqb5AUwHgE4w jaIYlrBdLAVJLsVUKL4PMFVQV+VGJI2dw6NN94yJkcuC7qkULa+YyVXz2Emwa7ArXPHV 7oxw== 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 k49si2210218qtb.318.2017.07.12.06.03.06; Wed, 12 Jul 2017 06:03:06 -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 0CB41644A0; Wed, 12 Jul 2017 13:03:06 +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 E21C662AE4; Wed, 12 Jul 2017 12:58:47 +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 D6AFC644AF; Wed, 12 Jul 2017 12:58:41 +0000 (UTC) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40121.outbound.protection.outlook.com [40.107.4.121]) by lists.linaro.org (Postfix) with ESMTPS id E5A2E62AE4 for ; Wed, 12 Jul 2017 12:57:21 +0000 (UTC) Received: from VI1PR07CA0166.eurprd07.prod.outlook.com (2603:10a6:802:3e::14) by DB5PR07MB1046.eurprd07.prod.outlook.com (2a01:111:e400:5108::12) 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:20 +0000 Received: from DB5EUR03FT057.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::204) 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:19 +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:19 +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 v6CCudS3017988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2017 15:56:39 +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 v6CCudvb017949 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT); 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:33 +0300 Message-ID: <20170712125639.11445-3-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)(39860400002)(39840400002)(39850400002)(39400400002)(39450400003)(39410400002)(2980300002)(199003)(189002)(9170700003)(81166006)(76176999)(2950100002)(6916009)(189998001)(50226002)(2906002)(4326008)(36756003)(53936002)(86362001)(5003940100001)(6666003)(38730400002)(8936002)(626005)(8676002)(50986999)(110136004)(22756006)(106466001)(33646002)(305945005)(50466002)(2351001)(48376002)(105596002)(5660300001)(498600001)(1076002)(356003)(47776003)(77096006)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR07MB1046; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT057; 1:VpzI8J5VBKnoQ9g0B/DqD1HcjMlZ4a7VjgwN/mpCJR/EmPi1d9oEypEYDvZYzMgnbvTO+WX5o7jfN9G94M03C3bPALDm+BUYR+4EWwQMbVO/tDHvwb0rC/XGns7EQsFw/YYxFJ0pavzjZwW2mIWGchlVmRBZMYscehwPFlr4Q+AEAv9KIv8JvGs+6QsZ5DvpCk69H5C3UAXov1CSE2oE6N9axMgagON4YzPvowTRhwjD+j/cJ89sUaeDd28DmZgc7eIHzXNdRDc2ePJzQBvXATyLQqwB54nRZxG9OMi+TrPdDAnBjVB/EkrFap0KcKXCItnWe+c1rFUB8uRcADx04jQb+3lJZGZtfyF+WJrlbHDkaswO5McqSFhU7frNq/dTkFY7KA0kk7KJ7Htl1Q62b5moOA3TsuQI1QBZrj8s9U0YcjLiop+N9b7SIl+75FuVuBDUqFWvJGXwWNPoxcUWkFrNv3eDMGwfSyG1j+DkxDKecQCxYMBJRX/G2WiLEhUI5HfU3+cY2bWVhbhFPd8BVw1KqVVwSsKs+mRcFzPtuEpvKDaIGRnRkr30IIjmW6CQws5KnR6Pt8xT0MDph0YH5mjBwKLwA26MwSotADHRsIRvEd7w2Lqg4LinBGhliDZW8eUSkxKYUdW65GpxKrc2huWwy1MFxrKU5zwQP6S1FjZVmoIWVGC/dLFKUr6ewZrJ00v+SBpA/l232SaJFx/UmXduG21B1m+OSsgMOM4ImwU5meP0pATBj4HvIk9U5nHwzgMSlNR/ql+UcCAnT4dDkP9ruZ4cOThcyh5+odgcLtxFkJ0/dcfFoSvKkHWgzwNODm/kBGNJ+ETkFGY3BSfiKSPgONUOq+VHhK3pT/FN37g= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 285aed14-ece1-44ec-b8eb-08d4c92587f9 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:DB5PR07MB1046; X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1046; 3:Vc8JpDWCjPv9oFVXZUUcJRNXxMt0cfAGk6qpwO2rxPmAlJpKQ3bXDYS8qeiVm/ceQAtEtcyIApGEn1ghejdp2DWqWMmU1o0J+jQy/bbsjuEfA/rZFTIzFZaOpepa7UFiT6Y1mLzHsH0H9hOY76nsdabgR8rMMI8YozBEMAYv1qK7zyCboaE/GyjY1VHdG0vD3NFEUoOQoH8FcQti8MRoiPYWVSdCWprohYuUWivxDEHNXrzxO3F6zeVq1/2ZcTG1Qbdu3TWv0yOgFjZzyar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3AOklwka4CtvAsm3Ttr+6fNzFciJwNCsL0QNPcafRjo9mP9F5ejT9RUAtgbTL+ZA1xqlqTCTSU7uUOwEXABMgTtqMgjxygnxFl437gp+NBYzthFR7JATt1Epgg3seV4TUv5dsFybLVRGjZCKey6XmnwYb6hp6z9c9WSDhlAryTwDuJduvXH36E0bwM+XBJelei7biCq2qXG7ucxNMLpfL/i2oEkVDyqWnYxKSQsAd023+uHK4E5mPN6KcTfD+b0NKpkhxzljpyKe/HV+cxaX5g== X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1046; 20:59kNq12PqlQa9DtHlobkvSe32s10yjP9Ym9tOt+IB23uGI/2Q5iT8B6BX6e1KAuy1AS7JseEEVysZddWxJLSynrCwZPGTPNLqRfAsc/8ULIYBhN9IRfe5ne/r8Ge/ElkM1pUPQBaBvqmjOy0gzW6WBhVFM2MEpr4s9tdUG9WD9WvgsiHiONUCZhvWHKd9S9o397YSNUBM33+w+79DSTIavRsZ+D2INSEH6VaaYooGHxqlvjkaI8dnLze285SNoh+IEb7BBEIZONtrLBeplLpHeTY3Arwq+49LIkNutJnGJEKxpMVfH7GLUG2bUprUpLZOSvxFeavhokI70FoNmJjqFF9Zzk4V5oimvQgXU/4btLd503HhojHlPNlFits81zMldNObTLcckxqhnFmmRQSoozESgxwsNnS0PDTpzmTPs5RAhxPYbi9ICB3hj3PPsXsjVxNHAXjVfCgc7Fqfu3PrW9nq4IBq/HvujvU9DlEyAMQNdE+spAvB8RN3JLOHP9KGgf7LPpDFRq4JkaVLkZnZZrW+tfgTjSqP9Qo6Cqh6hFIc6Wiap7BTCmGBQUscjY3ZXNGtpoA1kP4gYJxkD0kHoN0emBQMfNiRtpNBYAeQaw= 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)(2017060910075)(13021025)(13013025)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93003095)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123564025)(20161123560025)(20161123558100)(20161123555025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB5PR07MB1046; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5PR07MB1046; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR07MB1046; 4:+hqHDSwhNBEDID1qOqwkPndcdxM37nx/aMgWAuXOC0?= lGSJgmaZPr97U7S/nP/VgePYx8r5rl5r++eYijVAQjvoN+omeZvGQUX2rE09++XtPXce5tQMTKj9T8Wva2tdfpFYdmBoxApezU2jQPVIvf3BGd6ERj/vNOwDMa1KytjCKYX7ncn19/RQqFZYmGEcAQBjp3q6gcOn1BlT1rpnxd8wkww3MMc34yxVLlA+UjD9tLWiSzlV3/M8pHhKrmBCDUNctPZqbq0TQm5VL2yXlnoj0Rza8d7aTDI8vqP9GzzJ0gZ7SEFqCnweY1sp4qJgnJBuw7ud8eqS6YOCUkLCFOe89LsOddES42u8fci8/MqeDytZvg0M4QWKHu/eA09obXiaVOpwKeLObQ2J7WdVMWn4lHYr/cCFvqOEMed00yar3tNNA9/x0vNuJx9eY/pEh6wfUwBlqO5CccaRYGBB7bGPEjmlb4CliWMjW40FvgQmiDjXPByIkhMztsdZndsnW9nRXiuEALX8voRDs0C3tNBO3Nyqjr40JbAtqZGaVDJ+sGynqNGiZE14wIXlyCCwe7Kw4UuLRZs/sPrVZpmbqMFrCN2f0HvOg05VJSsphBFogzmSU3exJZ5jUg7fJpPlf73ROHubS49O+H0Xw6+kV5zMNTZYB/94Gt0q8+KcAWUW6G9BrBug/XW4bJSApXZvMH3bgWyzALX0ovOV3Etcz3olPDUvyRq+NP+2YM0b8P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tcwRKgFoAPFXNjsKOReB1/EdZdCJ37hidI= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2017 12:57:19.6470 (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: DB5PR07MB1046 Subject: [lng-odp] [API-NEXT PATCH v2 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 f03d38d1..59776b92 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -638,51 +638,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 @@ -699,17 +666,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. @@ -726,6 +682,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; /**