From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0074.outbound.protection.outlook.com [104.47.36.74]) by dpdk.org (Postfix) with ESMTP id 71A408CEE for ; Wed, 23 Aug 2017 16:03:16 +0200 (CEST) Received: from BN6PR03CA0094.namprd03.prod.outlook.com (10.164.122.160) by BN6PR03MB3314.namprd03.prod.outlook.com (10.174.233.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.9; Wed, 23 Aug 2017 14:03:15 +0000 Received: from BL2FFO11FD053.protection.gbl (2a01:111:f400:7c09::176) by BN6PR03CA0094.outlook.office365.com (2603:10b6:405:6f::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Wed, 23 Aug 2017 14:03:15 +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 BL2FFO11FD053.mail.protection.outlook.com (10.173.161.181) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Wed, 23 Aug 2017 14:03:15 +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 v7NE2Q3A004389; Wed, 23 Aug 2017 07:03:12 -0700 From: Shreyansh Jain To: CC: , Date: Wed, 23 Aug 2017 19:41:57 +0530 Message-ID: <20170823141213.25476-25-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170823141213.25476-1-shreyansh.jain@nxp.com> References: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> <20170823141213.25476-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131479705954588695; (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)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(498600001)(189998001)(53936002)(2906002)(50466002)(76176999)(86362001)(48376002)(50986999)(54906002)(4326008)(33646002)(36756003)(77096006)(5660300001)(356003)(6916009)(2950100002)(305945005)(97736004)(6666003)(105606002)(2351001)(50226002)(81166006)(8676002)(81156014)(626005)(110136004)(8936002)(8656003)(85426001)(47776003)(106466001)(104016004)(68736007)(5003940100001)(1076002)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB3314; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD053; 1:3Mphne6gMh/6gvZigdV4YVfIUuF5Gz+VMNyCP/LjLvq1WeeJg2a4iYozXx2+fg7rkvL2oR+9tLnOIJHKi0YLSD+ugXjCXlKqDO6mRHfZq0eVXRbnyVFLFFsA7Q9j+N3z MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 443f0410-826c-4471-36b7-08d4ea2fb30d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR03MB3314; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB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wbiLadTA7vLrDLrO+HWHpF4xXIVBarigPA7MfB+VJe5U9PtaFwyhIihOmroxIT+amzroStpzZr4eE0JE3Q/DJG7j2wEaa4oL5t36m+3YgAFAV4x1zPjxLPyb3rbKvzAIWHgUOKkZdjLmd6NcWak/rsR5eNBtlyJeas2eWUP2qbPFuNhRNWqXjqG19QCwcsvqYO3WJE56pOKuzMrkN5mkBCIAST3kMIVIGv7ueAl/+7BKLSo= 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)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6096035)(20161123563025)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123556025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB3314; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB3314; X-Forefront-PRVS: 040866B734 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB3314; 23:1QSIEmcJcWkw7euof7Vw5syFTfXpkgoZloof84hrF?= =?us-ascii?Q?N4/LCr7MGXcPdCBGsIepPmyjWz2wfEXw7OpQu0qo6DobjKwg3HMeyqmcuEOq?= =?us-ascii?Q?sDgebN+dDIUvKA8LoFJAqwHJRbet97Dvn3G6J/KueolAQUPlXcRWoMBie9LI?= =?us-ascii?Q?soRySY64/3HpXUv26T3uVCx43Unh1tjfVMa5wmJ9AZ4VnBd7RptbY/jyE8EP?= =?us-ascii?Q?3ZzWAKC3q8Sp0m6m7ej5KbUdUgiO+kELbPBwip+Nx6d3Pw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4bTaiiWm2CRDtpCPcFEDLgzSF7HGDhHs8saQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3314; 6:19c3ld5Zmi3EjMO2T7DdSOTzA02lqtB8rKQXgHFGEllnteNsxz79PgJX9OQ5CLgyDF9/mSqm2srqWLIpyLvpaCLllHuESkh0SVw+QL38F4J75Z3IZK6wzF+DYJR1/sUvi10gwtPsQQMxc+eqQRlavjpqKaxq7g+gvTICZoiLU0Pau2Qtw+raUp2btS78hjnAQlh3MWGohlulqYUi6+8M7E5MAGNDWqTwtFmxNg8uczvkppWEWHj2Bu8nyLBpaCucbz0pDRUZMKH1bbfZNFs3P/wgkOEuB9WPamBO9/8xe6Gv9ww314U4uN1MtRLrYYXT5MF9MfCWuxnQLJ0klvLmRw==; 5:f6DwnhtrJxgXuYjaoskR27GUvaApUb6jJcDhRDKOrHu2MLtGazwpGKWj4NlaDBA8yW8mf55zUl/qT+ARGkT4wCVMDNOhODSrsMnOf6va3bSZSUOpK2XTllf35gAj7B5xlZIVVlTKE5O9K+HsSBZYLQ==; 24:m87/qUsVwxrM3ad8E2QqELxLNf1fnulmhSMczchbcBilakt37g6SG+7EUCOv8X8ScM561FgDzTIISBk0OlZPyXD7RmoTsggIfq70h8ldw1Q=; 7:r7xYFMo0DBSr+OwlZc6HWrE4+w42M6PPRGHrNCB75WwJ9AA0UH5vxaRVngnaW0fdIV5yxBeGApI4ZiIrqL2SAMY7fpuinDQwO1y74sir/SxO+WnInJiqE99nOXZ1ufKAJ/RTQPQVYGBv2sv8WxaElFtGnx55DroN6SYmcQTBpXBcQVWXT9sdP4UAB5YrKeZgumZiTJ9mHaTRsOm0gAQjcTdbXoRdTJ4VVfOnbqTuqjU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2017 14:03:15.1156 (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: BN6PR03MB3314 Subject: [dpdk-dev] [PATCH v3 24/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: Wed, 23 Aug 2017 14:03:17 -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