From patchwork Sun Dec 31 14: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: 123016 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6847728qgn; Sun, 31 Dec 2017 06:01:12 -0800 (PST) X-Google-Smtp-Source: ACJfBosOqFUwSO6JnVRcO7NaNQTUcO7rkbiCUhE0igl0axyx3u8lGA1KHv+JVbur45Z9Xhjh8sD2 X-Received: by 10.233.214.20 with SMTP id r20mr33148004qkk.21.1514728872003; Sun, 31 Dec 2017 06:01:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514728871; cv=none; d=google.com; s=arc-20160816; b=IU7gP3bQ8KLWLb5dIBlwsnLHrv3V9+1rAGwl4n9MbKgMwS3BWbx6DDOoKcRWVoA06a GfT0KpnjiCnNCCFzpvchOiuS1UWVpqPdh6mj05YdSSqwOcuk2M1r1qYXX0PzpvxKatKs +qyPyUQnH5PZBk65IfJ9fJV+Q63q+z0VZ/hngGRzOoZ9+TSWDogd/OxQSI+OHDoBc6WM Q2k3bDE4WhQUXA1mjiW5KoloE/QAhYqkhlyThAUi7vvX2DH7lnSbhiOD45pMm6NxioOQ K1yNO1xQrRSgRf2FxkDErUJlMKLxSX4p7ISIOMaob4jBTGZLzHLCL79twKtntZ5hpHf4 jcYw== 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=30iVr+a9/XNT5UeguTTJ0t+O4MP3V+67Z5wxzynoIVY=; b=EvsbiS0qxcS+t1FGHxNOyF5j+95tlKUxi6+/L8CRQ5r55bUdmyZOv6UXMVXYZ6Xtsf F1JXQqJDIQ98WUXB8U/deMc5mokhr05xB8l47cQSjp01+FSJd/6S5L1Gb/IunFUaef3e YdSotElWlPdujR5rzgu5gXo913PLuChc+c79EI98DaC/QMwc3drTJc2q1tL4sAUFQWGi OemI4Kt478YoqzB88v9b//dZLGE64HdcBHYyjgP/GRgdKn+W9CEycqjeJJ9USC41SiIb 0//dEXjkmFpAOniXuLTC2ITfU9rb595vT0nyXEvjuszYhXD1c6688TeuqEXvGQQwDt/a SdjA== 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 y195si3238756qka.338.2017.12.31.06.01.11; Sun, 31 Dec 2017 06:01:11 -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 A056861698; Sun, 31 Dec 2017 14:01:11 +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 D31B9608A4; Sun, 31 Dec 2017 14:00:58 +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 093CA608A7; Sun, 31 Dec 2017 14:00:44 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id 2A0886151F for ; Sun, 31 Dec 2017 14:00:35 +0000 (UTC) Received: from mxback12g.mail.yandex.net (mxback12g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:91]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 820844324B for ; Sun, 31 Dec 2017 17:00:33 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback12g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mJLTkp0raU-0AXCSSvK; Sun, 31 Dec 2017 17:00:10 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-09lKwlOn; Sun, 31 Dec 2017 17: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 17:00:01 +0300 Message-Id: <1514728808-15503-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ 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 14: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: 123019 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6851483qgn; Sun, 31 Dec 2017 06:04:05 -0800 (PST) X-Google-Smtp-Source: ACJfBostLsYqQxnqDTftDuOsQz9WE4g50hOcM2Rg31flipTDwly5RjbATLl1R4lL7sV7FjytYxTL X-Received: by 10.200.36.76 with SMTP id d12mr57467798qtd.334.1514729044955; Sun, 31 Dec 2017 06:04:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514729044; cv=none; d=google.com; s=arc-20160816; b=SvzEtAA+9YU8AVx4BF3yz0Tp7yUztTpD6PNXx9YO9muIS80ZMbTNDllnM0JC33142t 3MLXIjC8a0puCbLUCE7Q3cQV7davP5dn7vdd5wwQh7DfKdPYtGbh+WQJZtSC/G61UpLe ARu/mReL+FhJEPIQMdF+2EMbPd9L+AehYkybeVbHj8gRBzqHqtMdrMJgnCphQwkdN04t yF2apa8+6tgP1+vzr/uBX2p6yzzk/tFpVSRqfwx5Kipvb3dYZWjyEG9pzikh8yHi2ATt kjX30xTnHkc7NXNmrqKNv2/UGL9DY2XCvlYcuwDTJt0z224O+Rx34TniugUlc2stOjxR c+5w== 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=RJQGUJwokM/dfT/fEHWtiJLFtS5qDHpByLFmupFZzwg=; b=rmpLnqpsAub/77lcLC4et7rtqQXRTOqbTdG1UVx2f2tlBnZ9jtl6rt0pYG30VO8RKz H+f4ZpK/TJKSueCyQGakuiq6A6lqadPZXeWFhPqbDRm+Wq9fn4q2GdJRjnMOHuLbYTc0 QxirjgVK5sBkmIVbPKh4TRTUnqhLrBDXmaVLdDsqMOMVFdOlEK9a5ZZfyf+CLTAdn9yv Tbyxohs8Fc6XSwizF07N+xa0I3ThtPyQ47AYw0u/+H9WuAYCiuiFUCCIX2LDNW0x5cKO TaozpkCm3ZePCd2G2/KAedz+MP2JWjWJRw/4YNIHyIFFqJ85o4JaGPUyNYqaeLkICtCI I2vw== 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 l11si1679812qtl.397.2017.12.31.06.04.04; Sun, 31 Dec 2017 06:04: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 9E1CD6151B; Sun, 31 Dec 2017 14:04: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 EA5C761524; Sun, 31 Dec 2017 14:01:09 +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 D50E360B41; Sun, 31 Dec 2017 14:00:49 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 0E0D561520 for ; Sun, 31 Dec 2017 14:00:36 +0000 (UTC) Received: from mxback11j.mail.yandex.net (mxback11j.mail.yandex.net [IPv6:2a02:6b8:0:1619::84]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 7180E5D8223C for ; Sun, 31 Dec 2017 17:00:34 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback11j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id eCkz0GVkbc-0Y78wGlG; Sun, 31 Dec 2017 17:00:34 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-0XlGLusL; Sun, 31 Dec 2017 17:00:33 +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 17:00:02 +0300 Message-Id: <1514728808-15503-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ 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 14: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: 123017 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6849338qgn; Sun, 31 Dec 2017 06:02:22 -0800 (PST) X-Google-Smtp-Source: ACJfBovQcKD8qcz192oBcgmnfWPoeC4cE4QHNh45kFjB8YcMHIMlCuPVEJp3BQYI3TMwgHkcVaTh X-Received: by 10.55.78.211 with SMTP id c202mr25702458qkb.164.1514728942232; Sun, 31 Dec 2017 06:02:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514728942; cv=none; d=google.com; s=arc-20160816; b=M8uHft8OAJhOUqReGSeKDJgShQ9mhv2qsVdjbmpi9E1e1YrJT66aQWWF5HQpnQ1lPI +Uum+Z6gkad9bz3wpPponcR+t5MfopHg54VEU4U11vjZo0lnhU/mumNVAHfC6R40Cren DalgW+JSGhxRUi3aAwsKkcmtK04X2uaUH9rR81A00eut84a2elP29Wy/X+4Ow06B1wkM InN56pKrGL60OzmWoTS2atrak1CQIF7lFQULaW4EfXT7r5Oxuq5oCDeaGBqGcc4UOOg2 E6OmLhBBAPIOMdNETcyr6yhsQUH8DLAewaHUTPVub3qEx4ojDwnUDMfib0qnsYsJvS/E dPig== 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=YsU1W4yjWuJM4Cv2t/9v/E3VFBOgAdfvvURqazfphTk=; b=IrPvgn/c0yCHcRP2y84P3JVjcXTmRf4KZSDvXnq1cEUnx98uJHM0yEWC+BqQnu9UHz 7exlLGATPTyl/TbTHx4XQxr+YZ0uWPgk4/bRfvF4Y0ih/0rXUwCZrMIZyAMbIv4p3MWE 6G9fHGU9Kg0ZUgldCohCVaFqN88uKOj3f4ip1aaEhvnEUokt5O1KORjUL6+mUx3hQhPN 3yHGweYJq41Z4xMHgVBggRuyBNK3JPnuKogX46AZhSkuRWxUebNWUTu7hFNmLvzijimH drSa881nVMA3RiqrZlUca1/BdsvDOVBVp8lKcjXQAzefi4r9W83oLw08wh/1zQa2r8GB ohgA== 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 v131si282846qkb.315.2017.12.31.06.02.22; Sun, 31 Dec 2017 06:02:22 -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 ECF8B616FE; Sun, 31 Dec 2017 14:02:21 +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 4B81360B41; Sun, 31 Dec 2017 14:00:59 +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 497BB60B41; Sun, 31 Dec 2017 14:00:49 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 7827B61527 for ; Sun, 31 Dec 2017 14:00:36 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 12AFA5A035D4 for ; Sun, 31 Dec 2017 17:00:35 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Vj1BGysX4y-0Y28Wwlu; Sun, 31 Dec 2017 17:00:35 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-0Yl4goWc; Sun, 31 Dec 2017 17:00:34 +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 17:00:03 +0300 Message-Id: <1514728808-15503-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ 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 14: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: 123020 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6852519qgn; Sun, 31 Dec 2017 06:04:59 -0800 (PST) X-Google-Smtp-Source: ACJfBosYniPuo0xSN9f7K0dQHtTnu2PKq6TaeA+nwngUju7Sspr2QdsTKgh+/WJNTwWv+o8mmSqY X-Received: by 10.237.63.227 with SMTP id w32mr52125791qth.132.1514729099541; Sun, 31 Dec 2017 06:04:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514729099; cv=none; d=google.com; s=arc-20160816; b=Z+dsZM30g3XWCVCbEjVQo0wZZE+88Gotq8jNFYmL/8UxfpUC09Qv9i8ZAHfcCTjNLT /IMLL3A2XsNYXANBQMzSK/O6yGF7cE04bSLTYzVD88ecwCJnuhKuBJ0dxjCTPMxMg0+O 5S+I3nbg3kPep55sjsq39IbemswySjxkAGzb1uPGot9HNrIEmHQD6y/1mXmxp4pwnMdQ wX2kr9+6JeRJlSmFe9HEIF0PEhiVZl7cwvmW2E4Hr1hjqLJ+KZwmWMzOJAEbdYJ8Pj5d FAzVebD71pDSjLDNylXaLxeWsrXc+4282Ebhv5vDkoCBS62v3pACgMW4rFR0rqy58tKh cJPQ== 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=zs1DUl7DUXgMV3R32++tGstmHq1Wetb7V6ObpKC33Qw=; b=gp2AuJmazZd6+wDcDgRq2+Hd0VToJaxj/cgr08BjEikJSTB3l9tSSOBvqOTt/0ihUr aqFLsfXevqkmuMRnHWizLxBD9KqgiyvCqOREazJ3RuEuBjpfWSx/2JLUc7jVNU1D9e9N BztuYudztu/to9mNwravZX1bttgmaeJFKrpVoDro94G+aH6YzOSYy4Hta9GrVYsLqQvC gX9r3RXZhkqLK+5NsoCR+PIIIynPI+S4Rd7PKiutbYy+KleJsb7/eDGfnsd3Vl6me595 tJhBfzmsmBTEMYZcFShsi0rp6U4j6k9IXrXWE3tLAw2gTJ8uww/3D0yoKNIn4/2H3T1M GoYw== 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 k18si5207827qtj.142.2017.12.31.06.04.59; Sun, 31 Dec 2017 06:04:59 -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 4401C6152B; Sun, 31 Dec 2017 14:04:59 +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 41C59616D9; Sun, 31 Dec 2017 14:01:22 +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 5A7BE60B41; Sun, 31 Dec 2017 14:00:51 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id 8FDFC6152B for ; Sun, 31 Dec 2017 14:00:36 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 8E66D7037F6 for ; Sun, 31 Dec 2017 17:00:35 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iSHOly4l2Z-0Z4KScLe; Sun, 31 Dec 2017 17:00:35 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-0ZlqRHsO; Sun, 31 Dec 2017 17:00:35 +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 17:00:04 +0300 Message-Id: <1514728808-15503-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ 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 14: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: 123021 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6853513qgn; Sun, 31 Dec 2017 06:05:49 -0800 (PST) X-Google-Smtp-Source: ACJfBovJ6DIZkwlIxndNScshkVeqemzlrgF4YTLo7b/fANdlaQQTF54Vk+Gmu/JvNMh7sEfixMDq X-Received: by 10.200.37.97 with SMTP id 30mr55738642qtn.318.1514729149328; Sun, 31 Dec 2017 06:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514729149; cv=none; d=google.com; s=arc-20160816; b=ZszGd/vXCysBfn9APOAVHpTdGWx5NLU7wjWZ9e6wHEgj2llueH73ofys83/7aVDcLd HWoyBoGNAJmbCI8lG+sPsfKHg2NBaKIGGFYaTfwaB6NJdgKGnCwZsGK90VTs4VsoalCz 0J9ucDavYGwbdq42gOxDaaEqAAqnRf0K/QJJOAiN5/mRTLyQaAvH/hHOrIOOkyc0sQUm 5zss9KV2KdHiJawQRJ+8T7oFxRAaXZrYiBcTip8pbEESBGCe0n088/OznkVQuE3vX8Dq lf3cC1gu/vKW257QX+m3BAbgEG5X06N+QQdjaIshEs1btDQaOD0euPBFFVS1NwrNTKf+ 2qOQ== 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=jx2WOBeQImJl2CxHsLCbI4ggA9AtpD4SV4EuBlb/Fns=; b=gsIh5EKN+CZ5AbwBDX5nQQlUfDBT2J4zfSTj7aPMusI5akJaErE1iiE+iQMNstfMr5 QxKNv2Y9U1jqVICKkw5D2Yd46h0f+1v0xdd1kFaLZnaxL8bdWM6xCJ5dam3gktmRgNqW qB6OK8PHkgsXskkmBfbPCnbQIHVQvbSgSqJXKBrSiqfsZbdx5n4YBkiRQK+bd52UHgNs fS5jfdTyTWDkplkpL0In72cWKM9QmAnJQERY9meTTgBThMbUnUvrXqli2IQlML874ktf z5plbj+xmEk3YbkKJWbKXqGPNshDgq0okWr+0di5BdPP8Cn485BMEcMiEOVUhDP6I8lu tveQ== 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 p8si7461106qtl.470.2017.12.31.06.05.48; Sun, 31 Dec 2017 06:05:49 -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 DB437616F5; Sun, 31 Dec 2017 14:05: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 8FF3E616E2; Sun, 31 Dec 2017 14:01:28 +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 8D36460852; Sun, 31 Dec 2017 14:00:51 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 090A761514 for ; Sun, 31 Dec 2017 14:00:38 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 4BD5A5102C92 for ; Sun, 31 Dec 2017 17:00:36 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YnlPQKioKQ-0a3uqkYH; Sun, 31 Dec 2017 17:00:36 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-0ZlGYqKV; Sun, 31 Dec 2017 17:00:35 +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 17:00:05 +0300 Message-Id: <1514728808-15503-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ 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 14: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: 123022 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6853637qgn; Sun, 31 Dec 2017 06:05:55 -0800 (PST) X-Google-Smtp-Source: ACJfBosO+GlfpAfPWo4FSnGO6RRhzhothXXVCkbAWCB7Pe8GByKMnbrPaB8kIcrqou1rGcuWBjFZ X-Received: by 10.55.107.65 with SMTP id g62mr50256776qkc.295.1514729155045; Sun, 31 Dec 2017 06:05:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514729155; cv=none; d=google.com; s=arc-20160816; b=F+aG5G6O724HHRC3zTjcCW/n7hZ+j83NL4miHm4PhsFLCUXs9mRgiEJc7Oefy+wqDT /lXumQX8JlIZx1BcVmcgpypbvstWHOYQLN4p5A899OG3UtEVoebCa3O7gbcvRRyNcvZ6 HhCQpFNHLwOeFyFBE/wLV5SaNBKPhpTiDBL6JW8tqMTOB5YWBj/dgb6V90km5rfNsFr8 boXpqSr9jWjLQKHleyEHciTJv3bh1qCBn0VMn2M2KH2tR8afO9O+GrUIxk36fR4M33Dy 7StBMCd8W+XLeOOoWkogVDqASybn2IqKlnDTy/vDdDLacUAdV2ihC407G7H0tJDBytlL es4w== 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=Bgc/+NvTfsLQgJAqFwkzxzVAV4qLhB3WUP6f6PegSjY=; b=lS5PT9VU21oWYAl8jCdTDsgwjTAdVw4n0NSBUQVMvSMi4e7xpDdPWHwkF7jK9wroTc pGYxplTl6bS3X53jaVNxF2XgCANFO3YIdhlf8gbkUYMPVumvb2/yVVDky21MuJYkcScB 2CqUf5KrKDf2dvX5kdpX1QvE6KcYPrXk5mCkhEGm/okrf9rwO/NCSM/8arCBK59LHNn3 IesEEGK2mnRS09m6Wkz9EcVjn1sD6a9d3kAtKRSfC2OGBNLvJS+07s3vtb/QXHRRXymy 2mimJd9umIMZoTsFD95Dg8vp9otUHuRObbyFDCQkt86eb9TEjq1t1FE3fYRy5NtetzHV /b1w== 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 n127si9362144qkc.170.2017.12.31.06.05.54; Sun, 31 Dec 2017 06:05:55 -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 B098B616E2; Sun, 31 Dec 2017 14:05:54 +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 D597A616EA; Sun, 31 Dec 2017 14:01:35 +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 E759860B34; Sun, 31 Dec 2017 14:00:51 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id C63FF608D7 for ; Sun, 31 Dec 2017 14:00:37 +0000 (UTC) Received: from mxback16j.mail.yandex.net (mxback16j.mail.yandex.net [IPv6:2a02:6b8:0:1619::92]) by forward102o.mail.yandex.net (Yandex) with ESMTP id BDE3F5A0352E for ; Sun, 31 Dec 2017 17:00:36 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback16j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id z5KOn4m6aB-0anOKnY7; Sun, 31 Dec 2017 17:00:36 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-0alSU4ia; Sun, 31 Dec 2017 17:00:36 +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 17:00:06 +0300 Message-Id: <1514728808-15503-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ m4/odp_dpdk.m4 | 3 +++ platform/linux-generic/Makefile.am | 2 +- platform/linux-generic/m4/odp_dpdk.m4 | 37 ++++++++++++++++++++++++----------- 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4 index 05e60cc06..6ea196b7a 100644 --- a/m4/odp_dpdk.m4 +++ b/m4/odp_dpdk.m4 @@ -13,6 +13,9 @@ else fi done AS_VAR_APPEND([DPDK_PMDS], [--no-whole-archive]) +# Hack to circumvent libtool to pass -ldpdk after all PMDS to gcc +# Otherwise it reorders linking flags and ends up with -ldpdk before all PMDs +AS_VAR_APPEND([DPDK_PMDS], [" "-Wc,-ldpdk]) AC_SUBST([DPDK_PMDS]) ]) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 7e40448bd..1136d3692 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -306,7 +306,7 @@ endif __LIB__libodp_linux_la_LIBADD = $(ATOMIC_LIBS) __LIB__libodp_linux_la_LIBADD += $(OPENSSL_LIBS) -__LIB__libodp_linux_la_LIBADD += $(DPDK_LIBS) $(DPDK_PMDS) +__LIB__libodp_linux_la_LIBADD += $(DPDK_PMDS) $(DPDK_LIBS) __LIB__libodp_linux_la_LIBADD += $(PTHREAD_LIBS) __LIB__libodp_linux_la_LIBADD += $(TIMER_LIBS) 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 14:00:07 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: 123018 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6850498qgn; Sun, 31 Dec 2017 06:03:14 -0800 (PST) X-Google-Smtp-Source: ACJfBouIziGKwJP1nmxBtyCRK4NLHnVcpejg1kH84cvaVY3Lf7jGz5PlabehcHQZV6EQNYa69Rhh X-Received: by 10.200.23.18 with SMTP id w18mr50299761qtj.47.1514728994679; Sun, 31 Dec 2017 06:03:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514728994; cv=none; d=google.com; s=arc-20160816; b=QQAo1QYY1kzyixNHVTNBuV/lW8OaMDZ1VVbTtbpdtDgNkUhWE6dPzeLIISXupbPP/M SW3yaSZuY5XyzpfnkZQ3CGh2HmNy78RS31pV9OY9KhOGXsKYhpPORja5jr6PiCHqIDmq ncKfMNRjORpRAJGfaqRns7cS/CEUR/Dm88Micp7bRM9OkFuygECF6iXBmPcHJDAEQ0mS jB8jGeKfbcFQ0bUhk2NJq/uKfMecfItcAhr8k2c+miIJI+sskhDTjSx9xSXwwNP8Blfw 8kJycMsSIwH4LOPxao5vS4nrNsjyqtjsuwy46AAx8HFHFSpG7T2ZbYDrsi0a3Q2VQDkl 1f5g== 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=uee4a1nMtvxbqPpnkOLP4n1PV6YeBxIWtLC2E0OtDhI=; b=lizkFNx1bPib5f390+22M3oYhOiCI31ydN+23xI+rOC/dLXZ9fF/DzYwztWDjSWraW ivQNCKxViVYjDq9g1iCw0wjtJJAubdKu60Rj7a92kOnR24soPVP4InVabFdC3GFi0bQv n8R5T8IXjBtRZg9I1cF+sgmyg03FaTXZOnK3QiPRF91qi+sTHaPMAMsQfL4DCHfBn3L+ 2sDV2uAg/cFNTDxNaivFNaGYg/XFPfLA2g5kFTtqPvKdoIm2kJ+7sA8lMRDR0Y3Bhghy dNC0hpslageS5QeicXVQ72eO6hmtGxFri21+Gxu+YOqIL0K34nfv5PxTyO7ECPeP7zMK uN6A== 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 m39si2194110qtf.163.2017.12.31.06.03.14; Sun, 31 Dec 2017 06:03:14 -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 5E8B76151C; Sun, 31 Dec 2017 14:03:14 +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 ACEFE6151D; Sun, 31 Dec 2017 14:01:06 +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 952D060B41; Sun, 31 Dec 2017 14:00:49 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 7557561525 for ; Sun, 31 Dec 2017 14:00:38 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 48B8043032E2 for ; Sun, 31 Dec 2017 17:00:37 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KZW72stOYI-0bxqOeLU; Sun, 31 Dec 2017 17:00:37 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-0alenvPd; Sun, 31 Dec 2017 17:00:36 +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 17:00:07 +0300 Message-Id: <1514728808-15503-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ 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} From patchwork Sun Dec 31 14:00:08 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: 123023 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6855725qgn; Sun, 31 Dec 2017 06:07:38 -0800 (PST) X-Google-Smtp-Source: ACJfBosDbie8NEaYfBA3MyR84Dq4ymYIA2YsRycQvJzC6C+5k60dV40saPYNEYwtzD7qdycFevW0 X-Received: by 10.55.245.10 with SMTP id l10mr4040317qkk.204.1514729258740; Sun, 31 Dec 2017 06:07:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514729258; cv=none; d=google.com; s=arc-20160816; b=QAXl9jeWpCuuu6YCy1At5FpJmVwDt6WXaQxvlZeY/xe1/cm/HRYSjE3Non4BdZGJUp M5XfObIwMGk4vIFkAVjzRxgMlk5AWgiKkliUJd8lCsv3IrsakNISKWHl+ffszsWrR1e1 dckZKxxaD8sMwiIz2G6YMJJU0ZtAESk0Cea5vkkmPesc42l+CkICLrhYYvqGXPAY7GIS wxtsdP189sr7M/gqIJuzKqiU1907ljQhY4v1uXVLLeGtft2Xs49Ie1SHODvqRUOKBrKf m0QN+v/2pWWxxMVLasYytG29A9/8WB84QFXfPVC7g2Ue/icChd45c5OX9qSR12gZ5Hr1 BEJw== 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=iiGKMt6D+h4ru8iIqnSwtDpWAwWw6dsDRNX4Si/erCU=; b=Vsi/55XDC2J+Zbr/87zOv9PdtaYKqQyv/nv2KaSQf5QCckATOfdBhQYehbuF92dXVJ 8mgT0uoJ/cy1F/JoSj65F/4QGIWd2tF36Z5wea3sA7VjbqUoVQdoRrqz6WQDVtsPFm+t 4A5ItNPdKt91StWMtM04qt+yh6/oslPFM8Fxcb/J+dXbNycD+AM+OwdQwxx/tr/QiMDi J5AECA+FaB2St0Fc1OajPlISb2pot090XtJv+/7wxHRJDyEeBTWk+7LJSikOjXMM3okQ E2kwqOpktpPJGGrobzh2Vz5aqgYve+P/wwPCiwUYsbCQhEU+sO2j68vzGJdV0V2uWLT0 g8fw== 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 y124si22142qke.102.2017.12.31.06.07.38; Sun, 31 Dec 2017 06:07:38 -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 6B51061527; Sun, 31 Dec 2017 14:07:38 +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 248D0616E8; Sun, 31 Dec 2017 14:01: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 C79E5608A4; Sun, 31 Dec 2017 14:00:54 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id F00986156D for ; Sun, 31 Dec 2017 14:00:38 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 00B0D4325F for ; Sun, 31 Dec 2017 17:00:38 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id fao9XDE7zX-0btmb1H6; Sun, 31 Dec 2017 17:00:37 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zJV39CleK1-0ble8bcs; Sun, 31 Dec 2017 17:00:37 +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 17:00:08 +0300 Message-Id: <1514728808-15503-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> References: <1514728808-15503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v3 8/8] example: add missing libraries to LDADD variables 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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a **/ example/ipfragreass/Makefile.am | 2 ++ example/ipsec/Makefile.am | 1 + example/ipsec_api/Makefile.am | 3 +++ 3 files changed, 6 insertions(+) diff --git a/example/ipfragreass/Makefile.am b/example/ipfragreass/Makefile.am index fa7d5c8bd..b98e066f8 100644 --- a/example/ipfragreass/Makefile.am +++ b/example/ipfragreass/Makefile.am @@ -1,5 +1,7 @@ include $(top_srcdir)/example/Makefile.inc +LDADD += $(ATOMIC_LIBS) + bin_PROGRAMS = odp_ipfragreass odp_ipfragreass_SOURCES = odp_ipfragreass.c \ diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am index 85905ffa7..eba9b8bda 100644 --- a/example/ipsec/Makefile.am +++ b/example/ipsec/Makefile.am @@ -1,6 +1,7 @@ include $(top_srcdir)/example/Makefile.inc AM_CPPFLAGS = $(OPENSSL_CPPFLAGS) +LDADD += $(OPENSSL_LIBS) bin_PROGRAMS = odp_ipsec diff --git a/example/ipsec_api/Makefile.am b/example/ipsec_api/Makefile.am index 847326fc0..14bc5dd66 100644 --- a/example/ipsec_api/Makefile.am +++ b/example/ipsec_api/Makefile.am @@ -1,5 +1,8 @@ include $(top_srcdir)/example/Makefile.inc +AM_CPPFLAGS = $(OPENSSL_CPPFLAGS) +LDADD += $(OPENSSL_LIBS) + bin_PROGRAMS = odp_ipsec dist_bin_SCRIPTS = \