From patchwork Wed Feb 1 13:14:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 93023 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp2312349obz; Wed, 1 Feb 2017 05:14:32 -0800 (PST) X-Received: by 10.200.58.231 with SMTP id x94mr2809895qte.87.1485954872893; Wed, 01 Feb 2017 05:14:32 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p66si14392812qkl.167.2017.02.01.05.14.32; Wed, 01 Feb 2017 05:14:32 -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 226BC62D30; Wed, 1 Feb 2017 13:14:32 +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 46A8362CE1; Wed, 1 Feb 2017 13:14:25 +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 286C362D18; Wed, 1 Feb 2017 13:14:18 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by lists.linaro.org (Postfix) with ESMTPS id 2627A60CE5 for ; Wed, 1 Feb 2017 13:14:13 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id x49so262213141qtc.2 for ; Wed, 01 Feb 2017 05:14:13 -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:cc:subject:date:message-id; bh=wYXnoErulXJWm9N/kLoKeSiv9zw6JVJI267+wvP2trY=; b=CVr3yTRE9JscB8km20AFFkbLCisN3XsYUdyDOrPKfoq0y95gMcO8RazIAOAoWwHXC3 UWcp1uaNhgBcR/HzgXd9Am+NMwo5/riAuRc88Es9HnVdJE0KmbNoFQhe4wAoguMR62EJ NJZmHo6kwOpucnXswl0UbttOsjWx+HZY42JETGK1eUI4xZXqA7/bB3eXh846N/Fhu7Fl ccPYNjdtStzFMEmfGZPdd/q06M33pJ1HtBrLZRPgNB06+3n0GdTw24qJ3H89q7H2eWCV G2yORvCW8kJbuMsyWPHMn4cdB/K4J011mU74EKtBHvpLUgdmuOGgnZ2Yn9REq35p4zz1 Dmrw== X-Gm-Message-State: AIkVDXI0YuWphI7IiwRuxwdJSK//5VI665DHybW3ucrdHl2sZRTlIDOvaLjFTo6W8ZUEv4sONlw= X-Received: by 10.200.58.101 with SMTP id w92mr2523150qte.160.1485954852718; Wed, 01 Feb 2017 05:14:12 -0800 (PST) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id z4sm15317318qkc.7.2017.02.01.05.14.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Feb 2017 05:14:11 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 1 Feb 2017 08:14:04 -0500 Message-Id: <20170201131409.26631-1-mike.holmes@linaro.org> X-Mailer: git-send-email 2.9.3 Subject: [lng-odp] [PATCH 0/5] Add ABI compatibility to helper lib 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" Reusing the mechanism used for the ODP API, allow the helpers to build in ABI mode where they optionally do not use static inline in the header file. Mike Holmes (5): helper: split out types helper: add ABI compile flag helper: use ABI mode for ip helper: use ABI mode for chksum helper: use ABI mode for udp configure.ac | 6 + helper/Makefile.am | 12 +- helper/chksum.c | 4 + helper/include/odp/helper/.gitignore | 1 + helper/include/odp/helper/chksum.h | 72 +++-------- helper/include/odp/helper/chksum_inlines.h | 77 +++++++++++ helper/include/odp/helper/chksum_types.h | 45 +++++++ helper/include/odp/helper/ip.h | 184 ++------------------------- helper/include/odp/helper/ip_inlines.h | 65 ++++++++++ helper/include/odp/helper/ip_types.h | 168 ++++++++++++++++++++++++ helper/include/odp/helper/static_inline.h.in | 35 +++++ helper/include/odp/helper/udp.h | 30 +---- helper/include/odp/helper/udp_inlines.h | 36 ++++++ helper/include/odp/helper/udp_types.h | 50 ++++++++ helper/ip.c | 4 + helper/m4/configure.m4 | 3 +- helper/udp.c | 14 ++ 17 files changed, 549 insertions(+), 257 deletions(-) create mode 100644 helper/include/odp/helper/.gitignore create mode 100644 helper/include/odp/helper/chksum_inlines.h create mode 100644 helper/include/odp/helper/chksum_types.h create mode 100644 helper/include/odp/helper/ip_inlines.h create mode 100644 helper/include/odp/helper/ip_types.h create mode 100644 helper/include/odp/helper/static_inline.h.in create mode 100644 helper/include/odp/helper/udp_inlines.h create mode 100644 helper/include/odp/helper/udp_types.h create mode 100644 helper/udp.c -- 2.9.3