From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0080.outbound.protection.outlook.com [104.47.37.80]) by dpdk.org (Postfix) with ESMTP id 02B771B209 for ; Thu, 28 Sep 2017 14:19:55 +0200 (CEST) Received: from BN3PR03CA0110.namprd03.prod.outlook.com (10.174.66.28) by CY4PR03MB2696.namprd03.prod.outlook.com (10.173.43.139) 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 12:19:54 +0000 Received: from BY2FFO11FD020.protection.gbl (2a01:111:f400:7c0c::115) by BN3PR03CA0110.outlook.office365.com (2603:10b6:400:4::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11 via Frontend Transport; Thu, 28 Sep 2017 12:19:53 +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 BY2FFO11FD020.mail.protection.outlook.com (10.1.14.137) 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 12:19:53 +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 v8SCJ72G008785; Thu, 28 Sep 2017 05:19:51 -0700 From: Shreyansh Jain To: CC: , Date: Thu, 28 Sep 2017 17:59:43 +0530 Message-ID: <20170928123000.1711-24-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170928123000.1711-1-shreyansh.jain@nxp.com> References: <20170928113344.12248-1-shreyansh.jain@nxp.com> <20170928123000.1711-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131510747935942334; (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)(7966004)(39380400002)(346002)(39860400002)(376002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(47776003)(97736004)(305945005)(2906002)(8936002)(81156014)(85426001)(498600001)(81166006)(68736007)(53936002)(1076002)(54906003)(77096006)(86362001)(8656003)(48376002)(4326008)(6916009)(2950100002)(50466002)(5660300001)(50226002)(316002)(33646002)(50986999)(76176999)(106466001)(2351001)(36756003)(105606002)(356003)(8676002)(189998001)(16586007)(104016004)(5003940100001)(6666003)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2696; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD020; 1:GYjBkV/yYiBIWwhi7EQUwGJQD1oEge3q9YXAlrmmBPu0yLAe2UxybOl/ybi8k6vDfiO74Fu0RvE24azuyi7pBC6tE0Ib9M7PcwIAUwNSQmn3/qdTsgVoz6VRXC8Ycb2n MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 08b504c9-e80a-4388-1bae-08d5066b3942 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:CY4PR03MB2696; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 3:ZJg7+kHtM46L8D7y7U6nt8y8msP9K1+IunqJ+zNU3Irjc+ZGJBSHaGGk6MvhN7x1V1RA4sHSQl3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yvS0ZPO09Yi6N//m2RCIka9nQsM4e5OpE/Qr1K4PvsT6aIjR8OXZ8fiWkmXUd/VfHCBcRN9IcnLo8/N0r+ECL8tzdctPefyBBlnuptJPYEkcqPWTcAalLwSNzXc4MJ5D8y2I4AZ2+/XJB7Tk64Nq2kg= 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)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123565025)(20161123556025)(20161123559100)(20161123563025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2696; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2696; X-Forefront-PRVS: 0444EB1997 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2696; 23:LHyWO4iQvDHb5eINskA3Ut3AH81Qx2kbwtQremVvF?= =?us-ascii?Q?fNwEUGy/nSIC3wF52O0x/08g5ooY08dkcJtoTfi7O0DaTW+JjNsVkt2KcE1c?= =?us-ascii?Q?4W+7tRZT6jgo9aIew3TxgHlQItpDbRFajJsuRkLy1TdeEc7PwURvuuNp14JH?= =?us-ascii?Q?7/ahCP4QKYTpeOSvZAsfvFOOXttRWyz9JYwlMs89qU7kKHqOzjADV3/E4VpR?= =?us-ascii?Q?CUXkycDUhG7P/SCD7eiWcq2trBvDXL1qV6PhENp6lqG7sUFRpKeVe6eFlKX1?= =?us-ascii?Q?FNetQG6O7Ib+XPzUU9DE41jHUlFWJrFPruF6LXb6E9qExwDuVmjahQA6D6Fb?= =?us-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49yjAnWd6kz5W8u5b4xg=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 6:XmRNy1Wx1qMuttkcz3r55eZbJGg9XbjUhLMbh5Xvr1YK8+Wn7Yl7/LmsWoGlmP+MWjycS9UN1//tmQZ1zQPEY5NHWyguoqNxn0KXq1+aGH7G9W5ltqyq0eWOqpq/3hUqlsEs4D4Bev4sKrNd8R6p6nQfRSXvfKTFZXXNaKBgYdTaH2JYkfC73ek44mKCl8StohozDzoIMhmjwyQIbILEs2rab5xONlqKpSY9oYyBw/aqvTpYAhjFmPgmVJxChsDJIk32ZWsy03MmgmDHTnmRlVAZDC5TxNzMPETlB794+a6pgetHAUj2G/TDlA1vg6oGd+IMK1+iUqWKvaD5aLWlAQ==; 5:W82adlzgqwcdSQZYQPPDD7E8SouipThg35c9SFjpJJMqNCl3HncjMZLnnwRWqEL5f0FAVdQu/oWG1NwzhUQlG2+rkVCaLsRqDvKokpCcvjqmgeOxEWpKHsRCTJPqXXBBJWluL0cCzNfJazxUgsoACg==; 24:JYqBpVRI+5LBMHUAy6C/XWTEMHC9Z0fdmiU2gV/6T7p51qZBTAIUeiIABeedp8eir0t7sXGXDVayWT9XS0UaOhVYv8HmxjoOlbsltl9OlpY=; 7:AwX2aAs46Frbg20tAG+dUdcjy0BnBqZVh3cVC0uFDUTSocw2ddm0FlVaeeyyDraOA0Nk9vm6MgOJP0a2HACh4moOY93EVmaA4/ir7s6p2SExYAkanFDa36PQtyDHaITBgORqYpLm+0WjwPH0ijjIZvW4bPXPMoyxFCaVGfNKpzAyXMVq6vF8cjNTqEL3mzeVkQm+2BfqoZWIugx1pJHLNiKfSdaAx5qfj02CSwabnTU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2017 12:19:53.2822 (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: CY4PR03MB2696 Subject: [dpdk-dev] [PATCH v6 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 12:19:55 -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 | 4 ++++ 4 files changed, 10 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..9e268ff 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -116,6 +116,10 @@ _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 +ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y) +_LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += -lrte_bus_dpaa +_LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += -lrte_mempool_dpaa +endif _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 -- 2.9.3