From patchwork Sun Dec 31 02:00:00 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: 123004 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6373870qgn; Sat, 30 Dec 2017 18:01:02 -0800 (PST) X-Google-Smtp-Source: ACJfBosESBva3eWNaLuNS948XrT+UNS2M4LASP14eYlUWOet006WuaOV1c9zy+cyVZCEpA7+P4OS X-Received: by 10.55.129.199 with SMTP id c190mr53901235qkd.145.1514685662119; Sat, 30 Dec 2017 18:01:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514685662; cv=none; d=google.com; s=arc-20160816; b=kSoqpDPHAtv/cxn5hqYlCPf2UhiTMPXd0tWzKbFFYQ4No9mySlb1PRzBOOEr+zR0PG xJezZnhZJVKND00sMdDV1+CfMFU/hd6ZFHsv6SJGiQJd1e34cGCK2Iyg+0qI1Gc4JCRg pIKNj7CI3oMafB1rt4Xj4KGIMSi/NvF0Oua8TR1EZfpOLgArTUcA4j/bZAcACzn/QjNi Sbu0v8WoLdFCq+cadEUhQ1+UEdzVuH7U3gSEJ0Mf9r4PcHWfkksFM14FCLblyFrY5dlF Yq0nDuipUeO434zJCRfwcT5W9D/oMG8u4ZlFsZywBCr11CAD+tBE8brLUyI8MghcOyw1 Um9Q== 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=a1L+gJDREoO5UOkvq4zCDsSeEhdVsnR7zuCqxWAfB6U=; b=KE0mxY9lmr3GmvMk6jrJMVXc4uzKKYthg9FLhijEA/4Jb0tJJVcLckItTjn/o6X+f6 Ovt54wfIW1m3FFrB3ZNtj57YgnjsS/v5x2ZwkJn7lSrQugbQnAUuWsvIpRUoygOyZvhB 4HYaz4VT/1wsA6VqDN83SsZRYqRViRh0sOpScAOdQZ8ZoNlK5wPQEDrhru3/31J8ggx/ 7RPyXDFH4lDzaRF/rLVwjGiVUXQsbhJVkWqePd2CGo3e5RdugclB6HHucR7R4DFjLWjz HAAxqO1KUNYQ2Sv9N8F+7dAJKcLAdqNCNrMgk8WXUk7FJlbNn+4klpJCpcdq8m3iu2oW MPOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id 83si14501973qkv.398.2017.12.30.18.01.01; Sat, 30 Dec 2017 18:01:02 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 D444861524; Sun, 31 Dec 2017 02:01:01 +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,FREEMAIL_FROM, 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 936A26151C; Sun, 31 Dec 2017 02:00:23 +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 49A9D6151C; Sun, 31 Dec 2017 02:00:14 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 53CE06087F for ; Sun, 31 Dec 2017 02:00:10 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward104p.mail.yandex.net (Yandex) with ESMTP id EF09B18437D for ; Sun, 31 Dec 2017 05:00:08 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id oyGJ6z8G3G-08ZSXU0b; Sun, 31 Dec 2017 05:00:08 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3mkgwT21aC-08P4rf7c; Sun, 31 Dec 2017 05:00:08 +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: Sun, 31 Dec 2017 05:00:00 +0300 Message-Id: <1514685607-28718-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> References: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v1 1/8] helper: link against libpthread and libodp-linux 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 libodphelper.so uses symbols from libpthread and libodp-linux.so, link it aganst those libraries. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb **/ helper/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helper/Makefile.am b/helper/Makefile.am index ee1c17d6d..ebb67346c 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -10,6 +10,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/platform/@with_platform@/include \ -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ -I$(top_builddir)/include +AM_CFLAGS = $(PTHREAD_CFLAGS) AM_LDFLAGS = -version-number '$(ODPHELPER_LIBSO_VERSION)' @@ -60,4 +61,6 @@ __LIB__libodphelper_la_SOURCES += \ linux/thread.c endif +__LIB__libodphelper_la_LIBADD = $(PTHREAD_LIBS) $(LIB)/libodp-linux.la + lib_LTLIBRARIES = $(LIB)/libodphelper.la From patchwork Sun Dec 31 02:00:01 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: 123007 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6375838qgn; Sat, 30 Dec 2017 18:03:48 -0800 (PST) X-Google-Smtp-Source: ACJfBouzURjn08GIqyE7BHJ+u7cSOYZ1Lnqmed4A41Ohf6HHfwtXU6//qiBKLS5XT6R1f1tR7C8i X-Received: by 10.55.48.199 with SMTP id w190mr38210849qkw.86.1514685828546; Sat, 30 Dec 2017 18:03:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514685828; cv=none; d=google.com; s=arc-20160816; b=BBPGbYm52BkEEnFVdpI1lmFDF3iAsGRhljdMzN3RNknOQMon2e5u9g10YxwcqI40je WfdF37jMpDHnPM2G6it+k1RIvCXUajBXPEZoMR5BP7nKPDupy/sSwhXwG64tffA7o0xK vxvTV5Ymqhjdt5YXsUr5RdaolRnUnZpy9flyzuERov9uT1JQ80g3vEpWShIUpiqhkyBD M+Ivn9Erpu7n2XAOfOZXqkNdiKFQjtaEgN7bPpxS32fkqL700QqGCjy+3o1XFMlge08s yewXJykc874U1/P0azZhwQMd/sobMmifZLk3++Rrwm/bSu4riLmQR59/SK+NO5uYlW/6 0Rng== 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=x+nwruetg51NEa6bFpsgQjePLSzrAgURK03f9DhQU/A=; b=0sFc6m/O+hW1FrmfdYEwM8i3IHOnVqHmtqo1UZy1/CW/flUYAEcEyJZPPY/nKRtSGn HkccDrN2/Merj9s8QXbZtpC9QA26hlHXffI6BXYM60o7xg1WynQdtgD95Q9AK9ex+C6e S/3Fn+KkNtDCJdA7ZxUfTFudjl7JgIaJq22FUrBxENgk45lXnpuo40hAHhqv1HIfhjVK LP+dLsWaW1OxKihDu0CTJCsTWhJgvOYXSWsWmS7XGccViLzGR8ZEJKbwOL2SXuDKeL2u mMeDa/kW0UtrgHASYcN5vjeohXOgm4ACjltVGIKzI2eRvsK/Cs7QiHP2hDLB8qdwOKbV JEpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id z3si8562223qti.272.2017.12.30.18.03.48; Sat, 30 Dec 2017 18:03:48 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 445BF616F5; Sun, 31 Dec 2017 02:03: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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 6197F61527; Sun, 31 Dec 2017 02:00:40 +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 8C82F6087F; Sun, 31 Dec 2017 02:00:18 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 3BE476096F for ; Sun, 31 Dec 2017 02:00:12 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward105o.mail.yandex.net (Yandex) with ESMTP id A1DCF444159B for ; Sun, 31 Dec 2017 05:00:09 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id OU0F4yO7pp-09h0559G; Sun, 31 Dec 2017 05:00:09 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3mkgwT21aC-08PqmNm9; Sun, 31 Dec 2017 05:00:09 +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: Sun, 31 Dec 2017 05:00:01 +0300 Message-Id: <1514685607-28718-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> References: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v1 2/8] doc: add missing user-guide images to Makefile.am 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 Omitting those images in Makefile.am made them disappear from distribution tarball resulting in an improperly-built documentation files. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb **/ doc/users-guide/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/users-guide/Makefile.am b/doc/users-guide/Makefile.am index b2ebd4d4f..7be32ddc1 100644 --- a/doc/users-guide/Makefile.am +++ b/doc/users-guide/Makefile.am @@ -32,6 +32,12 @@ IMAGES = $(IMAGES_DIR)/overview.svg \ $(IMAGES_DIR)/pktio_fsm.svg \ $(IMAGES_DIR)/pktout_direct_send.svg \ $(IMAGES_DIR)/pktout_queue_send.svg \ + $(IMAGES_DIR)/ref.svg \ + $(IMAGES_DIR)/refpkt1.svg \ + $(IMAGES_DIR)/refpkt2.svg \ + $(IMAGES_DIR)/refpktmulti.svg \ + $(IMAGES_DIR)/refpktsingle.svg \ + $(IMAGES_DIR)/refstatic.svg \ $(IMAGES_DIR)/release_git.svg \ $(IMAGES_DIR)/segment.svg \ $(IMAGES_DIR)/simple_release_git.svg \ From patchwork Sun Dec 31 02:00:02 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: 123006 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6375224qgn; Sat, 30 Dec 2017 18:02:52 -0800 (PST) X-Google-Smtp-Source: ACJfBougLab0YT2sxuupQ/BGP3ovJFjxsunjkUULgq073or+bWhBa7WPGgqNDIcp2otzbVVzB4+G X-Received: by 10.55.212.204 with SMTP id s73mr41633573qks.142.1514685772658; Sat, 30 Dec 2017 18:02:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514685772; cv=none; d=google.com; s=arc-20160816; b=r8mq6JOJ77hQxTeGkqeO5ywB9Mh674VzhHBHYg7BgpYLZdcX/5dBPN/gCDFM/bFLYZ TOfYcce6PvOp33WEwoefico0cwtn6v2svgnLataBPPiKOy05azIt4ju+ZFULL+c7jYaT 8xvrjS7QzQqZx2xPV6SM6mLPDrBI4MiS/LDeGFHsf1MuOg9wFgAtZMHM2VdPW6eayaMt XnENmaoxrVxcrHItCJ+fNeBApDqCYUnKCSsMccasHqKwTiR4QjRAXb4d1bmdct/8zGRw M5ocGL5GlWxicEarfN/6iPWgTs4WPRqPkOFyy6GnFa7aIshfm9ieMbwOB1b0ndOsSbEd GZtQ== 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=maBcXcKYKXV1W5mdoN8oVTArzNRRPiZXGIbHMt/klFY=; b=ZKRCd0q2BeIUdzAV2/B1dFnTg3puL81FtGVGcNhG+F/MLEf4fRfrQvqg8FSqCN8jFH mDU8fnmU0Jy0DUNOkaxHAvhctbhS2Ao0VkM6szl7f/5DhFGjYT1T7Vx6q62BTiMt2hSW /LqfKjg30p0e5B+jPh7qR5yeHZlEHBu53lWV1RQF1HAyz3JesC53SwFNekjae3ydSGiE JYsMUhnUFrGkH9GI49lVSM0k247aVB6FP/4aIghr2HwTPuPLc6hQT3aAJImrZlfw8RRU QhEgXD3mst4VweVLzLo4OyfXZo5cr7q0IYTFQef0sOfa+PY134XVXkZKjv/9s4b6o7ts mlKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id i69si18675651qka.347.2017.12.30.18.02.52; Sat, 30 Dec 2017 18:02:52 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 5F992616F1; Sun, 31 Dec 2017 02:02:52 +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_H2, 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 2891461507; Sun, 31 Dec 2017 02:00:32 +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 30B636151B; Sun, 31 Dec 2017 02:00:18 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id CDFE06087B for ; Sun, 31 Dec 2017 02:00:11 +0000 (UTC) Received: from mxback8o.mail.yandex.net (mxback8o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::22]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 57DE55A045E6 for ; Sun, 31 Dec 2017 05:00:10 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback8o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HcztoK8unm-0Aou3SMw; Sun, 31 Dec 2017 05:00:10 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3mkgwT21aC-09PeM627; Sun, 31 Dec 2017 05:00:09 +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: Sun, 31 Dec 2017 05:00:02 +0300 Message-Id: <1514685607-28718-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> References: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v1 3/8] doc: add missing implementers-guide images to Makefile.am 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 Omitting those images in Makefile.am made them disappear from distribution tarball resulting in an improperly-built documentation files. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb **/ doc/implementers-guide/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/implementers-guide/Makefile.am b/doc/implementers-guide/Makefile.am index 07ee141c8..c407339e2 100644 --- a/doc/implementers-guide/Makefile.am +++ b/doc/implementers-guide/Makefile.am @@ -2,10 +2,12 @@ include ../Makefile.inc SRC = implementers-guide.adoc TARGET = implementers-guide.html +IMAGES = $(IMAGES_DIR)/abi_llvm.svg \ + $(IMAGES_DIR)/abi_traditional.svg -EXTRA_DIST = $(SRC) +EXTRA_DIST = $(SRC) $(IMAGES) doc_DATA = $(TARGET) -$(TARGET): $(SRC) +$(TARGET): $(SRC) $(IMAGES) CLEANFILES = $(doc_DATA) From patchwork Sun Dec 31 02:00:03 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: 123005 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6374618qgn; Sat, 30 Dec 2017 18:02:04 -0800 (PST) X-Google-Smtp-Source: ACJfBotDctHw4JIxxgNs0SekQVQQ7zU5WC5iKpRP52I2/M3MIwMjnGVt+KtOA+wnu4Hd1WhZxaAx X-Received: by 10.237.48.47 with SMTP id 44mr55474648qte.283.1514685724556; Sat, 30 Dec 2017 18:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514685724; cv=none; d=google.com; s=arc-20160816; b=aSuJ6GG9G+IbYJFwH++haWfi0w1M+9aBlB0Dl9aUFr1H1UnaOmFJYF3e4NictS1aTT jr19XIXJkOlxdjNZnBy0JgLwQx1fhMUhvjgPC1VqoAALpgE3BqULjErEVS9ko/fhVU6o O/zu8KdFnhU9jUau5EHAFLaJnKMtcVzVluwNSM7roQwtYwyVR2ZoyUjVd/rHJL7UlS7b nkBw/mP4GYvBB/qRFIZ9ApsjRfahOvTUu24hOI5iATDDsTBzBKTG/MQ10yLlyep9azkh fGOHxMeIokf72iA62GcXHUeNH9P09/T41xaMWRQbIn9jVEaQe8XKN3mC5lukj+bG4tbJ ZS2g== 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=/noRaaPlWxoEjzElLkXgEvqSnpLuNktJBx8UVfvQOA0=; b=C9xYPgPbBGDoLXC4638SChw/1mcQUUL06k5/gAefvkXQQjMAJF0Mm0vjwuSkY+7vFw Hg3/JFY6uAJ/MqVckZgOEzCtHgZB7S1LFkpJ6QXq7bCF998kC/40vWWVMZSMMj5Msj9S iNTTb9yvVhKTxizpbi68bZHOxtKazKJww1/PfDSQz0Cz7VogfdivgAEqdIlpVQpwiMWB OOqVNHW2qsFpjZambtv77dDpbNU7gMtWEMVRgD3TTcLLkVqn0aME+vkR/ZVI0bA159Gc PIJ4deqd+sClnI3LNyzflBP9G578dGj/7eytwev+H111at7HNpa3j4KkUlRjNJjlXGZ4 inpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id d18si5081975qkb.447.2017.12.30.18.02.04; Sat, 30 Dec 2017 18:02:04 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 3205C6151D; Sun, 31 Dec 2017 02:02:04 +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_H2, 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 E153F60887; Sun, 31 Dec 2017 02: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 4EB5D6151C; Sun, 31 Dec 2017 02:00:17 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id E14AC60887 for ; Sun, 31 Dec 2017 02:00:11 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward104p.mail.yandex.net (Yandex) with ESMTP id F1770183A28 for ; Sun, 31 Dec 2017 05:00:10 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bJRqCLQCgm-0A00ipfb; Sun, 31 Dec 2017 05:00:10 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3mkgwT21aC-0APGiVtb; Sun, 31 Dec 2017 05:00:10 +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: Sun, 31 Dec 2017 05:00:03 +0300 Message-Id: <1514685607-28718-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> References: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v1 4/8] performance: odp_crypto: correct typo 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 Receieved -> Received. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb **/ test/performance/odp_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c index 0cbc2754e..761cc8cff 100644 --- a/test/performance/odp_crypto.c +++ b/test/performance/odp_crypto.c @@ -612,7 +612,7 @@ run_measure_one(crypto_args_t *cargs, if (cargs->debug_packets) { mem = odp_packet_data(out_pkt); - print_mem("Receieved encrypted packet", + print_mem("Received encrypted packet", mem, payload_length + config-> From patchwork Sun Dec 31 02:00:04 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: 123009 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6376978qgn; Sat, 30 Dec 2017 18:05:34 -0800 (PST) X-Google-Smtp-Source: ACJfBouRzu0Njeg6DCg8+TpOYwi39XZTWPoSz5SDMV1j7+QVQsLlcKymyOIFbPJRkz1vJW/6pizy X-Received: by 10.55.41.28 with SMTP id p28mr55446460qkh.56.1514685934141; Sat, 30 Dec 2017 18:05:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514685934; cv=none; d=google.com; s=arc-20160816; b=zzzKvKqslVEsk+LTfPuACP1DXfrKYZeARpEGLY/E9TMaa3yE8XfsuC+5GFJJMADiCa Anu5hFfjRCRrFJtQDYOomRIlcEZux7XGNKChEDjKNVrRCg8105RzHdWWuMXHQvrTS017 caUFmjroeVL12MfLou/OoxO1BZBSQPHIfMU24ej91NqkuXYaxYnhWWol3phu5fJ94X98 DRrA6+YmWaTtX66h52ZrFUxgMv0585qyIt4tdpM9nUeU2MUdWJ98kpjF3aXb7jwv9cNn mHxrs1NYtOB1aOccDdYu1maLJyjTCuK4R2GenegO/hi4dVPnsxLN7GoU4UU3RH46xm22 pMsQ== 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=TRuR/NJj8Jok9tba39QGVdWHTG5Tfq6Hw2xwEKuRww8=; b=yKKTJ+1z6n9oL9pwxBZg/0uvBzuWA5NYhWGeF42R67m/aVUrOcInOz3M6uBoZDBQOg WMm4If19zZ165ck4Q7vqucRfQjJO077FY3RYgnzgKD+QhvaWc75IrZU4aXa7wmrcLAU8 dRAqXI8O/K7urP0/Jc0TlQ34P4Zv2kaO8MCz380l9jqJNPYAV1f3dn3zsf9vRZXu+Kk7 h3jQBCEWGphpfMmZGqtjxqo7g6mGpTe0Kovh1NVjEMxV77khgQDQexvz+C3pqwolN3+x DF0Q7BZdXD2TWLXuzQ9Yb54IgHIyumqU/ce5IEd4pqTrws8iOWSkLE0sldsLhSObLFgr hlsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id u7si3393452qke.165.2017.12.30.18.05.33; Sat, 30 Dec 2017 18:05:34 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 D2E50616E5; Sun, 31 Dec 2017 02:05:33 +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_H2, 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 3D53F61524; Sun, 31 Dec 2017 02:01:03 +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 7675F616D9; Sun, 31 Dec 2017 02:00:48 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id 651C861513 for ; Sun, 31 Dec 2017 02:00:13 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 672BC44346 for ; Sun, 31 Dec 2017 05:00:11 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id aif1QkQhsA-0BM4rk94; Sun, 31 Dec 2017 05:00:11 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3mkgwT21aC-0BP4TuB2; Sun, 31 Dec 2017 05:00:11 +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: Sun, 31 Dec 2017 05:00:04 +0300 Message-Id: <1514685607-28718-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> References: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v1 5/8] build: provide an option to link examples dynamically 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 Distributions won't like statically-linked binaries. Provide configure switch to link examples and tests dynamically. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb **/ configure.ac | 10 ++++++++++ example/Makefile.inc | 4 ++++ test/Makefile.inc | 4 ++++ 3 files changed, 18 insertions(+) diff --git a/configure.ac b/configure.ac index 177881a58..109eaea9e 100644 --- a/configure.ac +++ b/configure.ac @@ -172,6 +172,16 @@ AS_IF([test "${with_platform}" = "linux-generic"], AC_DEFINE_UNQUOTED([IMPLEMENTATION_NAME], ["$IMPLEMENTATION_NAME"], [Define to the name of the implementation]) +########################################################################## +# Build examples/tests dynamically +########################################################################## +AC_ARG_ENABLE([static-link], + [AS_HELP_STRING([--disable-static-link], + [disable static linking of examples and tests])], + [static_link=$enableval], + [static_link=yes]) +AM_CONDITIONAL([STATIC_LINK], [test "x$static_link" != "xno"]) + ########################################################################## # Include m4 files ########################################################################## diff --git a/example/Makefile.inc b/example/Makefile.inc index 1609066e6..4cf5cfacc 100644 --- a/example/Makefile.inc +++ b/example/Makefile.inc @@ -13,4 +13,8 @@ AM_CFLAGS = \ -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ -I$(top_builddir)/include +if STATIC_LINK AM_LDFLAGS = -L$(LIB) -static +else +AM_LDFLAGS = +endif diff --git a/test/Makefile.inc b/test/Makefile.inc index f7c0da214..d7e435038 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -18,7 +18,11 @@ INCFLAGS = \ AM_CPPFLAGS = $(INCFLAGS) AM_CFLAGS = $(CUNIT_CFLAGS) +if STATIC_LINK AM_LDFLAGS = -L$(LIB) -static +else +AM_LDFLAGS = +endif @VALGRIND_CHECK_RULES@ From patchwork Sun Dec 31 02:00:05 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: 123008 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6376419qgn; Sat, 30 Dec 2017 18:04:40 -0800 (PST) X-Google-Smtp-Source: ACJfBouMsl/rOCtCjveRdI+9f9iRc5jp1MsfVZwHAFm9SWW/zBqTcctu922mgz0Svde/o/ULeB4H X-Received: by 10.55.204.24 with SMTP id r24mr47067652qki.232.1514685880368; Sat, 30 Dec 2017 18:04:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514685880; cv=none; d=google.com; s=arc-20160816; b=myBL88toBvAmr72Q49ZxF5nxuXr0L88vbezuxxqCcjS1w1RiTZoVv5VSIkm7BQG7x9 V0atuioi17UxpkcOxZ36zvyjiVYXMWxYqTt7NSknFBZqd7cZwQIvHfMeWi/fGjan4MEO QSpdVY/jpFQJ1sn9jG14WsrxuaNoJpsBXkhhPskVgLGbaXNRUVFHTQ0aVbay2aOPPk3f B/uQp9ICj+xp0qeruxBZ8Fpn4uHcUFNRJq5MD8F6kgbjpjhLu/IAvswtpn1yLuqttrSV 5/284uxU609iS6OlyPYQW73AuFj5vxdfxyGP0XNV57u3D/YCzamVTQA+073zAvPvFVmr fZQA== 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=gKSCKu7YutaKjK2V6Wj8HeEc2akMXc48psA7Kf+wNm4=; b=jynO+liCK8ZQjSXSdQy2bvhJsXZZJUQFBE5IqeTbtbkgjaEzQVnQPfvLoxhkpxNfHY UToZOw6Fu47Jg6D8fQcPopIWPdotf5lJdSEVv1jJVecj0nIeLU3jHfRzQnkiX6+H1DfA gsLmdJs9pCstp5rvRltG7vxJvD4msf6Chq087PW8UorJIn65reYbErhhN0gcxPasS1rk OLQpTuJ8Ov+hwSyN7YEuSWheJXC/P7JCL+gogAuc4Vtwyrd/VUrLI5lJ99z+2Q+iwpbR gDqKBhn4nwaBn3o0NLXel6csGJpoDcj8/pUOtVbfdX8qpOvwhQytQKY6u/nzQtkXdqJ+ OFlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id y201si2713903qkb.49.2017.12.30.18.04.40; Sat, 30 Dec 2017 18:04:40 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 122E1616E8; Sun, 31 Dec 2017 02:04:40 +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_H2, 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 B3A9261528; Sun, 31 Dec 2017 02:00:43 +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 BFD3A61507; Sun, 31 Dec 2017 02:00:29 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 3CF6461507 for ; Sun, 31 Dec 2017 02:00:13 +0000 (UTC) Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 027926A846D0 for ; Sun, 31 Dec 2017 05:00:12 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Jp3bwTKwu4-0B4ugPC6; Sun, 31 Dec 2017 05:00:11 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3mkgwT21aC-0BPev2I1; Sun, 31 Dec 2017 05:00:11 +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: Sun, 31 Dec 2017 05:00:05 +0300 Message-Id: <1514685607-28718-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> References: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v1 6/8] linux-gen: dpdk: simplify linking with shared libdpdk 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 There is no need to pass PMDs when linking with shared DPDK library. Just pass -ldpdk which will pick up all PMDS dynamically. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb **/ platform/linux-generic/m4/odp_dpdk.m4 | 37 ++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/platform/linux-generic/m4/odp_dpdk.m4 b/platform/linux-generic/m4/odp_dpdk.m4 index 471bbcd51..2b31c58ab 100644 --- a/platform/linux-generic/m4/odp_dpdk.m4 +++ b/platform/linux-generic/m4/odp_dpdk.m4 @@ -13,16 +13,29 @@ AC_ARG_WITH([dpdk-path], [DPDK_PATH="$withval" pktio_dpdk_support=yes],[]) -AS_IF([test "x$DPDK_PATH" = "xsystem"], - [DPDK_CPPFLAGS="-isystem/usr/include/dpdk" - DPDK_LDFLAGS="" - DPDK_PMD_PATH="`$CC --print-file-name=librte_pmd_null.a`" - DPDK_PMD_PATH="`dirname "$DPDK_PMD_PATH"`" - AS_IF([test "x$DPDK_PMD_PATH" = "x"], - [AC_MSG_FAILURE([Could not locate system DPDK PMD directory])])], - [DPDK_CPPFLAGS="-isystem $DPDK_PATH/include" - DPDK_LDFLAGS="-L$DPDK_PATH/lib" - DPDK_PMD_PATH="$DPDK_PATH/lib"]) +if test "x$DPDK_PATH" = "xsystem"; then + DPDK_CPPFLAGS="-isystem/usr/include/dpdk" + DPDK_LDFLAGS="" + DPDK_RPATH="" + DPDK_LIB_PATH="`$CC --print-file-name=libdpdk.so`" + if test "x$DPDK_LIB_PATH" = "x" ; then + DPDK_LIB_PATH="`$CC --print-file-name=libdpdk.a`" + else + DPDK_SHARED=yes + fi + AS_IF([test "x$DPDK_LIB_PATH" = "x"], + [AC_MSG_FAILURE([Could not locate system DPDK library directory])]) + DPDK_PMD_PATH=`AS_DIRNAME(["$DPDK_PMD_PATH"])` +else + DPDK_CPPFLAGS="-isystem $DPDK_PATH/include" + DPDK_LIB_PATH="$DPDK_PATH/lib" + DPDK_LDFLAGS="-L$DPDK_LIB_PATH" + DPDK_RPATH="-R$DPDK_LIB_PATH" + DPDK_PMD_PATH="$DPDK_LIB_PATH" + if test -r "$DPDK_LIB_PATH"/libdpdk.so ; then + DPDK_SHARED=yes + fi +fi ########################################################################## # Enable zero-copy DPDK pktio @@ -45,7 +58,9 @@ then ODP_DPDK_CHECK([$DPDK_CPPFLAGS], [$DPDK_LDFLAGS], [], [AC_MSG_FAILURE([can't find DPDK])]) - ODP_DPDK_PMDS([$DPDK_PMD_PATH]) + if test x$DPDK_SHARED != xyes ; then + ODP_DPDK_PMDS([$DPDK_PMD_PATH]) + fi AC_DEFINE([ODP_PKTIO_DPDK], [1], [Define to 1 to enable DPDK packet I/O support]) From patchwork Sun Dec 31 02: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: 123010 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6377674qgn; Sat, 30 Dec 2017 18:06:28 -0800 (PST) X-Google-Smtp-Source: ACJfBosU9ZLVP889iQau4uFdEGMm1ltTjWyO8mE5EYOVvNYUottCPJ72P8nzWZs8/CAvBLA8NGmH X-Received: by 10.200.35.28 with SMTP id a28mr56171506qta.51.1514685988130; Sat, 30 Dec 2017 18:06:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514685988; cv=none; d=google.com; s=arc-20160816; b=CJKvBJpsVLJ6YhOM90XKtecSgNaOvU1IIIPm8sSpqjv2P+he0+oonvCGoBc/qaThnv hKdIr70Zv10tN/IPeY8Aj4lJtw6p1ERgCZSxurqjqJ/M0/heA3YRBd0XGu+SE0qrDcUJ 4GoJL/LCdsl5fXVukOf5j46z8TSl1YmPhJ08V+e44hre9ibY3XRagiBfQUSZvtYKdgO0 OpVczTmOdB4ZEtlM6CKjgtDGBVKQu0Frqmbzie7KfHg64TmaYeGMcD2++HI4fTBONN6Z b5/516QBXYpYliUNSp6RPQhHDxwuQfs3Ezn77VIICt2nR8Sv7mBtUTodLBwVMH7GVc9U RAeA== 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=G2VCtON8ZmjSGwLDFxY81TeQLrJn5/CZUjy+Af8oMe8=; b=arP4oDJapebQ0YrRSCSf452dn0+d2YATRRXAMCW8edQ6f5eENXGFQFk6OxIRKTLKig a7kV7N/l05ACOD6FSQcwPpj7rqTXMNK/qjBB8Qe6Q4czFTuS2gf7nAe6w9NE1PbiOOyw vB6Xmhdkzwo7XmYDAQZQ6SMv4tGHvYRBMK1HziW9fmfxJLlf9kFVzXuXUxgoO7ZXx3UF 1rF7jAzkSxvPq9TKJh70XW7FrNBqtcTyfOwLpoRGo6rH903kpUL9t10BYt1Gppx6lQLO 0GBje/2lvVPQpFKZkMpz0mbueZWK5UVjjHXmG+VG9aBBSYwLbqjW5GA8YAA2fAXKs0FZ YLCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id i63si915039qkc.407.2017.12.30.18.06.27; Sat, 30 Dec 2017 18:06:28 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 C80026152A; Sun, 31 Dec 2017 02:06:27 +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 63CF8616D9; Sun, 31 Dec 2017 02:01:07 +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 EDDCC6152C; Sun, 31 Dec 2017 02:00:55 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 12A9761514 for ; Sun, 31 Dec 2017 02:00:14 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward105j.mail.yandex.net (Yandex) with ESMTP id A59F51843E7 for ; Sun, 31 Dec 2017 05:00:12 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 0v4Bd2lXpa-0Ch81C2S; Sun, 31 Dec 2017 05:00:12 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3mkgwT21aC-0CPGar7M; Sun, 31 Dec 2017 05:00:12 +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: Sun, 31 Dec 2017 05:00:06 +0300 Message-Id: <1514685607-28718-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> References: <1514685607-28718-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v1 7/8] linux-gen: don't pass DPKD_LIBS for dynamic linking with libodp-linux 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 377 (lumag:misc-fixes) ** https://github.com/Linaro/odp/pull/377 ** Patch: https://github.com/Linaro/odp/pull/377.patch ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb **/ platform/linux-generic/libodp-linux.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/libodp-linux.pc.in b/platform/linux-generic/libodp-linux.pc.in index 220dbc9c6..962a4f78f 100644 --- a/platform/linux-generic/libodp-linux.pc.in +++ b/platform/linux-generic/libodp-linux.pc.in @@ -6,6 +6,6 @@ includedir=@includedir@ Name: libodp-linux Description: The ODP packet processing engine Version: @PKGCONFIG_VERSION@ -Libs: -L${libdir} -lodp-linux @DPDK_LIBS@ +Libs: -L${libdir} -lodp-linux Libs.private: @OPENSSL_STATIC_LIBS@ @DPDK_PMDS@ @DPDK_LIBS@ @PCAP_LIBS@ @PTHREAD_LIBS@ @TIMER_LIBS@ -lpthread @ATOMIC_LIBS@ Cflags: -I${includedir}