From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0041.outbound.protection.outlook.com [104.47.36.41]) by dpdk.org (Postfix) with ESMTP id 25C0E1B740 for ; Wed, 31 Jan 2018 10:12:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+5wLt2Hlrh0xVG3B5ChRYinxaFhICPT6q6L9sE53bYY=; b=NLshyYKdzCwcbePy3/Sibhd/X+ZTED0XVmj1Em+Ty01zP2W8JdPaiYeQyf612pw//vmGDzG2hEGr3mOEruMjVf+l844xBji2FmBzBTwMEJUzUrsHtgDkAKbvJJZ0tpPELWtivIeuk9jvoVD8iHflZ950HBRu+GhQkdzIua7q7Ik= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.201.47.68) by BN3PR07MB2514.namprd07.prod.outlook.com (10.167.4.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Wed, 31 Jan 2018 09:12:05 +0000 Date: Wed, 31 Jan 2018 14:41:47 +0530 From: Jerin Jacob To: Hemant Agrawal Cc: dev@dpdk.org Message-ID: <20180131091146.GA7390@jerin> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> <1516874011-8760-6-git-send-email-hemant.agrawal@nxp.com> <20180125112116.GA7771@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [106.201.47.68] X-ClientProxiedBy: MA1PR0101CA0066.INDPRD01.PROD.OUTLOOK.COM (52.134.136.28) To BN3PR07MB2514.namprd07.prod.outlook.com (10.167.4.139) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: df84563a-c7df-4012-3652-08d5688ab36f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 3:My4IIzNi45mFM4+Q0IyzaJjShsI/bg4jZdG5lLOqx7ZHklNzDAIrzG+MvmHEzWfzOj9wHkSHEVTAfnL9HBTtVBaPlObpexUU47JIEKTN5K4sbZK7WSmO+NY4Fpb1iU9eJxOZt2+toN9QfsPjeRbvKUixeEe317pR4UnU46XJRuPxuebCj54e34VfrK7Qs9eIculq6qWHVsWp8wkxDgWo/jamadrExnzn5fmLxXqlALPEyhuMOcEgfr/4NN1z3kPe; 25:Hv7aSZ1HIh92LO1H24fRQUNgF4unkYNSS1mZSmGn7LjFqQY/Z7V6p+zicf4EOoMYywlwX66ciVZVa4Daa9HCh61h7d35c9D2AeP6iEl4QzLpgkDDeVbTpp9SAR/VKSrxefOHJTeqQiNu2iBbmfMjfnTLtt/G7ZXpElFxrwvGAUvI+ZsDwp+tKdjrXrLmhuJS4EXe8BecYAx2luepzGWXipR0aFmxGYYPGOgQyZPSjAtkxMnsgVfDb7SWeTGW7g0BvO0EqiEaxDS1sSR+8QEyUzhDC2dqt7XqrhsTisZnnLzcN16T+uzO/40STsISNpFONcvwotm84/17F7CB5XjjBQ==; 31:UQAOh9B12Cojrm9DiirMIlZYP44MnmDoHs2TXHc4CwhI1WLYbKZByy3GhFdaQwo6os23WKOniUq2gVnPCJZy81eejrlramzPqQBUSgY2PLeGeKaV5vw/VUDQm8Hgh0D9r/UkVdN0gLM1IjX+uedZuN91ARGmwaU3SuXAdJd/wNCPA0C3CWACFJrem8Z8XQOC+nmoMVzgSeJAH1AtuVmBWxRQ/bIgkA3QiHYFMwr8cIY= X-MS-TrafficTypeDiagnostic: BN3PR07MB2514: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 20:p9jw0q7wUKksOCXJQb+DPj19S2ebrv8SvJy9kleGCqESwhXjExMX6KGJjAP9JZ/ault9o6yEIe1nEyvaml+D6/O17CdqtvhaJJd2VkoV8thublqqHbn6FJP3jQmYNOVahNs308vJO5U9p+tuc4KRK+gfLGIGzVX/8BtkG7MJQ8F9L7ivcO6ihXLtanVCEvklemhFgBDH5DVO+l1HrWN9+Pkrga/K/K5+o7NAuCKz6tOhHcU9+hlJvJEJihbKE/wFDtrlfYoAOz4bbp+krjVh4wYkKNpjnf8CN7pMSXnvy13B8kLpQcF7hE5Hdl/9ToOkM0DSkboPLntGM4H4rNRqtvpbtRNRjAhaCfDQdCLwgPtPa9GuqbD/S4SWmku4zetfnPdOWM4HiF4pGU3sj5V4zQxUAWfg6m3rYAsgH/d6s51w5FyV8AAO5QaraT32i7L8lKbONmEoWyShLOi/y3tzFA+1LbhKKQ0AWkW2xOzMykb91sHeQm4JYeVICDnR+vmfl3Wy9UDtawfwgBD0CGhLQlGj5TtCvXZh6zpWvQ/0slLr7q2efRISFszsTuiXPjf74iPTRokjjqowTrqlSfckFoGmO9GRbDWNjYpQeSvJbeU=; 4:WHqvKCVcq5R8LNxYDMSpPZlGPnYKDN98sY038cZOdgut5aP0pEFJUo4ZPsH98V4FIpLOARRGwhDpPRD7Luh+COEF2w9nSqB0c5dmLzpJnxtDewzco1xjWVkSPAHGFLrjZSzgOhyear6n7Exjp+tKDoN990ewqxOnY9hYSUJ3AA/FMFvmHakujBu82IlDyb9cE+wRJ+t9zsfDcmrOVdp9x3thJvE4lE1mV9s7VX5IiYHlxkfGmeqQiauvuJ4AfazGdNXGnuPleHG5tNycgW7FMr2GLxXXov8W/7KIL27vK/rkXvtxPC/XZk3i72ubTpWi X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(3231101)(2400082)(944501161)(3002001)(10201501046)(6041288)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:BN3PR07MB2514; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2514; X-Forefront-PRVS: 056929CBB8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39380400002)(366004)(396003)(39860400002)(376002)(13464003)(189003)(199004)(305945005)(93886005)(26005)(9686003)(23756003)(105586002)(5009440100003)(72206003)(4326008)(2906002)(81166006)(81156014)(8676002)(58126008)(106356001)(53936002)(3846002)(386003)(2870700001)(33896004)(229853002)(186003)(59450400001)(76176011)(6116002)(55236004)(52116002)(50466002)(6496006)(6246003)(7736002)(53546011)(478600001)(8936002)(5660300001)(66066001)(1076002)(97736004)(8656006)(316002)(83506002)(33716001)(55016002)(42882006)(6916009)(33656002)(16526019)(47776003)(68736007)(2950100002)(6666003)(25786009)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2514; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; BN3PR07MB2514; 23:dhX8jwXZyR0KCY9E6teUWo9Lc3KSHw6t6cTgWRi?= =?iso-8859-1?Q?dOUl4N2l942ueLr5J9MRXMIbMrPDdG7VzkUt3Hew6b+7HRhM83T0gdOSsG?= =?iso-8859-1?Q?mjvdFb+BBuQZmiOwEZNM96T7e2Sh07RusRyY22RmUAgKbZ9Uj/L/GuN9yN?= =?iso-8859-1?Q?lDUxkXia8+c1MsxqQ1TrxY7oVvG/ci3pbC4NK0KFF7IHay6jz6Ml9iAAcl?= =?iso-8859-1?Q?yL+CnF8155ltBLcauc0kljYGoqTg42X9u3RgXQ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llyQb15QiRHOXDCkTviQJL1pOk+qzRuIbKLgmYoBs2AlHGOLgN8Ld/qFaGonxgh/Ub6xNk=; 7:BJFl/2qKg4Xqv18JyrAekKQyGCB/+dXBsUr8GhXzNNB5EiadCcaccA4U8fpX19vXgRlFtFm4g8+aWBU5Et3fCQ+r6zA2oURWJyTZKhP9CxWiKg5w2AwWgi09T3aQEeJaHr0Fxug0N8uM+KemC9wWmTUys1Fsnoj6jDh9A3PuboovKWVUNEMoR9w2kwY09FF/122/GN3CzKiVJhZ6EUo6J2qlCFqczZb6o/LglTPYsRmKit/MKhSZMMiAX0ACm0mO SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2018 09:12:05.7353 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df84563a-c7df-4012-3652-08d5688ab36f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2514 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: Wed, 31 Jan 2018 09:12:09 -0000 -----Original Message----- > Date: Tue, 30 Jan 2018 20:13:00 +0530 > From: Hemant Agrawal > To: Jerin Jacob > CC: dev@dpdk.org > Subject: Re: [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.6.0 > > On 1/30/2018 3:03 PM, Hemant Agrawal wrote: > > 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. > > > I think, we need to leave this patch as it is for this release. > > We are running into freebsd issue w.r.t common_base > and 32 bit issues with common_linuxapp. > > We will do these changes incrementally in next release. OK. Please make these changes in next release. Even in the context of meson build, it make sense to move common config. architecture specific config should be just arch specific things. Please move to common config in next release.