From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0075.outbound.protection.outlook.com [104.47.32.75]) by dpdk.org (Postfix) with ESMTP id A8519F94 for ; Fri, 22 Sep 2017 08:40:31 +0200 (CEST) Received: from CY4PR03CA0078.namprd03.prod.outlook.com (10.171.242.147) by BN3PR03MB2353.namprd03.prod.outlook.com (10.166.74.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 22 Sep 2017 06:40:30 +0000 Received: from BY2FFO11FD023.protection.gbl (2a01:111:f400:7c0c::161) by CY4PR03CA0078.outlook.office365.com (2603:10b6:910:4d::19) 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; Fri, 22 Sep 2017 06:40:30 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; 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 BY2FFO11FD023.mail.protection.outlook.com (10.1.15.212) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.35.14 via Frontend Transport; Fri, 22 Sep 2017 06:40:29 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v8M6eQMs013700; Thu, 21 Sep 2017 23:40:27 -0700 To: Thomas Monjalon CC: , , References: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> <20170823141213.25476-1-shreyansh.jain@nxp.com> <20170823141213.25476-25-shreyansh.jain@nxp.com> <8761789.OGcidtGilR@xps> From: Shreyansh Jain Message-ID: <39f388f3-e547-aa53-e5a9-aea8b04ec9ce@nxp.com> Date: Fri, 22 Sep 2017 12:21:23 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <8761789.OGcidtGilR@xps> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131505360297092896; (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)(376002)(346002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(24454002)(189002)(377454003)(83506001)(31686004)(68736007)(498600001)(50466002)(36756003)(77096006)(229853002)(8936002)(316002)(81156014)(8676002)(86362001)(93886005)(4326008)(8656003)(65956001)(65806001)(47776003)(97736004)(85426001)(81166006)(54906003)(31696002)(64126003)(58126008)(2950100002)(2906002)(33646002)(230700001)(189998001)(53936002)(305945005)(76176999)(6246003)(50986999)(54356999)(6916009)(6666003)(356003)(106466001)(23676002)(5660300001)(105606002)(65826007)(104016004)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2353; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD023; 1:S77dYaF5qgBBeRSsqDfajnqOEd1u3San3EkDtZp/VrZDohHkiCZObpz9iaqEJwbQmfQAHCWvUqS9Uxo20xj/YhIB/ccdWuR7/t99W3Qiy/eK0pR/caMQYIS9FGx7Onri X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d61a0f3d-7640-404e-5c20-08d50184d0f5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR03MB2353; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2353; 3:lclHLMime5eshWhkWfE4iWzHRhbxgKY170lgZ5b/AsXIJOtivwwQIFm9fxYrzQoNdscLnhHKt+5qis4EK51DYs+c950f3HNkhh0MkKI8p6w2pBoQa7Jp0xXagBrXvrNqNqY9HJYijQtOkCOW+Z+BapoJv2Y3vlWJe8EfgKGyAsVmUofR6PIy+uEpzFb2PHxo4CYKoKl3OyWp2PGMQ8WqO1MTXzbkrt2GBInl3HakVnL0UDkohvPGel1AeSBROacyz6rtT4HRTpNpzSzDBaiqrBLIyejICgXeL7FMv7kWJcgUZ2CTHiRf/8QSZPk0jmPuBFEUlEMBrjLUlcNStn4sjZ+HkSb1J+MXA9LvOfj2ao8=; 25:BQTW+CWIV6npqcGK8MKN+QcmrW9om7flie2f8+lu84JB+6WBWQcaXvDLXIwByAssytHg9HJJDL4c/Kw/C1fkv3saEW+JXSWVEJuSqvqwShuP7ux/Q1d7eJyJ36wMeLBgMhjLPBWM9qEd5342M2h6Tudzux9XzIYWur2YIDD/OZpq9JUaIdZ8V7xwPZ9vQrLFLKRT0z41DdSgyfwNHBJlcIKsHSyZh2wIFFC/cBwXnDpTDwDwIro+/0miLidvzQzcIcGQgFAk6Injyz1Tt9Iq+9SKR+MBspjXGfN+5eT5xDdMywL/PK7b+IFxH90QOrUgMNVHmdHTeZYiO3k9OWIpBw== X-MS-TrafficTypeDiagnostic: BN3PR03MB2353: X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2353; 31:oA8+13pYjZWQk9FKcMac3z9vURlc2CJQ5RioN2Wk/uC2tCcHSIoJ4LyvFtohMMkHL8PyDYjqfUvqXTUS0lDmhWdi8TlE0X2sBhwQVY2DYcSmWHeVCwQ9kb+UeiE5Up6qidPzsXXtEvu4jQ/pMde8aBFFYlwkPwMF7ZigPSsoOLBRVqovSZwojbJmyfKMXCXThnZ5zeg926inbMk+kiBkW97yymgshRg1NsuvBTIfrfI=; 4:GCNBvSrENILMEexEliBRsfaCAyxpqDFhdYy3jigKd7ZlIgpPPTVBAiYhSBOt1BJJDCb1AYhpFA/N2EePFpKzCGlBM4FK3cEuOCibce7BOKfjS5Wf8d/vsMqMLvD7Xzn1tKaSLxARL7B8+TNa+8BM9jNWbMaLwGbfM3r3AYeUs+PfoJV9Y896lAffsKn5UzOVgypfF5AxkeUFEwUpDUHSM/U3TlpWrn/wX1+hYuBw/VwOKooSu29vkgLPylZ0ll4V X-Exchange-Antispam-Report-Test: UriScan:; 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)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(20161123565025)(20161123561025)(20161123559100)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2353; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2353; X-Forefront-PRVS: 0438F90F17 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjNQUjAzTUIyMzUzOzIzOm9jalh4SVlhS1Jrb1U3dGgvYUE3M2ppOXU2?= =?utf-8?B?WllGQlNEMTZMcUNueWdmN3R1OEl4Zm1IUVdCYk1MNXFLQThBQUZYVEJYdG9U?= =?utf-8?B?RjM0NU1PcHVXOE9QdU04L1hUOFZrSUxiSHB1RFRNN3ZpaU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dm5i?= =?utf-8?Q?6amvYzIJFPk2VhhX1szWQIr621SK7w=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2353; 6:NXrnRS7/ZZ5k9z3DswMmnXN0gNqZmr4UbDsjHkphzwloxsGBheSNlsD2bOo4zWe9euK54oUc9PkqIvG+HmijjCm7mmQ5PI8seOfUc3wPNQ0lMAisRs02lFdoHesGKmOc3gaGSUsmOFcxgKkyWmeukdObxYyrP+nxaG2NEjcqaeltuS1IanU6i6QH2fMjQ1E+EeF3ijCYldSkefjohPa0v1QjPwQ7vH2Ufehago2qDs4/TumywrM4XkHyNRqbKVA7AS41EuSa3C2rhGYywFNmroLsteFrxyI2lLAHDG/dq5V2s1O608oUopJatot0IEV2Aj06CbKVBiQh9KKzo9IHcQ==; 5:jwx5JjG5ePRCoMMMS/fAoIlLgKFo6LHt8dAe/rmQMf1daSK670HZ+UJnD3U7d8+VdeEXrtOr9lsdKjxR68M4TlYGF7/rljHTb8fFrlU0GhHv213gY69+KErPuGYTwABLFzo2BcDhrOw7rKj4LEMpdQ==; 24:ARXqklH6jzaOSbI7TfWISiP4f2Pd1dWP46U2tmRYlXLC6KS642XRDvJm7NHPRnJd4qVTExgTszop1luZ73yi28BYMy7cd16QDDvaW8M8Hkg=; 7:pqdWmslxXsxXn+pYh4uMtOpWT/InW8qjryafc9qAMiXOwKzJaANBir0v+0/q/z1HugXqf5Tc+BHZNXAG1JhSv5W/myH+WsboafV2Hn0KOJiiLFCkWEED+LzkvxGG4op7c1N4uqXRvrjES7Md41e+tTpq4TfpDXxKhM8GCPra2aavj3EN9hJv6cpHE+BkwfZKr9IVogZ3nL3nzpERVk/r0NkxFf9rPt/SDYCqu6nVA4A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2017 06:40:29.3972 (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: BN3PR03MB2353 Subject: Re: [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: Fri, 22 Sep 2017 06:40:32 -0000 On Friday 22 September 2017 03:33 AM, Thomas Monjalon wrote: > 23/08/2017 16:11, Shreyansh Jain: >> --- a/config/defconfig_arm64-dpaa-linuxapp-gcc >> +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc >> +# >> +# 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 > > This should be part of the SoC introduction. > > The rest of this patch can be squashed with PMD skeleton. Ok. I will revisit this. > > [...] >> --- 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 > > It does not make sense. Please read it carefully. > The same config condition is used twice. > > And the dependency should be on the same line as the PMD link above. > > The same mistake was done for DPAA2. Please fix it separately. > > This definitely is fishy. I am not sure why I did this - but it seems that I was trying to base this linking on BUS_DPAA was available. Apologies. I will fix this.