From patchwork Mon Feb 27 15:21:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 94555 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp908026qgi; Mon, 27 Feb 2017 07:21:59 -0800 (PST) X-Received: by 10.237.35.164 with SMTP id j33mr2668814qtc.194.1488208919264; Mon, 27 Feb 2017 07:21:59 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s68si11996213qkf.118.2017.02.27.07.21.58; Mon, 27 Feb 2017 07:21:59 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D58B1635E7; Mon, 27 Feb 2017 15:21:58 +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, 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 839D2635E9; Mon, 27 Feb 2017 15:21: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 E0579635E7; Mon, 27 Feb 2017 15:21:29 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by lists.linaro.org (Postfix) with ESMTPS id 164A5635E5 for ; Mon, 27 Feb 2017 15:21:27 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id z127so34659262lfa.2 for ; Mon, 27 Feb 2017 07:21:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jSfI03RM5pV+ZKCKqdDom0acyFUMbw4g5HLLCjV+hJI=; b=MuaIMdHJ7IjTmEnPnKdIRMOXsLKDZPNgy3HAYqzGDd0VOoQaIjPPRj8OnsJMA2M2Kq J+XAXthZsM1dTI3EoQKKeniZ50Ss8X2iD7remYINlksiJK0J9yUPV9i8oGS52MCsSswI 1WMWgBnc0tBAhxiNKnX3AeLzdthwI7q0iY/IyYFu4EeQYkFAhFNofOiy9vWgzbDTlcfv T1bfIEri+B3oveRAznYaPyuY0i43E3mjFqUa+YYmxCk6Vl+VqQBqrEB8ytEFDbafad7o k1i1QgvhUXBRMawDX5HPY5M8CE8VouB/GDdxYPkhe9rCHIzzIfUoB4UDEQif9dJU6m1Z xC0w== X-Gm-Message-State: AMke39nqE8+sKK65ZcWmjJtbTe4WWzXH9vN6VLuYM/M9oANGnmK5BCsysKaXSuxcQqhoDpTPEaU= X-Received: by 10.25.216.103 with SMTP id p100mr1464627lfg.16.1488208885876; Mon, 27 Feb 2017 07:21:25 -0800 (PST) Received: from localhost.localdomain (ppp95-165-131-83.pppoe.spdop.ru. [95.165.131.83]) by smtp.gmail.com with ESMTPSA id y26sm10718041lja.48.2017.02.27.07.21.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Feb 2017 07:21:25 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Mon, 27 Feb 2017 18:21:19 +0300 Message-Id: <20170227152119.29595-2-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.11.0.295.gd7dffce In-Reply-To: <20170227152119.29595-1-maxim.uvarov@linaro.org> References: <20170227152119.29595-1-maxim.uvarov@linaro.org> Subject: [lng-odp] [PATCH 2/2] linux-gen: remove pktio ipc option from configure 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" Options becomes stable and not need any entry in main configure for platform specific pktio. Signed-off-by: Maxim Uvarov --- configure.ac | 1 - platform/linux-generic/Makefile.am | 1 + platform/linux-generic/m4/configure.m4 | 1 - platform/linux-generic/m4/odp_ipc.m4 | 9 --------- test/linux-generic/Makefile.am | 3 --- 5 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 platform/linux-generic/m4/odp_ipc.m4 -- 2.11.0.295.gd7dffce Reviewed-by: Bill Fischofer diff --git a/configure.ac b/configure.ac index d344e6ad..f4af6604 100644 --- a/configure.ac +++ b/configure.ac @@ -209,7 +209,6 @@ AC_SUBST([testdir]) # Set conditionals as computed within platform specific files ########################################################################## AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ]) -AM_CONDITIONAL([PKTIO_IPC], [test x$pktio_ipc_support = xyes]) AM_CONDITIONAL([PKTIO_DPDK], [test x$pktio_dpdk_support = xyes ]) AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes]) AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 32b5aab6..39d2921f 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -9,6 +9,7 @@ AM_CFLAGS += -I$(top_srcdir)/include AM_CFLAGS += -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ AM_CFLAGS += -I$(top_builddir)/include AM_CFLAGS += -Iinclude +AM_CFLAGS += -D_ODP_PKTIO_IPC include_HEADERS = \ $(top_srcdir)/include/odp.h \ diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4 index d3e5528c..a2a25408 100644 --- a/platform/linux-generic/m4/configure.m4 +++ b/platform/linux-generic/m4/configure.m4 @@ -33,7 +33,6 @@ m4_include([platform/linux-generic/m4/odp_openssl.m4]) m4_include([platform/linux-generic/m4/odp_pcap.m4]) m4_include([platform/linux-generic/m4/odp_netmap.m4]) m4_include([platform/linux-generic/m4/odp_dpdk.m4]) -m4_include([platform/linux-generic/m4/odp_ipc.m4]) m4_include([platform/linux-generic/m4/odp_schedule.m4]) AC_CONFIG_FILES([platform/linux-generic/Makefile diff --git a/platform/linux-generic/m4/odp_ipc.m4 b/platform/linux-generic/m4/odp_ipc.m4 deleted file mode 100644 index 78217e22..00000000 --- a/platform/linux-generic/m4/odp_ipc.m4 +++ /dev/null @@ -1,9 +0,0 @@ -########################################################################## -# Enable IPC pktio support -########################################################################## -AC_ARG_ENABLE([pktio_ipc_support], - [ --enable-pktio_ipc-support include ipc IO support], - [if test x$enableval = xyes; then - pktio_ipc_support=yes - ODP_CFLAGS="$ODP_CFLAGS -D_ODP_PKTIO_IPC" - fi]) diff --git a/test/linux-generic/Makefile.am b/test/linux-generic/Makefile.am index 998ee561..0522550a 100644 --- a/test/linux-generic/Makefile.am +++ b/test/linux-generic/Makefile.am @@ -53,11 +53,8 @@ endif if PKTIO_DPDK TESTS += validation/api/pktio/pktio_run_dpdk.sh endif - -if PKTIO_IPC TESTS += pktio_ipc/pktio_ipc_run.sh SUBDIRS += pktio_ipc -endif else #performance tests refer to pktio_env if test_perf