From patchwork Tue Mar 7 11:47:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 94976 Delivered-To: patch@linaro.org Received: by 10.140.82.71 with SMTP id g65csp1847620qgd; Tue, 7 Mar 2017 03:47:49 -0800 (PST) X-Received: by 10.237.58.4 with SMTP id n4mr19806725qte.290.1488887269096; Tue, 07 Mar 2017 03:47:49 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k49si17712244qta.189.2017.03.07.03.47.48; Tue, 07 Mar 2017 03:47:49 -0800 (PST) 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 553C662D07; Tue, 7 Mar 2017 11:47:48 +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=BAYES_00, RCVD_IN_DNSWL_NONE, 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 1B17860F3B; Tue, 7 Mar 2017 11:47:44 +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 8AAB762CCC; Tue, 7 Mar 2017 11:47:41 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by lists.linaro.org (Postfix) with ESMTPS id E4BB760A6F for ; Tue, 7 Mar 2017 11:47:39 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id t189so2446469wmt.1 for ; Tue, 07 Mar 2017 03:47:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=t5eH7n9b+ZOKsrArWKiABiDKcpb7QtSLOBrQwcIdwlI=; b=WU+WUj4yTf5y74Bb3wx0GtRDIF0qx5FeOtzOXiMZVvuY9Swovtszp9K7x/JW2ZvE6P 5fKe6rBgq5jAUqel5EfULzLqkyiDv4lQFwP1eKkD2kEqQ8UvjJklOR94WLXYbaHuW1YG yx2Sq57IXaoY1p2TLVmokXlQoL+xEQeuKX5wyEsYrMGyzVewdyu93FV591J5VmTJAkPc 41L1nifDHB7pKvIqWhNldhnecPARsSOpoIkK9Z65ZbbXQKe5+1WR+iczFtMJC6yX2H2D nFOYKmVd6Ulg8RNNvSIgd666bi/HSzf+Dd9qH3lrUqaBwT9Iv3v+nlFNFA0lsU1A/EDG uJ3A== X-Gm-Message-State: AMke39mVlJBg4PsCkmuxlD5gO8rkoau3ZwMxgbt8a55tjQ7l102Bq0CEBVVMCzwy0k+0zlWZ5F0O+w== X-Received: by 10.28.96.194 with SMTP id u185mr434322wmb.82.1488887258854; Tue, 07 Mar 2017 03:47:38 -0800 (PST) Received: from forlindon.c.hoisthospitality.com ([109.74.56.122]) by smtp.gmail.com with ESMTPSA id x1sm30607978wrd.63.2017.03.07.03.47.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2017 03:47:38 -0800 (PST) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Tue, 7 Mar 2017 14:47:34 +0300 Message-Id: <20170307114737.28171-1-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [lng-odp] [API-NEXT 0/3] deprecated hints proposal 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" As promised, here comes a reworked deprecated API proposal. Main differences from Petri's proposal: - No configure-time switches. ODP and helper libraries are ABI-compatible with both kinds applications: using deprecated API and disabling them; - Simple compile time switch to enable use of deprecated API just for the applications/examples that are not ported yet. Dmitry Eremin-Solenikov (2): api: hints: rework ODP_DEPRECATED API api: crypto: use ODP_DEPRECATED{,_FIELD} declarations Petri Savolainen (1): test: crypto: remove references to deprecated crypto apis doc/helper-guide/Doxyfile | 1 + doc/platform-api-guide/Doxyfile | 1 + example/ipsec/odp_ipsec_misc.h | 4 ++-- example/ipsec/odp_ipsec_sa_db.c | 4 ++-- example/ipsec/odp_ipsec_stream.c | 6 +++--- helper/Makefile.am | 1 + include/odp/api/spec/crypto.h | 26 ++++++++++++++------------ include/odp/api/spec/hints.h | 13 +++++++++++++ platform/linux-generic/Makefile.am | 1 + test/common_plat/performance/odp_crypto.c | 4 ++-- 10 files changed, 40 insertions(+), 21 deletions(-) -- 2.11.0