From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7FF5737B0 for ; Wed, 6 Sep 2017 02:00:46 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 05 Sep 2017 17:00:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,481,1498546800"; d="scan'208";a="897423620" Received: from bdw-yipeng.jf.intel.com ([10.54.81.30]) by FMSMGA003.fm.intel.com with ESMTP; 05 Sep 2017 17:00:45 -0700 From: Yipeng Wang To: dev@dpdk.org Cc: charlie.tai@intel.com, sameh.gobriel@intel.com, ren.wang@intel.com, yipeng1.wang@intel.com, john.mcnamara@intel.com Date: Tue, 5 Sep 2017 16:59:47 -0700 Message-Id: <1504655989-1518-6-git-send-email-yipeng1.wang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1504655989-1518-1-git-send-email-yipeng1.wang@intel.com> References: <1504315481-12854-1-git-send-email-yipeng1.wang@intel.com> <1504655989-1518-1-git-send-email-yipeng1.wang@intel.com> Subject: [dpdk-dev] [PATCH v3 5/7] member: enable the library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 00:00:47 -0000 This patch enables the Membership library. Signed-off-by: Yipeng Wang --- MAINTAINERS | 7 +++++++ config/common_base | 5 +++++ lib/librte_member/Makefile | 2 ++ mk/rte.app.mk | 2 ++ 4 files changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a0cd75e..e372edf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -734,6 +734,13 @@ F: test/test/test_meter.c F: examples/qos_meter/ F: doc/guides/sample_app_ug/qos_metering.rst +Membership - EXPERIMENTAL +M: Yipeng Wang +M: Sameh Gobriel +F: lib/librte_member/ +F: doc/guides/prog_guide/member_lib.rst +F: test/test/test_member* + Other libraries --------------- diff --git a/config/common_base b/config/common_base index 5e97a08..5e31ced 100644 --- a/config/common_base +++ b/config/common_base @@ -595,6 +595,11 @@ CONFIG_RTE_LIBRTE_HASH_DEBUG=n CONFIG_RTE_LIBRTE_EFD=y # +# Compile librte_member +# +CONFIG_RTE_LIBRTE_MEMBER=y + +# # Compile librte_jobstats # CONFIG_RTE_LIBRTE_JOBSTATS=y diff --git a/lib/librte_member/Makefile b/lib/librte_member/Makefile index 50275ed..3bac1d0 100644 --- a/lib/librte_member/Makefile +++ b/lib/librte_member/Makefile @@ -37,6 +37,8 @@ LIB = librte_member.a CFLAGS := -I$(SRCDIR) $(CFLAGS) CFLAGS += $(WERROR_FLAGS) -O3 +LDLIBS += -lm + EXPORT_MAP := rte_member_version.map LIBABIVER := 1 diff --git a/mk/rte.app.mk b/mk/rte.app.mk index c25fdd9..c79acf0 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -86,6 +86,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-y += --whole-archive _LDLIBS-$(CONFIG_RTE_LIBRTE_HASH) += -lrte_hash +_LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER) += -lrte_member _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lrte_vhost _LDLIBS-$(CONFIG_RTE_LIBRTE_KVARGS) += -lrte_kvargs _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf @@ -196,6 +197,7 @@ endif _LDLIBS-$(CONFIG_RTE_LIBRTE_SCHED) += -lm _LDLIBS-$(CONFIG_RTE_LIBRTE_SCHED) += -lrt _LDLIBS-$(CONFIG_RTE_LIBRTE_METER) += -lm +_LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER) += -lm ifeq ($(CONFIG_RTE_LIBRTE_VHOST_NUMA),y) _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lnuma endif -- 2.7.4