From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0049.outbound.protection.outlook.com [104.47.41.49]) by dpdk.org (Postfix) with ESMTP id D7D821B1F0 for ; Sat, 9 Sep 2017 13:11:20 +0200 (CEST) Received: from MWHPR03CA0013.namprd03.prod.outlook.com (2603:10b6:300:117::23) by SN2PR03MB2271.namprd03.prod.outlook.com (2603:10b6:804:d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Sat, 9 Sep 2017 11:11:19 +0000 Received: from BL2FFO11FD033.protection.gbl (2a01:111:f400:7c09::113) by MWHPR03CA0013.outlook.office365.com (2603:10b6:300:117::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Sat, 9 Sep 2017 11:11:19 +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 BL2FFO11FD033.mail.protection.outlook.com (10.173.161.129) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11 via Frontend Transport; Sat, 9 Sep 2017 11:11:17 +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 v89BAUhO026326; Sat, 9 Sep 2017 04:11:15 -0700 From: Shreyansh Jain To: CC: , Date: Sat, 9 Sep 2017 16:51:15 +0530 Message-ID: <20170909112132.13936-25-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170909112132.13936-1-shreyansh.jain@nxp.com> References: <20170823141213.25476-1-shreyansh.jain@nxp.com> <20170909112132.13936-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131494290788302250; (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)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(2906002)(104016004)(189998001)(8936002)(8676002)(81156014)(8656003)(81166006)(36756003)(356003)(53936002)(86362001)(110136004)(305945005)(54906002)(4326008)(85426001)(68736007)(76176999)(33646002)(97736004)(50986999)(5660300001)(2351001)(105606002)(2950100002)(6916009)(106466001)(47776003)(48376002)(50226002)(498600001)(5003940100001)(50466002)(77096006)(1076002)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2271; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD033; 1:Eqvx6Nj9qaLIQc/2WQyH89xb5+5dEZGU4481bFBgiOoPzLhZgauYApWi/+2olMpqnGxN5Cxk/FKaUxUpe1jZxKuc2z9MNe9WJbt02T9GjX15jpljgNX6tYWIT+u5QMvO MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9b40d98-43a1-47ab-bdaa-08d4f7737ee4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR03MB2271; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2271; 3:eU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Xhw0VIcv/yrSVUjFznhR5UZBB2luEuCoK3WR99l69hqEVF45SzL3yGDACM9Umaiu6Zo4+aJPsMOd6svymWALPmncE09HmFpKqpFIYBtZ4O/zbctTqeqo34Evv7Warn7LNGZDBg/92AcasWlty+E9ZXSNo8NMKq9UdwiKzkUIZ/RqtRulwvJ561OrfIBGFBbFermjyPd70qdiAcSjUEq+FywoxTCSbfHHkvfgQrHKVF+b2uddZaTbzZaXQ= 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)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123556025)(20161123559100)(20161123561025)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR03MB2271; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR03MB2271; X-Forefront-PRVS: 0425A67DEF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2271; 23:m0ydZtnxxPFiD7tLYodkGRFlCIK053SfkXK5D+Cz9?= =?us-ascii?Q?uC0G/uX6lOsPI00JpNhq6wwEdWaPHTAdsrdAoYVZ1vj3DzrvxkNPMaCtoU5G?= =?us-ascii?Q?T2JWDxzciTHSc620bhLcvO4VNFTSGnLvNWPQqQYY81srYIsh3XzCz3+vmJE+?= =?us-ascii?Q?0yjPRDB5BDQLhkhErLFUkKA7X3jXwBiMO3DF7+qp1EhfikgnAFjtp89USlHF?= =?us-ascii?Q?Dc8q9Kclr6LPKIEmlMYyw8IyWbTGqwZ3w1OMIqW3qLUcrcjD3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ZbPtfsUsaQAoDfypYHkZGToVv?= X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2271; 6:ficLggsvlnDx4nyfro0LD4/AhHeTyNUqFqg4riPzJOPG23khCb8hnZh7JTszcs0JqWvLKTI2n/jTxWozT2Enz9QLxFfh7+0TTnzZ1luythMOXbWVqxgsTJV6w5EfZo2KlfW9HCqcvA+AyBWhxC/qFvJgO+YUPUOgnKcUIvvv0hAibqQMGvCc6QJm2sCHHhgQ6ljTRSaClkYuk5zhnRMgpBGGt8QfrfGuB2sFx5iUfSRpkSPI+tXaidhUGWPA1hkVYncBLxFPaeNPIbmCKNPCfApYsXbIVwzhDcOlQD8F1H2o3jCT1jsof6DBcnBmir23+PEAqryw+COvw66Yd7Sn5w==; 5:HB+J+5Y+xZmHLFNETTEwCSlj4hOYgs5FutFJ9dscfIpVAVy/FhpojNhYYLDOXAhfyHpWIAj3/OzcNX7Tb8ugtawuvscQxMnFsjZtn4CzBUSGv/jSscCnVrBys9tHBH30J6wf5WknesgVWT9NwIvA+w==; 24:zlkBT1CafyiXSOKX5Z/Kd2JJhYgO6LsM2JNEhqWmqsOsT/6rLZW5TaPDdmcu4qD+HVdanByAtJgXOafhuOsUNmkwTO7Woc761a+x9t5bmv8=; 7:cT6X/tzVXtZVFQM6vu726nnzfCcWUm2/vgBClEhWpu7fkkUIkO8AQS+7/3b0Qjaz8I687ay/EPTOnYhP2i6OwCzjhBjgYBc+Gfuz4Ol2jB0mC/yNJ1aeXSQiLUxlTphj/YDIfeRsxihvFU6jRtc+1NnYC7W64aQrF5NYk/nTCH3rcMjKrIGsppswKSLPQcunfad/VfHuOUkbeEuIUV9djgzc/itfPFeYyDBSWLGI8wA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2017 11:11:17.6290 (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: SN2PR03MB2271 Subject: [dpdk-dev] [PATCH v4 24/41] 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: Sat, 09 Sep 2017 11:11:21 -0000 Signed-off-by: Shreyansh Jain --- config/common_base | 1 + config/defconfig_arm64-dpaa-linuxapp-gcc | 12 ++++++++++++ drivers/net/Makefile | 2 ++ mk/rte.app.mk | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/config/common_base b/config/common_base index e4a9d6d..a780284 100644 --- a/config/common_base +++ b/config/common_base @@ -306,6 +306,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 d91249f..a349cec 100644 --- a/config/defconfig_arm64-dpaa-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -38,6 +38,14 @@ CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72" CONFIG_RTE_LIBRTE_VHOST_NUMA=n CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n +# +# Compile Environment Abstraction Layer +# +CONFIG_RTE_MAX_LCORE=4 +CONFIG_RTE_MAX_NUMA_NODES=1 +CONFIG_RTE_CACHE_LINE_SIZE=64 +CONFIG_RTE_PKTMBUF_HEADROOM=128 + # NXP DPAA Bus CONFIG_RTE_LIBRTE_DPAA_BUS=y CONFIG_RTE_LIBRTE_DPAA_DEBUG_BUS=n @@ -48,3 +56,7 @@ CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=n CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y CONFIG_RTE_LIBRTE_DPAA_MEMPOOL_DEBUG=n CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="dpaa" + +# Compile software NXP DPAA PMD +CONFIG_RTE_LIBRTE_DPAA_PMD=y +CONFIG_RTE_LIBRTE_DPAA_PMD_DEBUG=n 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