From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0063.outbound.protection.outlook.com [104.47.1.63]) by dpdk.org (Postfix) with ESMTP id 7C4DB1B3D3 for ; Tue, 30 Jan 2018 10:33:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AOO8xbiAIMxmNtGcXgwON0GDjHZlB284AZ7L8DoOOWo=; b=RqoEd2qlcngGYjT4PL4n0sV3hCyKwhqL8fbEqGBMDshKJJVlPp1bh0DDd7sQ5GBq/9eic6te0uliTBYRmuZxq05VQlN4fW4imtUSjdB4i0cqgF+AVR4YwLCop9TMQ2nUfuBxSVmIBb2UhrpCkFiXLYtLUiCBBOcCV3dh48hK7vI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from [10.232.133.65] (192.88.169.1) by DB4PR04MB0766.eurprd04.prod.outlook.com (2a01:111:e400:984d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Tue, 30 Jan 2018 09:33:34 +0000 From: Hemant Agrawal To: Jerin Jacob Cc: dev@dpdk.org References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> <1516874011-8760-6-git-send-email-hemant.agrawal@nxp.com> <20180125112116.GA7771@jerin> Message-ID: Date: Tue, 30 Jan 2018 15:03:19 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: BM1PR0101CA0069.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::31) To DB4PR04MB0766.eurprd04.prod.outlook.com (2a01:111:e400:984d::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1b180537-2131-4006-5f5b-08d567c488dc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DB4PR04MB0766; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0766; 3:nhNrmBYra7m0GE3A4jjYTNg3uMQY5FEeoaUApIpS++PIl5LfDwCRhmy5Cyds7cPFdQ/XX7a5AxiEF5Hg4qteWHZf8S/E0Z1crP+xy4iYiozPmX6JgKD5w7DtUcWUUXd3cfQKZgHVKAcj9a3OdS88wdtOjvZX95GZG96F3zBuHRb4vaR2AFaHe/6BtXurx3IjiNbhRBoktRDeA/vqKXiPkxVMk9gSkl4ZD4WC3Ph/bGcUbE39pyg3JIxM1B9StxRr; 25:Nwb19CwLd6rrcdEkGXTzrD3li0WOCv/p8jMhFsLzooFOqh18bLQRll3EnuHNOfP3JMEaXpp52/0rU0Z3fwYCIlaUaV4cFCma5sTZL7p8vi8ZQKQjd28HpGyet0zn3W/GCsAoJ8M3lhinFeIPl9iE4W1v25f3TxhrbD+eOsM3L74y8moBUEJihHjxQTPcy+hxTUaWTE2kTC3P77KYuqfPQscMt2t4vngWRjNduGx+NFONxHNcuJ6Ij1XxGfNPeQxv3mPn3nuWT37yChbWu4XkQgVLFJYPRpitohR4CuAFv8OXn4PM+B0vE+NbxKxb0QGavyF0nKse5wgpT55QlfeRCw==; 31:kGs0n7VuQi9Y5BxISwWWAPEgOXd3+u6Fc6PTqg9iY7Gmh/n100tR+/Mf76QZsbfRwFuy7qQIioY+G7g6vtMlV5evODYo0l72WW2bSZvGDK8QO98Whm2axsY/L8zxly0GxD+lAvwrrDMiOMQY+hnHooxuiUuzd/sWYD/lc8LwWrI30a7ehZkvTbY/hTSg7HDdg2misbXq7TWuV/G0jGBkygklvCcz/R7F8nhMF5WVh9s= X-MS-TrafficTypeDiagnostic: DB4PR04MB0766: X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0766; 20:htcJ1+RifMh8gF2pJM4vTz32xRw/WOEtKkqgjRkBYyhIb9/vHse1Ho1G9QKjw3QMfDKJxhAJU0zaJ1Vam16HaEyU39HeDjvq7HpzvXCYVFZ6wtN+N12ctFrc/3WKTmajdc0H9QbPlm6t0O0lyVqUg87cCnxBNR/IOHGysd7uky1ePTspkxSRkzHrU2zTScz5qCZacHE0fUuAkhntYK9Sb9JCgPuK5rClQSX7sLLh2EMxck5iAbaN/eEffrVQb/HhubNCwrc2Py2n+hzGctmS4mJrnEljyQkHXHSSMiA+GT/9gSnVjJAbBCAZKtpU4zTTWE14XIf8fowqLkOV3azN9uktPBU/1xfk4D1CzXlgS/lvn1ZKpk9EEDFIgzxGJJRqW2bNvBWKEXK5WAHnwBZg20/iFraYfnC7BwTRqDtSkI1NSyD+GrENeGNBqkYQvOyykyqgISEy1hA/E68JHb91I5hpSkM65cAOw+letWopRLm9FVyUq0AkIZUsSbiXZLj6; 4:hOVQS735Wtu2LwEzfogHB7G5UJ4viLbRYHf20YdOT8uXBfuOX/p6LzKm16ZfrIFR4j4nIrKfsLTGhD6Oz/cyTXAViff/tYXvuUttnCsGzd1YkD9SDf3Cb96Fxja5Z8QmnJyYghttiWr3t/CHAS1gq60TOLWn/cvEr8Yqz2O7AT6/RqPu6Ucv2D2blKmwS8nE93MYnGnF3QjD1LjDSS+YYYkD7WB5/RYqIpK7FRYixNtdkvDg+AVG84eUEf5QEYM5p7Myf1LggaWThwMO4J/yPgO9C4buWPgCyqU02n3ck+L3VrGbiasSCBqsmZvbxor7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231101)(944501161)(6055026)(6041288)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:DB4PR04MB0766; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0766; X-Forefront-PRVS: 0568F32D91 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(366004)(346002)(39860400002)(376002)(396003)(39380400002)(199004)(13464003)(189003)(2906002)(106356001)(6666003)(3846002)(6916009)(2950100002)(5660300001)(229853002)(2870700001)(31686004)(386003)(105586002)(53936002)(64126003)(65826007)(23676004)(6486002)(59450400001)(93886005)(6116002)(52146003)(478600001)(53546011)(316002)(97736004)(58126008)(52116002)(36756003)(26005)(77096007)(16526019)(65806001)(47776003)(76176011)(186003)(2486003)(67846002)(25786009)(16576012)(4326008)(31696002)(86362001)(83506002)(305945005)(65956001)(50466002)(68736007)(8676002)(7736002)(81156014)(81166006)(8936002)(66066001)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0766; H:[10.232.133.65]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjRQUjA0TUIwNzY2OzIzOm05Q1Z6ZVA3eHIxR2c4UDkxQUg4cy9jdFpx?= =?utf-8?B?WVYvd084YTc1OTV6R1pLWnJMWDJ4bHFXWXZpTWVsWXVBaUpzL3Z3L2VlZTlz?= =?utf-8?B?YU91K2hITU9GR25PWDU1cDZIR1RmcXRqNHNSOU1LYVdDRkYwK0cyNEFxNlBy?= =?utf-8?B?K3pBRjJCRGIxY1lPRUxDcnJMVm9LTDNWakQ0YjUvZ3Y4cDkyMmMwOFJEYjVs?= =?utf-8?B?ZzdldUd6WW9hMFpZSERWcGFneWNWdVRvQUxRa3RDZFdGR3UyRllFd00yek8v?= =?utf-8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mG9vCQFOv2WwFYIO+XyxwIvO5yo63UwahW4spiqIZTeO8o4sYKtKGSnCiru+NH1Hsuaj+W/g9f5sEnNmCcnfaI0PGFeq+5rb3naZ63BlQ3BKqRwdxceDk8CptNjc7xAjLs6QCDEor5qt1XMm+ucQaVvd5TlvQe8NlvgiPHwrn+0R77XGnQJbgpAz6Cix5ldSDqKC0UT3iPZLN5/N1zrJg3yix4mTDbAf0M1RfJFhaUdWblcUWeWdadVPik=; 5:QoRrHkOYHl6C1Aj8tVs+sf5JsDCoqMcnvMMzMDnmmtpZLFpcjUCq81Mg59F2MQqDvZeV4UYDszi+Tn2w5gd0MLWsxQqJ8u4XiCF+lX23WJqZ9ieiGaJUdDE0lD5WzdBacuPAg9CBN7SzwYdO9cqx7ZQ52hnk6zjeOzAtAyL0Et4=; 24:gQX00nNPj+08Gtkruy630JclBgUTDSPll8LHQC4+0bx7nDvWhn0QuhCLJXmdU6QE6fzMDboKAMZAqqW7nmg/p4sATZjtFaq/ck4LfnKJOXY=; 7:8fdoT9/Nxxqf7I7WMa9AYqyw11vtNMqCQ6TMG+soU8/qb8dYJlNyVXHeYxQisJXWHfff9a9eLPeVlcd0YCjdArj3rTaGDq8ahIA2qwrFrwW+xsCw5SXfagQ5UFIkg2fIiu+dHzra6b8OolUNlI8qUweOCW0V/+0R6TJ9N9Tsji7MJQudG80VjBagzKH7WT1IfHchkYw8Bzb+eJ3DZJe6sc7iVrBD8dCTk+0EvicKNBm+6CbcDCufFib/DEGXaRQe SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2018 09:33:34.2219 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1b180537-2131-4006-5f5b-08d567c488dc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0766 Subject: Re: [dpdk-dev] [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 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: Tue, 30 Jan 2018 09:33:36 -0000 On 1/30/2018 2:12 PM, Hemant Agrawal wrote: > Hi Jerin, > > On 1/25/2018 4:51 PM, Jerin Jacob wrote: >> -----Original Message----- >>> Date: Thu, 25 Jan 2018 15:23:31 +0530 >>> From: Hemant Agrawal >>> To: dev@dpdk.org >>> CC: jerin.jacob@caviumnetworks.com >>> Subject: [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 >>> X-Mailer: git-send-email 2.7.4 >>> >>> This patch enables the NXP DPAA & DPAA2 drivers for >>> ARMV8 targets. They can be used with standard armv8 config >>> with command line mempool argument or newly introduced >>> platform mempool internal registration mechanism. >>> >>> Note that the dpaa(x) specific config files are still preserved >>> to continue customer support. They also contain some of the ARM >>> performance tuning flags. e.g the default ARM cache size of 128 >>> is not optimal for NXP platforms. >>> >>> However, these configs will eventually be removed once a dynamic >>> mechanisms are developed to detect the performance settings. >>> >>> Signed-off-by: Hemant Agrawal >>> --- >>>   config/common_armv8a_linuxapp | 58 >>> +++++++++++++++++++++++++++++++++++++++++++ >>>   1 file changed, 58 insertions(+) >>> >>> diff --git a/config/common_armv8a_linuxapp >>> b/config/common_armv8a_linuxapp >>> index 790e716..572db11 100644 >>> --- a/config/common_armv8a_linuxapp >>> +++ b/config/common_armv8a_linuxapp >>> @@ -34,3 +34,61 @@ CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n >>>   CONFIG_RTE_LIBRTE_AVP_PMD=n >>>   CONFIG_RTE_SCHED_VECTOR=n >>> + >>> +# >>> +# ARMv8 Specific driver compilation flags >>> +# >> >> Will it be better if it is enabled in generic config? >> >> If you have any assembly code then you just stub it for non arm64. >> Since these are integrate controllers, I guess, there is no issue in >> stubbing the non arm64 specific things. >> >> I believe in that way, it will be maintainable. i.e there will not >> any case where arm64 config failing but not non arm64 configs. >> >> On the upside, The common code(ethdev, cryptodev) changes will be build >> against your driver by all the developers. > > It is a good suggestion and we did attempted it and realized that the > amount of changes required are more than expected. > We will attempt it for next release. > > However, if you are ok, please ack it in ARM for now. > > I take it back. I figured out easy changes to make it compile for x86 as well. We will submit the v2.