From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0068.outbound.protection.outlook.com [104.47.0.68]) by dpdk.org (Postfix) with ESMTP id C7DF21B628 for ; Tue, 30 Jan 2018 15:43:13 +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=71WB1VEqw+Su0QsCJXm1H4h/Kq4B4rxDSI6BesRXgxM=; b=jLf7GwKxKKn1HC5StZr94ePWvvqt5FA1TarzLVpwdkg4oWzyNGX386U3YlJZ2kJdyEMnZ/syiKJOpxgCQRfwdOUW/YWkZG8CevbWoXbXfIrnRhXvmeqKQNICyX50HS8EMAuw0/ERoxVhUNiJNdh5MWPd1fhGoqsELuVVe6bnqUk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from [10.232.133.65] (192.88.169.1) by DB3PR04MB0763.eurprd04.prod.outlook.com (2a01:111:e400:9440::26) 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 14:43:12 +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 20:13:00 +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: BM1PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::23) To DB3PR04MB0763.eurprd04.prod.outlook.com (2a01:111:e400:9440::26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ffcaa9fa-708e-400f-e080-08d567efca15 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DB3PR04MB0763; X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0763; 3:ORLJgRHdYINDlqosAJfo/gal+9zpr2Ux1+xpD/BwtENZjzTU4Zw2g55UAifkGAp9D9Pu5UkwwtCswFgGw0iF2FYq2QGG0x9NGU8bi87Xc5/urrjuyWH803xEyFtDDS7w/k9nOBfjNsTC2Tx8pGyCK9Ojoz4FNqj8uoJ3Z3Mt2MatnkQw5rKUEPdYHGSdqcNUsOt8r7hlSZoIcJxTXZHfn06gIk4EjgTC5GWTvE5SIirJJA3Qbr9SpMHPuP/PDqSF; 25:Pawh9CoWBN2+RAPpg6thDPJdVSZhSufrEyBJFjb5D+bA/lFgcDU6SitqIAnC6N4FOEq+wNLvs32+/uL2SLmn9BP57m3Yjbt/bwT/8tk/sZrxFkGlZKATpL17bPoWh/yNvM0gouc8L1Zt3K5xcd1G3H3r71hS7CiVazPRVeMn5/RSkiCbkrf0cUdc8InuxQwuOYtm53x7Il6Cou3LmzDLVsGAhEJzrr7PbM6KetNCDodG9Hk1QyEflZQvWZk8ofIWNKFCmIBJiCEyS0OPxulhBQnFw78Wkrs9XxCQU5l4+j1mVIeifTz9XYlHsQDxJD9QolPvWuv3GBHK3ievSsMdwA==; 31:aUumvF49JfheOhXg26O9oTpBU7rHxY+AK2A+IuL6vPovXKUeYwrbGO5Q+aSQ2R/5qU63Kh4vEMon4qDyd956r4QIVDzZucQ9bXp+Y5JOU7xnQQLj+rrNOCMbnE+89lcyOkdZfJF6n68B0YzyRsdjv9o8G0Qx+yyc+03iFkAZxrkl6m3eQtb//k6P0tOqGSMkRjbgJp3yczHJz6X10hl0N2PiC5V22Vab7aI8rKuTVLw= X-MS-TrafficTypeDiagnostic: DB3PR04MB0763: X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0763; 20:iRUnzVmjiPhOkBEbaUZm2DdegM6fCtR0sTM9Kl5jJvl6L4qinsGmGwtzAS4KHhxaSNASWMR9J3JAbFvY4qY03xKONOEYBgKXisY8ccKRbIvmIAv1eNvOs3Pqz2Fe65Ms7K89oFLyqYfsvMF2UOBmBw0lEz73lJxbMy+eHCFLgwhKT4fq9OjWnx66713a66MzdAh+gwuzR3C3yBiAeq5gDE3qeUGsWnWnUda8my0DULqcpSPS0GAF2GF/0fusuOUy+YZ0aE+WAaRBkdE+ISfsDPfHFTLfHjwfgjhC4uywyfccFiYpOrTLMP79i4khI6iaYWGrorOpBQwbmeBJyZ36G12HS1SU83xYuGQsZULdkjkcCzHo0tuit3tFeuOOE6m1vIE32JHIy8qO6UpeDPmsq+YC/fbTgoSkJRJoVr0gehQ4EYB5N36x8HcXOxNhjyHpU4/h+jdT4rCrgVQX4frFdmyGLR3TNvPO1opn7zaxUSfnvH49TSMJf8PS+PVjZXH2; 4:NIEFq+OZZTZONmFSA9qM5rzgs9REhvo2gV2IJyhirLao8Zyyayxx/0YpH+HbPhmWfcjsh4YwEsqIqdJlspv0H/KD6wB/hknNkLs8rPu98M4QNXNECTC+XT8waMTqdFmJlhQgf+svPVncb0NXzinYDnPY4we5vH/c4AgUDFXIu99UDbUfWNu/FV0ceXRYUwjBe7wTZyyEPnJSYTQOChCriDN4Ko+vFr7JF6go/CsZh33ULIdH5JGySS+1EzN+qH8+JXB5BM6XmdMguWRLpDj287CZxrNaQigW3n2RIJUAVI1fh6aiYh+itWCqxQGeVEBT 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)(10201501046)(3231101)(944501161)(93006095)(93001095)(3002001)(6055026)(6041288)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:DB3PR04MB0763; BCL:0; PCL:0; RULEID:; SRVR:DB3PR04MB0763; X-Forefront-PRVS: 0568F32D91 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(346002)(396003)(376002)(39860400002)(39380400002)(366004)(189003)(199004)(13464003)(478600001)(105586002)(53546011)(59450400001)(76176011)(386003)(31686004)(3846002)(6666003)(53936002)(65826007)(50466002)(2906002)(6246003)(106356001)(5660300001)(65956001)(8676002)(2486003)(66066001)(52116002)(65806001)(6116002)(81166006)(8936002)(81156014)(6916009)(2950100002)(52146003)(23676004)(4326008)(58126008)(97736004)(47776003)(6486002)(16576012)(2870700001)(7736002)(25786009)(67846002)(305945005)(68736007)(83506002)(316002)(31696002)(229853002)(77096007)(26005)(93886005)(86362001)(64126003)(186003)(36756003)(16526019); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR04MB0763; H:[10.232.133.65]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjNQUjA0TUIwNzYzOzIzOnZBeE53bFczTGttUS9Ec3VpRU9QaEFmQ3o4?= =?utf-8?B?NjBUNmcxMlZMU2Ywdk04K0lFcjhhMVFKd2dueDJUSWxTNVJMZ2lJL3pTdFVC?= =?utf-8?B?WTMxeVdNMWZpZndTc2hrb2pkeHVhck5mRmE0dXhQRStTdTFMRFpZRFpQTnZy?= =?utf-8?B?b2Nsb29Cb1hBbDBuUG5UN1hQVWl3TlhFRXlrdHpYamgxYmFSYnozOU84ZnQ3?= =?utf-8?B?TkpYTVhkVDRnL0hvZlBVcXJ0NzB6cjF2dzU1VXRzOHluQjFkTTlHOGhpRG1x?= =?utf-8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jzIznmMtYkbbiHDtz/0mO4Jguf16Jj+4ikdKGLBlFYMZP83ybD1sbym5OOPzp1XTQqbJaJuPVoUXV/sFZsIHuKaL1aIAFWyveKKKxjP8WxZwLH8EaCXzMGGipIY/3Pombrq6KbEu9oscALbL0Ok3QfAIJ4bKJgb9uLc38lPHOOyvwPeISHQ/12/0zTOAbjuutZhzkKKhromS+zNjTf0pnxIGPG6KWUsKp+eUVuoc+VDgUyZpbUunAp5ebg=; 5:4rqu2K/sRWfXOrEabW0TPYPiSPo0g83PYJ3yhP2yHfPh4Hko0oA7X2JhiHbj6tbrbvDpQD5m9rRZCYJt1WHoTr45QBtrp0wrng/JBBIXRr6dYC0Rnz80mtHhLIO07IU6LpEtDoR/fUxHfqq2s/kHa9T6gvyD39eMdeIOxNjbOWQ=; 24:cseNZLoR0E6ny4JkSUTXRQpNPLwK0x82LUIOP1udPkLJp1l6a9g28rfYU2SfEtaXc89QwYGPjWQlYQr9u3D7VywNxfxAZBuHgjHROZCBKLY=; 7:CSDnXbYw9C9VyFaqsWcFm2u29aVt2lVCJDAYYmrHXW/NbrlsRIMwy6WN51GNRpuoVRnNqADwY0om9nLR10KD6mmgXx0nBe0GvsakuC2wuBzUasgsAs40UgHRhf7UoKetjSFmlHzttlabY4pRENyDXtwCku2BB+DSFYPvUvwQQqfLVvwKW74nL8FwcsoFwvFgL3pZdNLtghJDGcuT0S4xqzdoqPG8VqPGrLDV+zqGIMLnuy3tD0KLH3obDXmY2n24 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2018 14:43:12.1663 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ffcaa9fa-708e-400f-e080-08d567efca15 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB0763 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 14:43:14 -0000 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.