From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50083.outbound.protection.outlook.com [40.107.5.83]) by dpdk.org (Postfix) with ESMTP id BC2391B34A for ; Tue, 30 Jan 2018 09:43:07 +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=3k90uLA/cbpyDZMU5KZMOvt4Iv+0VZlYvmSXxVgrqmY=; b=lp+MQUo9FWPzdH8PqLx1drPD4wqFwKHzv7u0xF9hUMq6dTuEelksdC6gZMysYXovG3s8dV0NZbgK4nk9N1RtIOoUS7ZCUimx13XcHb22rS8ZARruypykwKI+YzZLR7UWOkGKOLynzMKyeTstcxATPB8xj2A33+PdhOrYifHFogo= 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 08:43:06 +0000 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> From: Hemant Agrawal Message-ID: Date: Tue, 30 Jan 2018 14:12:52 +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: <20180125112116.GA7771@jerin> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: BMXPR01CA0023.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::33) 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: dd6d175d-8adb-4ff0-0601-08d567bd7bf7 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:Xsj8DUrh11KbotQh2PXHkUueTfmKq3xx5AYFO1ppKBQJwp2GJR5/qn1bm1xUFhR598loqMTLQtDv/PPDY3duQmaDY6tmvn9k3HNKqEXb8VRbxIp4c7yeKdL607C06rNOJqu85f+WnUDhLWSSz8I7B33X8uljPGQw1n126IhAsKgQfTzxSUGw/DmuqqOfUvIErVuz8WbNaR2QYCFQ2yUgi+M4+NlUsJpsuQyVfdpLVv0Kw5SBXHeqsnWBdJbaeyio; 25:hxKkKG2oqROzaYiXPZzAnnuV9ejQoQfMdRucl041YpuQih6vd+0mmcdbGSnyklej3GNawJaNgCeguq84a1uG2mZ29gFj2p6DCpXzaRdsa+wPkmOolQfOkNED+de9GHwfAAi6gEWZT6dfwl2wqLljbxWVXK5nunU37LAJSJDdcZ/ISEr0w8a++epinTlKW+RDw8ZNjYx2kzdS5wBEVJJj1BHrM5XSMpb1K2uJRFh7tFYLTy+WQpaRm/GATW0U+UUozicJpeL+xkTgas6Qj/11Avamsj/Y06XyTz+BsS//cAKTFpKm0YZ7Qntu6ggprzXpwFzb0jGjAVTLJRb12xRpkw==; 31:iDJiWRPthCYHqUtDNRva43idHcR8haeWTDxfqb9X58c91pvFw14Dqj9KnoSM9rt2MGlhuf6+m1sjytzU/rZAPb361M9hsDGthM1bPEH7s9ieuZK4OJUrp1Z8XfVF2vqrFx6/4E1Fyet7qW8Wpzi7LSgX+SsfrjYL1g5d1l1K8f+yXJosH9e9U+8/4d6D1nLJFX3Ng0b7iJhPLTsY53w835ICQN8BRc/jS7ll7oxUU8o= X-MS-TrafficTypeDiagnostic: DB4PR04MB0766: X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0766; 20:PdlhgdgHHHXwHXD1pNhn3aDoSpVAYJVFKKa6CqfeTYsOuRuVrcJcngXUwgukFskMu4iOwYYwHJMoHMAxENTb11qBGkfFbRbM8nEJpCwqo3q4y2Fx3GeHWtwQQ8oiTR+O+NJcX4lJSPxrgPGAHA4grNf8shwfa8rSs2m/Bo//+WPnu1BPaPVxZQZaKSUmsxXXWbTgToC1usE9myHZlj0h7ahYvKS0IJBi99gXaqslyaBI6eElCyD33VZMsViEmt5AZCiVCikT+pElr/VdZkjnam1BUrzbZ5OhxMWO3weTUlWYJsI8nz4c8yBKwD5ZNyIU5TP9hk3g3PRIlAQVZW6gqDtNnbNqVTj4/g/E3IUzl0kVfkjRrpvY0jGkGN1LINu5nJIUzi8URvwuoIvlfdI3tA0GiZHjaEu/1IwdawGY46lKlZMs8eP3Hh064gqynKXm6Qbu+NWkq/hzD30iyDZ665eMSomtNsDJ2FgJZSFPtzY5IVebsphhLSj8BE0MdRgS; 4:9iP5z3ZL4tpEbJetvZUOi9fWZ916j+NCVycD0fj1dDghqSJkrKF+TTkAi05uurqCn7FRQjCi5mn2DS2aizN5xTK457xvlSJ5pBb8LGuyN4pXfcq0uWp06sBuktHpc6NoKDx/Dpslj4gHQj3nxtB0eytbRqb5v3cXJ3d1kVWVseh/VsPh/L3Sg1iYOjmTqTrQBKXIkCJ/u/Pa81eSvF52csE7fL+3WDRGhHF2JcGZ54nh9D0Ix5wFzMjEz5tlrsM9PpQy0x8+NKFdPA63Qld4H7aXprBED3OIe6A88gj4u+gq9cQCInmAkWVxO6jcoYC2 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)(93001095)(3231101)(944501161)(3002001)(10201501046)(6055026)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DB4PR04MB0766; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0766; X-Forefront-PRVS: 0568F32D91 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(346002)(376002)(366004)(39380400002)(39860400002)(396003)(199004)(13464003)(189003)(2906002)(106356001)(6666003)(3846002)(6916009)(2950100002)(5660300001)(229853002)(31686004)(386003)(105586002)(53936002)(64126003)(6486002)(230700001)(65826007)(23676004)(59450400001)(478600001)(6116002)(52146003)(53546011)(316002)(76176011)(58126008)(97736004)(52116002)(65806001)(36756003)(26005)(77096007)(16526019)(47776003)(186003)(2486003)(67846002)(25786009)(16576012)(4326008)(31696002)(86362001)(83506002)(305945005)(65956001)(50466002)(68736007)(8676002)(7736002)(81156014)(8936002)(81166006)(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?MTtEQjRQUjA0TUIwNzY2OzIzOmdzbjZQeWFlLzVqQ3BhaHRCcDRnRys3anlI?= =?utf-8?B?ZmNXN1cyenZkZnBZRWNjQVhrLzEvMkNnYkNrMDI4aE9vRFRhRFAva28vNzRF?= =?utf-8?B?UEdZT0ZEOFkwaDJiZ204TW1Td0ZiRktEQVFyYVMwaWVtREJVRy9jMHp2SE9I?= =?utf-8?B?UWlrcGZ5TTRZbzc4UENFa0RubHcvR2liNndOMGNOTFoya3ZEZVJoNFhBWWRx?= =?utf-8?B?WVNyYjkvZnVGb09BK2hPdmFEenRLdzhYVGY2RlZucEc4alhSZG9HWXpzeDdF?= =?utf-8?B?UGg5R0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XVLUNc3Sym4518+zWPtR2cTkQMrgJcz1yXe3aMeHAiUKb+V5GO63Ni1RrE7NgOXr5fafobF+LNwMcrqpI0ZCbSsLlv2BLg/lWHU0ZyfGcP07L+3KZj7/Pis6+WGBtH+4hcIn3UBMqlGoO2sKPFQdyij/02rfUlsDgLUJiywOO/i3K23XFwx9G/8+hRQ1tqAOyyGQaglMPTT5OEE83viczp3At3e3LrSqk=; 5:4oYtPKiGhvEExv56P6Q3Iwj7VTZOZWbE/eXhP2O35nkWncY1cS/p3EtfsDWJxGAV5ev1Y8XTtDDDDROGtgN+igmeJgRqzDaGpleQhvXX0ndBW3pc0JUVBb1WCPlw/xUo7SeN2ZsnpDxzqj+jr31Q5O8o17WE4wXs3WPsntghFT8=; 24:zUs0QJ1FeDVQGf3KcLejThRKaA8qxFIm4FUx/97wlPX+vzJamwmp9AE+a9bnscAYC9HrPjRdbJrll7KebdzrUNXRpFUFXyfQoI2BpU3IJXo=; 7:WAThvHKxxWZ/6ZpvrFy1Jqjvt0TRZYzFRPkf+vgfZguVHsOl8B4YAcAQa9SYCUH41lBpJaXIH9XBYJnu8X6KK1hRuY09TnbNB85SN/yVhzkAmKkqeEaRqn/Lu+cSZRA0IGnYdGCFhGMwB2y+HNXTMrlnjD0/RGf26jueXZHa06rR7suNJqPcZQVGJBCo3IZK0iytLxZLMT5yASmBaBZDIFb5ych5C1buTZDrVGVAg60B/7Xv1uKuZ0xKKHqTMpMH SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2018 08:43:06.1090 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dd6d175d-8adb-4ff0-0601-08d567bd7bf7 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 08:43:08 -0000 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.