From patchwork Sun Dec 31 10: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: 123011 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6661586qgn; Sun, 31 Dec 2017 02:00:56 -0800 (PST) X-Google-Smtp-Source: ACJfBoskuWeBqXJYng52S5YjAWTmfRfaJkjqadiZPUiSUsciVK+G//7QaKNKmYCdnK5DZfbtn/ff X-Received: by 10.237.59.183 with SMTP id r52mr53687350qte.121.1514714456560; Sun, 31 Dec 2017 02:00:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514714456; cv=none; d=google.com; s=arc-20160816; b=kM8MOcBSAHaADbsKofonHcMq2txXM+FM/TjAlmI+q+SV31KVcw/yu1SNQixHyt7Gxg 7+MltrBN517klGVf3gXpUuTR9l9N43JN5FmP92vdhN/mRy5Y5Q3qESji/biffpq+HfoE C0100G49tNu4MEAKi6T+lfws0ilGv+8GrOvFDnY3F3ieGp8c0KaHw3Q5vvF62q/+LZ7Y 3wQTKe4EoYf3dT9njENFvZdfJUkt3WZDhPrnY+O4W4mnhaBTPoMGOmT3gy6/H++CkfKH sn+IntPORslR6WLWXPrvh5ZnhRIxT7W56jKLnFQ+GsakQFhgYJTwhOGpJisZx273ikvt RLJA== 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=mu7wiahLp+yptmoubuaM+BvZgikmyNl93xUypAppixc=; b=JBzX4/gIqD1PmNcNNPPjLTaufRVdqDR4DWHvQ1YbqUgYr+UrsD8Q3n8aEp3lAHUsgc rvTXkGsEC9vMfgnb5Ux6fyH6Y6uJSeE/xXcInzQAK3L8GnrOzSRw7i0W99sQo7qrBtAe dK95SNpOG8EHakslup4neHfQNGXBq7RyzJSsi1WE5Od/XRzkCMWypb8F9LfFk3jMNAdt spWQg2KUN7E7LWz6xcC8Tbm+IJ8sCKt+1ZPWi4HY0U0I6aldFKWUv87Cg12sVTn4HMtD 1NiDKPPh9RfXYzW+OmNYovv+QmXNpITN7qtv+9gDzZqIT0H3k7XLpVsMDE4Y99I6c9XP WvuQ== 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 u48si1581033qtj.309.2017.12.31.02.00.56; Sun, 31 Dec 2017 02:00:56 -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 509E5616F9; Sun, 31 Dec 2017 10:00:56 +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 61B0F6151F; Sun, 31 Dec 2017 10:00: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 BD5946151B; Sun, 31 Dec 2017 10:00:12 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id 27FFC60B34 for ; Sun, 31 Dec 2017 10:00:11 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 08AB14240C for ; Sun, 31 Dec 2017 13:00:09 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ivGBRyPs4W-0838HdpZ; Sun, 31 Dec 2017 13:00:08 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fDOtarRzt4-08LGpXU5; Sun, 31 Dec 2017 13: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 13:00:00 +0300 Message-Id: <1514714407-7846-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> References: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v2 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: 220e6aded9453e606a66be584a78d7d08718be8d **/ 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 10: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: 123013 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6663299qgn; Sun, 31 Dec 2017 02:02:47 -0800 (PST) X-Google-Smtp-Source: ACJfBotxSSaQuF1DFwQuwezfw+o5gnoggKVQucIO4Mccx/kCkI7mTgak/UP1Stu/MWeKR1BbaIqn X-Received: by 10.237.38.197 with SMTP id q63mr49613025qtd.190.1514714567435; Sun, 31 Dec 2017 02:02:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514714567; cv=none; d=google.com; s=arc-20160816; b=cLC7AaXy1wDKMGtMj7EsSKBrn3NEYoU28kZzHC/tHw3s4nxXz6XN86P9MBJ5FteEC1 DcZyXjY6u0iqLYzNyoV+KvE6zihdPTMzrrF7XXX/J6bE8s5jjgSiJsJzZjoYgDGtvSH3 aHg1N2ZsICyBz4XyPRW4djVhxSdpj4ERLEzpjZRYkDmaxAu6RgAB5TxlyRievzNQSLkK 1fs2sPiMMy47L6MNP4OFl2cRSY4sSVXb58IjDqrox8f4Zvt5mUWJlPXtcsK6jCT94pxA 41DrDrZTSGAH5cqB+ANyMvDI1CPnbhbMg6/vMpxTJmLu6Pfe7PjdXIyDr2DkxejR5aqb unMw== 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=GGKLYS4WO3SmGPsuqflfBOC0MTyuu0Q9Xu3M1waQMeM=; b=f7y0e46x72iDpTcKSNAIjFfX08K40wDayEE6gwkuNaQ4VJpjqEkkhfPWlvRRxoU0jd Z/FBPnvJ9UoIADu7Xe2nOgkEaJj3Ap+t6PdTV1HVtQkvyukJeXoV1plahwBHNr4h1sOY dGzZLvoxBJuxhwSVbsOhBLT8vAxjH9eGAZ6WEIsGJDEHXYkB9DId5qU1nKcYR8DK2Klo eENKL5tkeqbojzRjMAEdgKnHIAh+gVr8xPkdlunmxoMjHWjQgmOjHf/+uIxx8f+UPzUI yIks7KajhdlSIjCwMixwBr9r/Xnd251Qk7qxZWG5hOeNeRYJVggsO8ioJn2YWEFC752f 67aA== 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 r73si1807137qka.55.2017.12.31.02.02.47; Sun, 31 Dec 2017 02:02:47 -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 1DA456171E; Sun, 31 Dec 2017 10:02:47 +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 1D4F061514; Sun, 31 Dec 2017 10:00:33 +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 643FB6151A; Sun, 31 Dec 2017 10:00:18 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id 29D2D6062E for ; Sun, 31 Dec 2017 10:00:12 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward106o.mail.yandex.net (Yandex) with ESMTP id D2B93781869 for ; Sun, 31 Dec 2017 13:00:09 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 9IUPwUbf6P-090Ot5nK; Sun, 31 Dec 2017 13:00:09 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fDOtarRzt4-09La81RJ; Sun, 31 Dec 2017 13: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 13:00:01 +0300 Message-Id: <1514714407-7846-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> References: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v2 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: 220e6aded9453e606a66be584a78d7d08718be8d **/ 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 10: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: 123012 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6662719qgn; Sun, 31 Dec 2017 02:02:06 -0800 (PST) X-Google-Smtp-Source: ACJfBosGLhccSijBNQb0Mf92Wk2qx+kQOJFCss3TKcT8cynEspt0DQnSEcApU2OP6+9Il+o1DIyF X-Received: by 10.200.7.7 with SMTP id g7mr50245087qth.279.1514714526097; Sun, 31 Dec 2017 02:02:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514714526; cv=none; d=google.com; s=arc-20160816; b=PsMCY7/qgSSjGTSQWTzsJuZ/5ODvodpJBgAGBDQ0PFTHEU05k6SFihAMxDMJ/Z3/yG wtR1UNaEhPNCyBSRPEUUhO11WXct6kVntu0hiiVQAOnLoHMMDdcQhTMBKdBG0fRJssGR AH5OG6IGyWryd0S4FRXo3L7m8gN6pohLxJwqZrM27AFM1v7lE1LyJX0y/2IxO469F9Zq 4qfM9bGM1R/OEvTVB04YBGdCm2JfrV4OSuX+DS7V9HpFFDafnqceSHF/QxdCQKf2StXy lqRRZ1clAW7XX+espIDtQ5iGJiDhqLu/e+bUZnTdafSIqGaZJoCUs4Tx4bbtg5MtYiIr WUCg== 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=gMlwLbeN0CiTH6/XzpaUoI30bDgrNM40XjpUEhSkXXc=; b=yhgNwijJ53wySHBTqsPaUo9iH8ZZt+XmGxOIevG8Yx8Y/y54Pts5Mk0sBX4CJ8j+1F 2ZdidshpP+tIX+E6i3NTTQJrPHqt9G5cwoWsg6Mv5LN57fjh3S8JY1DkX5Legm3f6X9Z 6HDP0y7JECNOWkdIMJxFIiixuvGVcvuFLM/T30u35XivT9z4Bpd9s2JWJzu4VTnpccsK t9tS9yz6obCbkpaiqiSnRshPC9nEA8IWDm1FDc1LndrPHIEFb9s14ybQxPc2ViCYPUDz ogtQrqkYMBWvQJ/IjTvN800aPGPjB97smLLPvyGPX8kmWaJAVmqJyqTmTLo+W5qwGEfD tMTQ== 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 c23si2234406qkj.433.2017.12.31.02.02.05; Sun, 31 Dec 2017 02:02:06 -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 C6F3A61713; Sun, 31 Dec 2017 10:02:05 +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 BC1946151B; Sun, 31 Dec 2017 10:00:30 +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 EBEED6151B; Sun, 31 Dec 2017 10: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 6475561514 for ; Sun, 31 Dec 2017 10:00:12 +0000 (UTC) Received: from mxback4j.mail.yandex.net (mxback4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10d]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 32BCD181AF0 for ; Sun, 31 Dec 2017 13:00:11 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback4j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id REctZ9ZSZW-0BvqEeQc; Sun, 31 Dec 2017 13:00:11 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fDOtarRzt4-0ALmovj9; Sun, 31 Dec 2017 13: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 13:00:03 +0300 Message-Id: <1514714407-7846-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> References: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v2 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: 220e6aded9453e606a66be584a78d7d08718be8d **/ 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 10: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: 123014 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6664014qgn; Sun, 31 Dec 2017 02:03:48 -0800 (PST) X-Google-Smtp-Source: ACJfBotaJFD3D+ZyflzUPPKyokdOJ7uXPWwgOR4926Buc7yn7OO00P/ANamfvpT7m/uTj+AGEnmO X-Received: by 10.200.58.67 with SMTP id w61mr52437595qte.296.1514714628544; Sun, 31 Dec 2017 02:03:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514714628; cv=none; d=google.com; s=arc-20160816; b=zPPVgsdjhWNl80vBzcyVDJF7PI82Q32pLFpMjCEFQCo3dCgrgH8AH5RNeS7TkUiymm 9nxqLKSxWSeQ29fjIiOmRIrBoHwSVAeCS+Fd8f4M5IwiDY29IwDulZKBojwWW4IFmudM qR0amTXgcRswae0BUKYxWbWXEpLe7hFELlCr7TQVK9DBkR55St/DT9YhUo+D+Iw8VCqI G8sHbiYKBvGDUgf8YPNiIYgC4ygTQ6sDODDNM9Ln/rT72mAiNkjgJV3udwRD3ruNDtOw 5hfydvdpGTsTUH7rwaPlqIbI3Od6J0DFJhDaXd31N3+ggUtbRg54VOW9orEkCszkcd4K fLDg== 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=A+FtEnrQDIWzxrIsZqtQWD8NFpMQv8E2MB/S1X8MTE4=; b=xhWkAz7eT5X38th21zLuu+bV/B7Z9U5V0Ff7oIac019JTmRgrLM+pP7sgAByr+sGus Sir2WobgEOJSifvAaSRGMsql6C0GyPHl4TqMdy1T9vA86/2G9Uo62+xmsunLnnbXi7GQ kbUqGRpyWSZs4NNshc32L1QnhCHeJsEZYdRqhwtcLGNJSQ4KFaKTWHjv0Lf8niLo1p+4 S1xH1cbz/Q5de5z5R6Dfa2zHnl7ZbuARPmuzRbHKUsvuM/peB3GpeOL1Yl9Cv+2XeUo0 N5raY2MaLjNhQsr1dpUsmjIsoNMYKY4J+WyBG4PX6uaNRNU2b5lUGhfnzeQFy4YE5TYP qUTQ== 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 v21si1438370qtv.402.2017.12.31.02.03.48; Sun, 31 Dec 2017 02: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 2E6256151D; Sun, 31 Dec 2017 10: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 63F3C61555; Sun, 31 Dec 2017 10:00:37 +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 E32FB61514; Sun, 31 Dec 2017 10:00:18 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 1888B60B34 for ; Sun, 31 Dec 2017 10:00:13 +0000 (UTC) Received: from mxback9g.mail.yandex.net (mxback9g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:170]) by forward105p.mail.yandex.net (Yandex) with ESMTP id AC0924083B5C for ; Sun, 31 Dec 2017 13:00:11 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback9g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id z27glrYWNC-0BmeajfY; Sun, 31 Dec 2017 13:00:11 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fDOtarRzt4-0BLG4NQZ; Sun, 31 Dec 2017 13: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 13:00:04 +0300 Message-Id: <1514714407-7846-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> References: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v2 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: 220e6aded9453e606a66be584a78d7d08718be8d **/ 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 10: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: 123015 Delivered-To: patch@linaro.org Received: by 10.80.135.92 with SMTP id 28csp2220859edv; Sun, 31 Dec 2017 02:05:45 -0800 (PST) X-Google-Smtp-Source: ACJfBoslHFnZtDPRPipn3JgpxQRmw8mmdYqqmdY/Dt4AMV7jmANjjIUDQ8qZkisJBgKbEcfutYh5 X-Received: by 10.200.26.13 with SMTP id v13mr43584420qtj.107.1514714745616; Sun, 31 Dec 2017 02:05:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514714745; cv=none; d=google.com; s=arc-20160816; b=SyeJmoDbIBEdV+3IIMpjmW/7KLcTDUpqwuQdmbONdsCvAVlW4JyVjJPcsyTm88JEuJ T0GjTGwYcAJBPrBpAPpfAa2uqG/Tv1p+8rfXhaA13BaErEauMpH3sjBb/RLbGGXbCjzY fqtw/Nkfhtb7cTSNTkLSvmnJSrL+xt/Vk6dyChEfhKrJbhsq5QKmh/CWjAgCUyEfTHhm x92lXBo3tGVPK2y4LFc0nEoY3QdxcfOH87UROC3+jMJtlG36qX3dUymVvQ/bVOJYpQsL u14eX4vEwXtXZC013nbd2GgLI8gR0zOvLnTgKDSmxfjRRxRNMi2uIbs9YYfdYwcGEdfC QUgQ== 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=IiiwvQJMQOr0IoBrkniyThH/M1WmgnyzTTQld/VBe4c=; b=LKYvfea6+erjS9bPOUaJFXYwvXawX8iRWnINsqCKegZbxkEEE5ebzChTBRTq+uFKyK qPgebPxHGK+/k5blxT0IzR57jP86aQDQjFdzNFw8IpUF0Us6+OEgrmddo6qSTVWRMMFZ XmCPeXSbwM2QhU1W7W4+pSSJvxXULvaCWHzW5CpF3lluesDsSy67Cpn3p38oUB5D9bZZ E4Y0LOnftb5/dsiKGpOCybpGvLCUQju2+wP7O0TKpf8DggOp8jZIRmR9NzosjJBUSr7U LVzfKeNakgTpYqd9pXMyzkWnJD7P7YOEgFhR7oDhRpUPA/MYL8zwnAR/9VxuTCS+/kDM Y8bw== 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 k42si24461985qtf.429.2017.12.31.02.05.45; Sun, 31 Dec 2017 02:05:45 -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 22A8D616F7; Sun, 31 Dec 2017 10:05:45 +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 11A9D616E8; Sun, 31 Dec 2017 10:00:50 +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 7BC016151B; Sun, 31 Dec 2017 10:00:20 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 8196660B41 for ; Sun, 31 Dec 2017 10:00:13 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 62159180EAB for ; Sun, 31 Dec 2017 13:00:12 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id kmrcAT85MJ-0CbqIiOD; Sun, 31 Dec 2017 13:00:12 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fDOtarRzt4-0BLeUKB4; Sun, 31 Dec 2017 13: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 13:00:05 +0300 Message-Id: <1514714407-7846-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> References: <1514714407-7846-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 377 Subject: [lng-odp] [PATCH v2 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: 220e6aded9453e606a66be584a78d7d08718be8d **/ 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..0d30226ac 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])