From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0067.outbound.protection.outlook.com [104.47.41.67]) by dpdk.org (Postfix) with ESMTP id C8ECE2B98 for ; Fri, 31 Mar 2017 07:23:36 +0200 (CEST) Received: from BN6PR03CA0041.namprd03.prod.outlook.com (10.175.124.27) by BL2PR03MB388.namprd03.prod.outlook.com (10.141.91.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14; Fri, 31 Mar 2017 05:23:34 +0000 Received: from BL2FFO11FD032.protection.gbl (2a01:111:f400:7c09::176) by BN6PR03CA0041.outlook.office365.com (2603:10b6:404:10c::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10 via Frontend Transport; Fri, 31 Mar 2017 05:23:34 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD032.mail.protection.outlook.com (10.173.160.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1005.5 via Frontend Transport; Fri, 31 Mar 2017 05:23:34 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v2V5NN2K013221; Thu, 30 Mar 2017 22:23:31 -0700 From: Shreyansh Jain To: CC: , , , , Shreyansh Jain Date: Fri, 31 Mar 2017 10:59:18 +0530 Message-ID: <1490938158-936-3-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490938158-936-1-git-send-email-shreyansh.jain@nxp.com> References: <1490004190-16892-1-git-send-email-shreyansh.jain@nxp.com> <1490938158-936-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131354114143178710; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39410400002)(39400400002)(39850400002)(39860400002)(39840400002)(39450400003)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(50226002)(48376002)(8936002)(50466002)(5003940100001)(189998001)(356003)(2906002)(305945005)(6916009)(5660300001)(81166006)(2351001)(105606002)(8676002)(106466001)(33646002)(77096006)(53936002)(2950100002)(8656002)(54906002)(6666003)(4326008)(104016004)(47776003)(110136004)(36756003)(86362001)(50986999)(85426001)(76176999)(575784001)(38730400002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB388; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD032; 1:xGAXkM3Ezhe/VpncJaeM/K2PQRiZpTZVD8cJ/6qviKDBv93dy3gDHx8+m//QPUOGbQZWgFKySBovlJ8KTTxtFuC31ae677cUL2/dHHwKUnM/yTYlTUdA6Fsr7+ae/4uuFFrBpEZlddD/NcXE5EXNcw6uVv/NDkC/0jEBEg5PmFMNWlfzfyopfMz5PiER/ubdAM95WiWrmsBUm7Il96BZ3Pv1lvM5+AvayKoyfnliqESnFQCmViSnQ2shmWsbh3PJqTinCe49oWCmgaagcjEJ85THKXzTo//bqGZvPs5VpNokzcpEuGJOdnE0Qa9VYZhtz8h4mcbV6AykGRWoBec+jd0WcGfWZ0MaukPltRoguvVt/6TuGSbG5rd9YqP065njghsKqX2lXlRVW0t/fUiiCIVYxeZSj1N3vJdg3PqXP3duUN6MjN6Pydjj40lMSqNhuwvR7OStD6aDkQq5yQwpsr4vTowrppLtxIDOVBcjrX/0x7mYCyZPtbs/9VodTZMZdHgumptCCGYgNOp8wjOVmc3F5JEJTkPDmJQLnvw4pet1Uu0S9PXxOwRLaUPrGdGatma8Xvy52XiP0XpsToXDxlnqD4WhqrteyckSSNOcJV6hYkaFDpFOXnq37SIS90UQgaaIpqaQvrZW/CAd26LfDpjuelWAfUWgFk5BfNNicnME6iYlPkbgQjY8oD6XrNgX7GYmBXlgK+u9Jc/IAovkaMJScI0/VlBaHPibiF9vFEmJg4bqQStQ5TSZ29zYTPRso1cwnrzgPSjZCEbus9FMOQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: d6e5a485-73ab-4f9f-44ce-08d477f613ae X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030255075)(201703131430075)(201703131517081); SRVR:BL2PR03MB388; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB388; 3:Ybgy7CtOAvSq53UHvWTAnbwWxtiw90JQ8ds3/U7OH3HKu5hptFv01lflRqHG9tKVxktKGuYvIj0E7nNNcVALAOqV5USBpc5kxonJ5b6/s8lnvoPI/QWxG9/QC1ZrL0jSztboDz+0sWt1WM7yxKTxZrqJjCaMaFwbCpOYEQlCBp1d06nSr1Lb4BYbs3HHPMYLG2qVXcq0InJxepQ4gG2xUy0e8ZNwloFI0Q5I3eGsV4wexqDecFAq9pOd1X92lqb4eGDEqSSaBASMEUd8SED8uS/Q03LCRRokrZeYi5bKusoQbZO1SbxR6Hkjbo98DtJ4rBUS4GiHznBL18UQty25zXy6/ewKqZLldlkN+hjl/fPA9n5XXQ8iq5jT7SaTqlQFk4McJydb2FMv6VgaSqj/HoCcxKq45MHA8+NEfwwFEfybVu+XPvr8sjnGL/8Ju4NmdHCmHIlWHIGW+AblvmJJSA==; 25:feWFKvQ4lhacXa2fNW9KQ++sjXhyPformSUW5m3IBKCZ62Z/NYcYBQNUFr/MsDc4uIBzcybUlo0fATNHfvCLFiAWPWsbKCWLuf4VZ/33a9yecZXIgzzkxfVq9xnXkoguOTgGtfK7k9U3a8+CGc5PH2bsBb417I8DlY78I8Vy9yTeGIAEqOasMTcX+or97WzgRWxx3Xh9O4nqgL27an90ujKyyseILwEhYr6tiOgsn0R0l4mwQDeQsoO5HFAabgU0I9/Gzuse4oaHjvBujXl/u9sAHz6KsmpWOCSKdmWEjKwPrVUpudHLm2KX4DyJEqHKqL2hZyQqPMPQWKgzF0mKzcIcC21UojDWu603KWPEAQIEkbscoxmYbFLLF6lV48Q4WFK8ozR344iA+Q01ZHOK04OcnNKrjCgEnNY5twmRPscH/tLptKV/MWAeFQSLz3xYEDRiku36L1Y32Tfb59KUhQ== X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB388; 31:c5LiygUh/zJbiD5kRktJz0UwfMKor53lvLSrNuTxBS827K/bYM72WPHq2kq6U6yPtvAB68662iu3suSe8e7bFMlrgS5PC3sHXVyC7x1cysS4aGyD+ibAlvtaVpNxXUopZM6fyBOU2KK/QLvDjDuxBXGpDFtw62M4tGD6EJ5j5l1l8GIclwirN8Kw7m+CKYGU3yhETX3nNgAyfxobnubsjnSv6hgspB+hXicC4Bybi74n/Jofx7+hWnVIDb7qxlBzUAhwlJEy9C04gsCPFtfPTg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(5005006)(13015025)(13017025)(8121501046)(13018025)(13023025)(13024025)(93006089)(93001089)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(201703161259075)(20161123561025); SRVR:BL2PR03MB388; BCL:0; PCL:0; RULEID:(400006); SRVR:BL2PR03MB388; X-Microsoft-Exchange-Diag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/dDtqKs5e8C6RLArgOrm5bysWTqUXZ5JtUAio3gGFKkPOMHnMP320v/rHEXwfz83j4YoC+ckNuOgdk/Jdrk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB388; 7:MKMkGOcWA5Mz92QBkDktQdWMN5GzlZVbry39/Ial89rNC4/ywls7xNM91fgvFYkCVUPSfoMtFAVzmJF07wPoSAhAr3BuvcWPxhTcf4/+2fi8whQ2VBo56oj8SB6XREvuggVpQJSyt7MXVPLUBrvbHYRFVaDVW5V5OddbsF1MkE2jlr+bsHQShKecOyxyGMM7axcxaKw3iJuGIib/Hemxm8ZW1aoiQW2o9Nh3kqg0L90sapcquE+m+VgxmFexI+n8OHMYhRVkVl3arWiawqn3UJsejhxk31YvvxGkfm28r0a/2pniQVmhbbeQAZg9By/DAIr5VWyfMjYcvMQQzVb6mw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2017 05:23:34.0058 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB388 Subject: [dpdk-dev] [PATCH 3/3] mempool: introduce stack mempool driver 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: Fri, 31 Mar 2017 05:23:37 -0000 Moved from lib/librte_mempool, stack mempool handler is an independent driver. Shared builds would now require to link in librte_mempool_stack for "stack" mempool handler. Signed-off-by: Shreyansh Jain --- MAINTAINERS | 1 + config/common_base | 1 + drivers/mempool/Makefile | 2 + drivers/mempool/stack/Makefile | 51 ++++++++++++++++++++++ .../mempool/stack}/rte_mempool_stack.c | 0 .../mempool/stack/rte_mempool_stack_version.map | 4 ++ lib/librte_mempool/Makefile | 1 - mk/rte.app.mk | 1 + 8 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 drivers/mempool/stack/Makefile rename {lib/librte_mempool => drivers/mempool/stack}/rte_mempool_stack.c (100%) create mode 100644 drivers/mempool/stack/rte_mempool_stack_version.map diff --git a/MAINTAINERS b/MAINTAINERS index 403d0dd..bd402d1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -211,6 +211,7 @@ Core Libraries Memory pool M: Olivier Matz F: lib/librte_mempool/ +F: drivers/mempool/stack F: drivers/mempool/ring F: doc/guides/prog_guide/mempool_lib.rst F: test/test/test_mempool* diff --git a/config/common_base b/config/common_base index 9acd557..41191c8 100644 --- a/config/common_base +++ b/config/common_base @@ -464,6 +464,7 @@ CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n # Compile Mempool drivers # CONFIG_RTE_DRIVER_MEMPOOL_RING=y +CONFIG_RTE_DRIVER_MEMPOOL_STACK=y # # Compile librte_mbuf diff --git a/drivers/mempool/Makefile b/drivers/mempool/Makefile index 6a8a1da..0c6c45c 100644 --- a/drivers/mempool/Makefile +++ b/drivers/mempool/Makefile @@ -35,5 +35,7 @@ core-libs := librte_eal librte_mempool librte_ring DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += ring DEPDIRS-ring = $(core-libs) +DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += stack +DEPDIRS-stack = $(core-libs) include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/drivers/mempool/stack/Makefile b/drivers/mempool/stack/Makefile new file mode 100644 index 0000000..8f3125c --- /dev/null +++ b/drivers/mempool/stack/Makefile @@ -0,0 +1,51 @@ +# BSD LICENSE +# +# Copyright(c) 2017 NXP. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of NXP nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +include $(RTE_SDK)/mk/rte.vars.mk + +# +# library name +# +LIB = librte_mempool_stack.a + +CFLAGS += -O3 +CFLAGS += $(WERROR_FLAGS) + +# Headers +CFLAGS += -I$(RTE_SDK)/lib/librte_mempool + +EXPORT_MAP := rte_mempool_stack_version.map + +LIBABIVER := 1 + +SRCS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += rte_mempool_stack.c + +include $(RTE_SDK)/mk/rte.lib.mk diff --git a/lib/librte_mempool/rte_mempool_stack.c b/drivers/mempool/stack/rte_mempool_stack.c similarity index 100% rename from lib/librte_mempool/rte_mempool_stack.c rename to drivers/mempool/stack/rte_mempool_stack.c diff --git a/drivers/mempool/stack/rte_mempool_stack_version.map b/drivers/mempool/stack/rte_mempool_stack_version.map new file mode 100644 index 0000000..8591cc0 --- /dev/null +++ b/drivers/mempool/stack/rte_mempool_stack_version.map @@ -0,0 +1,4 @@ +DPDK_17.05 { + + local: *; +}; diff --git a/lib/librte_mempool/Makefile b/lib/librte_mempool/Makefile index efd4383..7b5bdfe 100644 --- a/lib/librte_mempool/Makefile +++ b/lib/librte_mempool/Makefile @@ -43,7 +43,6 @@ LIBABIVER := 2 # all source are stored in SRCS-y SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool.c SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool_ops.c -SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool_stack.c # install includes SYMLINK-$(CONFIG_RTE_LIBRTE_MEMPOOL)-include := rte_mempool.h diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 5ebb6ec..336e448 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -102,6 +102,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_REORDER) += -lrte_reorder ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n) # plugins (link only if static libraries) _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring +_LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += -lrte_mempool_stack _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += -lrte_pmd_af_packet _LDLIBS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += -lrte_pmd_bnx2x -lz -- 2.7.4