From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0048.outbound.protection.outlook.com [104.47.33.48]) by dpdk.org (Postfix) with ESMTP id 41FA01AF03 for ; Thu, 28 Sep 2017 13:23:47 +0200 (CEST) Received: from BN6PR03CA0060.namprd03.prod.outlook.com (10.173.137.22) by MWHPR03MB2702.namprd03.prod.outlook.com (10.168.207.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 28 Sep 2017 11:23:46 +0000 Received: from BN1AFFO11FD005.protection.gbl (2a01:111:f400:7c10::165) by BN6PR03CA0060.outlook.office365.com (2603:10b6:404:4c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.9 via Frontend Transport; Thu, 28 Sep 2017 11:23:46 +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 BN1AFFO11FD005.mail.protection.outlook.com (10.58.52.65) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.56.11 via Frontend Transport; Thu, 28 Sep 2017 11:23:46 +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 v8SBMpFx016035; Thu, 28 Sep 2017 04:23:44 -0700 From: Shreyansh Jain To: CC: , Date: Thu, 28 Sep 2017 17:03:27 +0530 Message-ID: <20170928113344.12248-24-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170928113344.12248-1-shreyansh.jain@nxp.com> References: <20170909112132.13936-1-shreyansh.jain@nxp.com> <20170928113344.12248-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131510714264308380; (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)(7966004)(336005)(39380400002)(39860400002)(376002)(346002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(356003)(189998001)(50226002)(47776003)(97736004)(6916009)(2950100002)(305945005)(81156014)(53936002)(8676002)(76176999)(50986999)(6666003)(33646002)(1076002)(106466001)(77096006)(105606002)(2906002)(2351001)(81166006)(50466002)(8936002)(36756003)(48376002)(5003940100001)(498600001)(68736007)(85426001)(8656003)(86362001)(5660300001)(316002)(104016004)(16586007)(54906003)(4326008)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2702; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD005; 1:54S7Az9mAi7qfHKtqP7YlagfWoM+2nXvJA84Ryhy5TLcevS3CHgR0mSi6/lXjSV6fmm8v42mZA9KX9eILa7V2FH9jOcWrPbBZPnO4c1yIVmjyCZFcMyNEJ6GWozRGraA MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ea864c16-18c0-4408-ca9c-08d506636258 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:MWHPR03MB2702; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2702; 3:sHZm+Zbnn+1FjAdhERuiZWMcGeqeYnd1lU/0v0c/urRkoNbcoLi8hCjela0IbxtWNe+Nco8bDIkX6qZ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h08qpLnLB6MwWboGPHnHjWeKTzw5/rW3WVQuwWLzb3h2Ma4Wq1GeFVwyB/8JaCrlM2q0h7VNdebDqJtSjLf9ifjqE+VQpmCXsHUVc2P7TwRmdHNG1JGqNFhgKP/DBUNXiPrafU7mftWcaBkIHJ31x5ddOss4FgTo= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123565025)(20161123563025)(20161123559100)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB2702; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB2702; X-Forefront-PRVS: 0444EB1997 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2702; 23:Rd2QeAaGIrucM2UTK5y/w6b85XqynbN5VN/2Mj9cm?= =?us-ascii?Q?+xF/9+5yoaDxy+tG2GLzG6YRt+7OKZiOMpmsuBcDMTbr9K5XrpaWnEQZ+UFE?= =?us-ascii?Q?1B7dJ+SOlbWO2iWb/lNVMTDqEzOGHKOftEz096YA6dFOJ/UA1jSZoizkqaWa?= =?us-ascii?Q?DYnnDVopa+Oip3q+ZvrUaGOnWsLUC77YG1XkY43pPoD3H4E6XEtMgxm4Zs+Z?= =?us-ascii?Q?OAXejTVSMmcM7xxOcZWTP4rpAo5e90QFnQaX3shWsVF140IhMcztlvKoNx1w?= =?us-ascii?Q?VGf+iL1p2AOzU/5ZHCHF+1J/VDBobtTg+/cm0earbRy91k10/WDxemsOOw57?= =?us-ascii?Q?916etD4iriHeYmkkGAPthbUG+UQFsXLsw2q7Z/97THYvEPkPxgtRpwprY/6c?= =?us-ascii?Q?Co3dYtybipNW88QYE9LmGk8cfoji0t+APdln4fI9jaAAoNsyah5qjfetL/fZ?= =?us-ascii?Q?o8pmNlnZ4koFYIDNgDl7Fe6BBDSEa3R3g5eM+/gSotckSIveGBgxP7RcyWqe?= =?us-ascii?Q?RZ2zrqs7ropwSdKBp7cWkCATSnF0HLM6fU4Hf7T9L08rDHdowDxlBgPl8iWb?= =?us-ascii?Q?IZF0dU6vFJpLKURwdWR+bKt6ewaiWBZFqc5GtU94Hpz/vdkG15wEreR356fk?= =?us-ascii?Q?lfNJhKuGTTSN3fdp/W9z/DcQSL6URi4TUKN+raN0Toj/P+utu+cHBx06VOaq?= =?us-ascii?Q?xkWKqICxjrM1BWGDHoqaZQbmUmAw9/nztePdpjY0uY9Fvga+Q0wBVTUZD+EY?= =?us-ascii?Q?XzZjT+34vD7oewVlFTat7soQSKqHyoOYKLqbminY11820rFaITemqlbywUzf?= =?us-ascii?Q?LsiCaZ2iRgLOSyMk7dg5SXChuvU8HVbC7Kp4kCQA+CEEkIsbovVPTcTHBLsX?= =?us-ascii?Q?FlZyl1LipvQiirLj5WvJQGLMo0SslkKPKnfoOeeZAZGpF5dd7DlR2goU2ykq?= =?us-ascii?Q?4/8n/cpGnN2RUp26tvMmOJZS1MNCdJZqjAgNKSLE9lGKSyIeCSM38VrSqMBl?= =?us-ascii?Q?IcIV0YnmyrrfINB1tePmrjiAIRQpmyanvy4sYVzrkONyfB9qWDencfy8Kq5z?= =?us-ascii?Q?kWlE/rkJs3aWPhlmRZ2FVBue7/Uq2dNMg2GdMKgHptJrMyazHQQkVF8iHMeV?= =?us-ascii?Q?+tnuF0m80JDJFOhK5jQ9Iq631giId9VQVAvm4megSR35Ox6g8m3Xa3ktqHty?= =?us-ascii?Q?oiIRz4gYbcLN2cwqcHJosP4vklK2CRScKCvskBWiQRLnPbmYiUCEUwkvw=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2702; 6:YDIfCBHZJYMkdZYFiZkuKwhCdQnSEUXqSpr9LnzejVoBPhZ3n/u887TWvrkiJhw8JGM5O6HlIzOu4R8WKLe4fE459O890wXYg0I1mv98LEq6wDV7NOLt7xaI6ZXq+sv4ZmJ3UNCwANJ9jGq2Nx+vSPICX1D0UKaT9yuBebtjhzeKFSmwVx9IPeNkskjIMEfhyk3irI3eGPZ/I+zD9vOlN9gDHGet4PFQGvufk8pM7uT7w9jvyDVX1BJHNuY2mkrqA4ZC4D3kT1kSB1T9jCh6AlGbNcngWRUnQ84TiS67IyzGG5q+4iJrxQKnSoHODgvOLFq5xxQQRakW1NmHtJarMA==; 5:Yb6wniZgCZJcAq3kJZPFwfQVHxzRASqt0hEMBN/h9+nbpIAa55W+J+y5Dn5/B7cfEbcyEG/qPqAX+F3gpBHHq/7trFWNGN+fNSY5z3PemILv8xNOGS1sDMVFMwLm1pOt+9ry5BQRtGxKjN/Vhe3BZQ==; 24:Dsh1BRugdl7w7MsjQGVxoOgx2whDyFRkbULUH5WB1ZdztVQc+QWwlY03iHmsm5ZN9T3L7eIXImQ5Zd4T7ZQ/RFD1NFdttEgih2SJP7M65hc=; 7:1IUGHv5NTCsPEk85GlTP3eeGoGGUHOj1lp/Lntp82+vcyu0hKhTfGuTLtXfCj4j+f2kol7/KRipqabuQ0vZ4h4pAaaHD/TdTTAvHHyZwztQEzdR40sGlrJXvAxRBqvAIMOo6ydgReL5xhJajyXcBwQOwp/wNO73fochXMtQqhTg9KYINV1B6tHBVe3nV1ssPwbwDI1ppw7pUe6r9x9K8zXNxI7uMwlOW34td/jhX6Ak= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2017 11:23:46.2592 (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: MWHPR03MB2702 Subject: [dpdk-dev] [PATCH v5 23/40] config: enable NXP DPAA PMD compilation 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: Thu, 28 Sep 2017 11:23:48 -0000 Signed-off-by: Shreyansh Jain --- config/common_base | 1 + config/defconfig_arm64-dpaa-linuxapp-gcc | 3 +++ drivers/net/Makefile | 2 ++ mk/rte.app.mk | 5 +++++ 4 files changed, 11 insertions(+) diff --git a/config/common_base b/config/common_base index fe287b0..ca47615 100644 --- a/config/common_base +++ b/config/common_base @@ -304,6 +304,7 @@ CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n # NXP DPAA Bus CONFIG_RTE_LIBRTE_DPAA_BUS=n CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n +CONFIG_RTE_LIBRTE_DPAA_PMD=n # # Compile NXP DPAA2 FSL-MC Bus diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc index 3e11718..f59834c 100644 --- a/config/defconfig_arm64-dpaa-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -54,3 +54,6 @@ CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n # NXP DPAA Mempool CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="dpaa" + +# Compile software NXP DPAA PMD +CONFIG_RTE_LIBRTE_DPAA_PMD=y diff --git a/drivers/net/Makefile b/drivers/net/Makefile index d33c959..2bd42f8 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -51,6 +51,8 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += bonding DEPDIRS-bonding = $(core-libs) librte_cmdline DIRS-$(CONFIG_RTE_LIBRTE_CXGBE_PMD) += cxgbe DEPDIRS-cxgbe = $(core-libs) +DIRS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += dpaa +DEPDIRS-dpaa = $(core-libs) DIRS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2 DEPDIRS-dpaa2 = $(core-libs) DIRS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += e1000 diff --git a/mk/rte.app.mk b/mk/rte.app.mk index c25fdd9..9c5a171 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -116,6 +116,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += -lrte_pmd_bnx2x -lz _LDLIBS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += -lrte_pmd_bnxt _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += -lrte_pmd_bond _LDLIBS-$(CONFIG_RTE_LIBRTE_CXGBE_PMD) += -lrte_pmd_cxgbe +_LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += -lrte_pmd_dpaa _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += -lrte_pmd_dpaa2 _LDLIBS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += -lrte_pmd_e1000 _LDLIBS-$(CONFIG_RTE_LIBRTE_ENA_PMD) += -lrte_pmd_ena @@ -182,6 +183,10 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += -lrte_bus_fslmc _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += -lrte_mempool_dpaa2 endif # CONFIG_RTE_LIBRTE_DPAA2_PMD +ifeq ($(CONFIG_RTE_LIBRTE_DPAA_PMD),y) +_LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += -lrte_bus_dpaa +endif + endif # !CONFIG_RTE_BUILD_SHARED_LIBS _LDLIBS-y += --no-whole-archive -- 2.9.3