From patchwork Mon Sep 25 19:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 114181 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2937821qgf; Mon, 25 Sep 2017 12:00:58 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDDwAd3Qfxrrwby9Y/iTJPWCxzN0MTyS+W2G6WIi5AQsQwidtX0to3aLnvhjpxAFAYsjGiv X-Received: by 10.36.179.15 with SMTP id e15mr2121817itf.77.1506366058255; Mon, 25 Sep 2017 12:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506366058; cv=none; d=google.com; s=arc-20160816; b=lXdKZS1Ti7CkB7z23/KxipHIHwcLeoU6DkgPcPJ8+82xaOKWqTu/nz3B9VWjwglDXG zn08zDKleCGWqDtT6i7HOkNLrS4oyTtdvWdnc0xvJt4rhAvHeV8TLJaPcWZYBXLa9dlL lIjsOlNTa159YgQtytJb5fWt3JS7IGZ9+/bS1dVc80GGq1vXE9T71mJcD16LcV6QYUw5 o0IXtxJO06WgAGr1QWCkvJLnXlb1YW8IV8T+b4XK+3iBn6f9Hn5ZgI/KCY09l8CmtVYx 73lnXNnzLwiZKINneRPI4kWwKcg7SMy2cJYxIQBLji9sZvdXx84y+rmgQDWrd90ohMkv dSfQ== 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:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=iFDYpq7G4PJBnFpijdoJzIDZNLGuWBNMN0y/I9alUoc=; b=vNBeIwBQm4FRNFxuONvh3vMV37sUuvw+tmoaDzwAnGVq44u+emzu999d0Kq5Q81BL9 bP9OY2dj1x4aN+Ia73r6hwgnyu0vjThc1BhypcHVOPxpz9AqQEgGxnELTG5CT+h+8MQ2 1zkDR7VYgpbK5Ibu1lfcYhv0yrODKrBjMqTtQkIc7t9IvnyAQd3cp/2sU5XxbumNLsQ4 bJoOqhpk4FLJ5MI8x1oLNgtGqz3MvXY2pCbdrjsjoxyZVc4V1vpqrOi3v0yv+oBZ4KkA mV88NBUgU64PI7YBYeu+TM4w+7bmLckZ5xJtoogsBl75vf6Fj/E3GfMHroM8yd2D6tt1 VUwg== 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q188si126326itb.25.2017.09.25.12.00.57; Mon, 25 Sep 2017 12:00:58 -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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 846B960A52; Mon, 25 Sep 2017 19:00:57 +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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 68845609B2; Mon, 25 Sep 2017 19:00: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 7119A6098E; Mon, 25 Sep 2017 19:00:23 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id F1ABC60724 for ; Mon, 25 Sep 2017 19:00:16 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 4EE1E2A22B43 for ; Mon, 25 Sep 2017 22:00:15 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id zfkfcAT1HH-0FjWMv3c; Mon, 25 Sep 2017 22:00:15 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id YBZuMQrDYy-0EhaG2fQ; Mon, 25 Sep 2017 22:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 25 Sep 2017 22:00:06 +0300 Message-Id: <1506366006-24055-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506366006-24055-1-git-send-email-odpbot@yandex.ru> References: <1506366006-24055-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 189 Subject: [lng-odp] [PATCH API-NEXT v3 1/1] api: ipsec: document restrictions for odp_ipsec_config() 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 189 (lumag:ipsec-config-once) ** https://github.com/Linaro/odp/pull/189 ** Patch: https://github.com/Linaro/odp/pull/189.patch ** Base sha: 13322ca632f8ffba292bec058e597719bc54142d ** Merge commit sha: f7dea710c1b600ae19b4446d51654c9ed05b6d0d **/ include/odp/api/spec/ipsec.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 5631989fc..3bd80b266 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -791,7 +791,9 @@ void odp_ipsec_config_init(odp_ipsec_config_t *config); * * Initialize and configure IPSEC offload with global configuration options. * This must be called before any SAs are created. Use odp_ipsec_capability() - * to examine which features and modes are supported. + * to examine which features and modes are supported. This function must be + * called before creating the first SA with odp_ipsec_sa_create(). Calling this + * function multiple times results in undefined behaviour. * * @param config Pointer to IPSEC configuration structure *