From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0043.outbound.protection.outlook.com [104.47.32.43]) by dpdk.org (Postfix) with ESMTP id AEEC36CB5 for ; Tue, 21 Feb 2017 10:28:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qxKazQAhqjKOhEb54wROETONTOSgXFPaIt9k7WOg1/k=; b=O4qhFtspB51qYzNSQlQmkZQ9lwEF2aQnhC0XxfuvQqoXbIGc6gKVhBNy6sauiaOUddWopDXTmtBw+olafZmdBMJ5Q+fi+1vBWl0SCQisR8JGK3/u71a8fXWp2N8IYmNGvjpXiqqFUi5ol3GmO6qxGOvj+ULBk4ciIAmAJyhjHNM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shijith.Thotton@cavium.com; Received: from lio357.in.caveonetworks.com (14.140.2.178) by SN1PR07MB2285.namprd07.prod.outlook.com (10.164.47.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13; Tue, 21 Feb 2017 09:28:22 +0000 From: Shijith Thotton To: dev@dpdk.org Cc: Jerin Jacob , Derek Chickles , Venkat Koppula , Mallesham Jatharakonda Date: Tue, 21 Feb 2017 14:56:22 +0530 Message-Id: <1487669225-30091-8-git-send-email-shijith.thotton@caviumnetworks.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1487669225-30091-1-git-send-email-shijith.thotton@caviumnetworks.com> References: <1487669225-30091-1-git-send-email-shijith.thotton@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: MA1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM (10.174.56.29) To SN1PR07MB2285.namprd07.prod.outlook.com (10.164.47.155) X-MS-Office365-Filtering-Correlation-Id: 9b77f07f-dac8-4638-608f-08d45a3bfcff X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN1PR07MB2285; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2285; 3:6YacjXFdig0aNs7NCftD08sgKOSzzwr9r0uyl/N/+N3+Uf39sjaJXwD4xoSCfULCIdDk++4v29/LzkeF/QK6Lix4h+UqbXjXaGinncXYQtSnN1SnyekUsECzMFoLs6QcCbVwCObDiYhzoBajoRseVJ/eM8xJTU59SSJeZMyPLyHKa8U1H1MZEJGnDC0spmW1k73vJw4p+zIwKJJtaKBQGxnVHBAA//H5beEHWjwgRxen5MtJv4HPTEYON38HhYXaaX5YpFk0Hog492G3gNwbVA==; 25:4y/KNKsX69q9+ZpE2V2oib5VB3b78AYGtJ8YEwuejKF4E0GUTG3ccXk17RoNIS+eH/SE9jTPdla2j3fi1mIUY3I3RAIrCT65g/eLMRxSCtVA6fGiqwZnwQCg28w0KajKXRh0O297alIOUd0jR4c1ND3oILmktgNYGzait/QD6Ax0dS1NhCCGoRXB3KDLain+X5KwqR56FLwrvSvGfpV0lIU351F55CQghArj/pBlNuhxivS/L4G0q7DbcgBNJ5QubG1KLoyOHbAg08Yu42bj6idUCGlYkbGomY9aPjur85GeDdugMR1H+WkL3oIORPkmffrvPTWCtspaoVtleKE2uCW93OZNNFAu9o0wGdi9xHbXuFscsOYOTONK2OAfIJvHQ72G5JwDgzad6flBJzOaYZlq8EcL246So5olWZ+Jb+mQucNUAjsmj0b1GSlX/frbLeHWdzoIgVocku4PzEqNsA== X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2285; 31:xiieYEcOhQW1rXPeV6Yf9PXwkU3xmji3koqu1lX6mhFIJQJwCH07q9GYslhSV5oM7IXerpPOnduelVGtRuE9LYDGEo+suH6O9YSOY3Hmz4f3hZhJ8KSrximZHDd6edCLaAlVWfvlihnvBtgn60mGT1hzCYETphdCBJ+ECuLMbjJ01GD2ooFhyvSqiNgozTkI6ceZP0rEk0nFbDotOADuVuhqe+fx44b9UkTaUrzjw4s=; 20:QKpMYBWG+Gnof56UIZ0fGbVF8OR+q8dOpdp7nxLTXRqv0sh3a1Xypcxfoga3NSCaoXV/gY8aysZenM8ghwDF9+wGy5nWTvQJcnb4J32ZuqNF4XsLGMSnCdn0V6lCD/pxhSGIHVZe1UikSYg2Vd1nAPCVsV5Q0q5/ynEiIZEaPvzqJVMrCG8JINDQQaRtNlVxaCrmQJta7l7Hh4LrqPmcwtIl6iV6PcwTnFpwN1q2ZwEzIBwpc4bRXmSa71eIIRgJ47P595cZ4wmqomWHn/bwzDMtlaHhS7/ggKjdg+aZZpb3rzT2TGzAmL4uK4ehe0IDPnAG5ceSjoB1lCftJEl0m98MzOFgUZg+s5ScLyWIgLQcdMXpGJSFyn+1xrGkqAMkhzW0B47n6y/Hxp2IOsugLV6jsGHhSgUSwgooz5RyAUrSW9f+S/hgc/FUEtUL1LgvQa3Y0QGXNT7M8lyRRtQGq0nVwxmgM2OcpGpazyz3Er3gnySZy5Nd4Daf89x/g/tjFCcIm9S7RtB05kCuFYwrNHdixp3lCMPdQ5y8b7MCyZ0eBjsIfUMPjb+2WbV2WFmILAZ0moBB7dHNcv6xBZq0x20P+6XfIOnV2bnAtU/VktA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(20161123558025)(6072148); SRVR:SN1PR07MB2285; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2285; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2285; 4:xURtHvZhQdyYNoFAc//P4ZgJp0w7YH0WkhJL2dmGeBLXkAw7YNKGG92I4jvdRLX0gkgNPRZiued5G8sJvd79mT+gbZu4uVgr9G8IzCc2sdHl9Fy4nsIhvVlv6z7GDWT2YZl1Ek+uF7NOH4wIzcifCYRUd2j2hRvexzeO855kVBmqOjFVAnUXIJNgETjMsli31xPAsee0xjWKj5hC5D5Jj60NJyrHaBW40O+riDQsYSKk7gufW285kHo6xoOn11t0QQ6biO+TAE4RQ1iQwRWzxoG/4oqa22lbPsXDPvSo/kur9BB2xkM5pJnVW8BE7bTJYqzsl/HW45Y86gbbf2FHlllqETa350gJ6vR3moJ8v/NnCw108DOY0HFhJwR0JazwXsp00JKy60jLzvZpjknFNyHFwP8LXpbUjeIv1PC+tVkaozHyNTOjnjLAKx5IPed5JkrlqQ4LHPdvqaz3KX2eN6N7Ka4MTKAy3/tVTGcZ7WTXnEPUtWohbyBNlP0u2fz0eN9T6GJcBia41bUze/UbiOO5GUzd/iUfZfK/TvJXAmReGU+WEsEze247/7zzN/VV6fttNnTRWdoqlZkjcv1wIhG76+5yza0VSm0ZZv9xFCo= X-Forefront-PRVS: 0225B0D5BC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(39410400002)(39830400002)(189002)(199003)(50226002)(81166006)(42186005)(2361001)(101416001)(81156014)(305945005)(3846002)(6116002)(5009440100003)(8676002)(105586002)(7736002)(53936002)(36756003)(110136004)(106356001)(6506006)(25786008)(38730400002)(2351001)(92566002)(48376002)(6486002)(97736004)(50466002)(5003940100001)(189998001)(68736007)(2906002)(4326007)(33646002)(76176999)(54906002)(5660300001)(6916009)(50986999)(2950100002)(6512007)(4720700003)(42882006)(66066001)(47776003)(7099028)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2285; H:lio357.in.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2285; 23:6JOu88gLEaxGorqrY/JNiwUldR/EX05q8xz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JL5O+OnA9510M1wzEJxninNHVlOA==; 24:sJQzHzo/nj2FbhFHoC9OOQzufL1uRiCfoniRwTD4f9v2fF0CF93SZx6hCEodPsmXX1TeFa1WLxR4vqDL4RCHM0hfKxG3jKWRzgMJftdlQmA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2285; 7:f2EJJJe5XNwRD5UnpVBLREhy5pLH7M2s3kXVe4m7NSaDPEqipy34+S+rzFlyIJMX15pG3I/c4agH9O3STFbAdCr2jxY1gAeCKRdBan9v8fMcKCChd07dm/gK7i+bhvcP/ILSdm7UZaGhK+GjwhjJlYkAjWAHBrCEh/Fsyfw1QHCIhcgLT76mN3u/ZFSNYFPatoRGqrYoanISCv3+Im4TDR1up1upXfktCNBghdOWVaaCmZcoaZ7IY7arQ3ZfnStkPcuaMjtqvNOq1AccmaCfyJbPVyR3g8vzobxiQyqx83tyeIXps0QR8a9movwY2y6yV/QVAKCEu4euPXLCPjoMrA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2017 09:28:22.9153 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2285 Subject: [dpdk-dev] [PATCH 07/50] net/liquidio: added Makefile 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: Tue, 21 Feb 2017 09:28:28 -0000 Added Makefile and made build changes. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Mallesham Jatharakonda --- drivers/net/Makefile | 1 + drivers/net/liquidio/Makefile | 59 +++++++++++++++++++++++++++++++++++++++++++ mk/rte.app.mk | 1 + 3 files changed, 61 insertions(+) create mode 100644 drivers/net/liquidio/Makefile diff --git a/drivers/net/Makefile b/drivers/net/Makefile index ab60cb8..2093e09 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -41,6 +41,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_ENIC_PMD) += enic DIRS-$(CONFIG_RTE_LIBRTE_FM10K_PMD) += fm10k DIRS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += i40e DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += ixgbe +DIRS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += liquidio DIRS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4 DIRS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5 DIRS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += mpipe diff --git a/drivers/net/liquidio/Makefile b/drivers/net/liquidio/Makefile new file mode 100644 index 0000000..25685a7 --- /dev/null +++ b/drivers/net/liquidio/Makefile @@ -0,0 +1,59 @@ +# +# BSD LICENSE +# +# Copyright(c) 2017 Cavium, Inc.. All rights reserved. +# 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 Cavium, Inc. 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(S) 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_pmd_lio.a + +CFLAGS += -O3 +CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)/base -I$(SRCDIR) + +EXPORT_MAP := rte_pmd_lio_version.map + +LIBABIVER := 1 + +VPATH += $(RTE_SDK)/drivers/net/liquidio/base + +# +# all source are stored in SRCS-y +# +SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_ethdev.c + +# this lib depends upon: +DEPDIRS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lib/librte_eal lib/librte_ether +DEPDIRS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lib/librte_mempool lib/librte_mbuf + +include $(RTE_SDK)/mk/rte.lib.mk diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 236da9c..837cca5 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -116,6 +116,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe ifeq ($(CONFIG_RTE_LIBRTE_KNI),y) _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KNI) += -lrte_pmd_kni endif +_LDLIBS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += -lrte_pmd_lio _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += -lrte_pmd_mlx4 -libverbs _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -lrte_pmd_mlx5 -libverbs _LDLIBS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += -lrte_pmd_mpipe -lgxio -- 1.8.3.1