From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0054.outbound.protection.outlook.com [65.55.169.54]) by dpdk.org (Postfix) with ESMTP id 05D5B2C5F for ; Fri, 18 Mar 2016 11:52:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sjEr9QVQZIh9j/JOJWAt0tcFr4UJkgbySAaE571lf4M=; b=IO+GtQY35MSjukgIVm6Hb86Rk0qeRuCTq/eQMbNJVTVifWWV8XBjmdZTQJFheCNd6WMH+RS5P97EflTt8DQmAcGfCESfHVG6XYY7MDiZLDcfXIPB/gN59EnLHN0LMzNVIXcKSmS6hcLbxJx9k8wP/ScdFtsqxtAFqn7LuzN8t+4= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (111.93.218.67) by BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) with Microsoft SMTP Server (TLS) id 15.1.443.12; Fri, 18 Mar 2016 10:52:21 +0000 Date: Fri, 18 Mar 2016 16:22:00 +0530 From: Jerin Jacob To: Thomas Monjalon CC: Tomasz Kulasek , , Jan Viktorin , Message-ID: <20160318105158.GA13693@localhost.localdomain> References: <1458293807-2604-1-git-send-email-tomaszx.kulasek@intel.com> <1458294767-5996-1-git-send-email-tomaszx.kulasek@intel.com> <1902439.xcempkFplY@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1902439.xcempkFplY@xps13> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0047.INDPRD01.PROD.OUTLOOK.COM (25.164.136.147) To BY1PR0701MB1724.namprd07.prod.outlook.com (25.162.111.143) X-MS-Office365-Filtering-Correlation-Id: c2f0ce09-3104-4a2b-d1a1-08d34f1b6326 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 2:GS2ofYzD8siLgJQEaQcbep8W99e0XpES4Lrfgg9Fpf6annAN2jzZroWf54jpdp4F1a2BptiWPSSV23RJaqbP9anfiPCy+qEM0TDgPxfmr62BQuk5VxhLapiJXPMAVs0VexuL6YR3HIKnkpQl8W70Bi3VG/dWRIIXQ56HpvS0LhCt1EniY/hsEuU8pxNEkNvy; 3:9faa6/7ukKPxDS7zDt4vNd2/xrPQegDtDn/v4NH8hYuOHdmu7eDXbU5Ly5WIk1Az5m/vnbcc5JWW2n25IIN1qfWwpkc7LmrIG8G+d/wDPkIf93xH1dl3kHd82Yrp264Q; 25:/UiA7o0gXoBYQeSYS29NkZCMirVpEVRQ5/BqHDdGTSZSSjltYar8328QLpz8tsUBMWm3eFPbFQ/eyratbP9qhewgTPtNhTpXdQTvFCFwvOLwLKeck9bAZFjqbBRbTPBuSy35Qvxy3hxTvYvHF9wAY43vETvWaPJhxSntINpX+fUPoU9wO9gBV8Q9ozXWp5JrqfgrP42kaTouGKK1bQU0sNxRncv3UJQ5bHBs0wbVzqyBOH/+4q5klO6/58spIEdqmJggvhLFgA5bEg+MPlG/SSj373ZZStTLWx8vU9Z6ITGgTsHMYP+KvHinXgITaPxhCaPrnOoBGSE6WIm6z44ImbJ/8Zrnx9ZVcwGqxF5apGev83czWBVl0GmrLGhQZ/+yCegzNl1RoYLrCwUzvhWKb/dWNpWhbcHjN5bwQ+5hq9FNKs/pHS0QoalPTp1qpvNuchyRQKzP2cL29QWVXvEgelt+yH6iGrLXYdpf2Z1eHRkdkUub80Xgqo7yO83hMdiVpH3Flo7TmHoUAxSOV7yHaoLzqQyhpIXdu5irHw0Wx8c= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 20:kr9un6XGjfKjHL7OPlIRM2dfdcXDL4sN06Wnp3ERM3a7IDONV0kc4krpgRdiDdfrNYiNgCKMS/eZvsRKAAcv/FWk39RhSOnukXXbL4hsdTn6b07B110FXcfZfYGuzRfiqDkV37/A/9EYVvusE+4ICtbUi287e/qzIVTI8QF5olMNr4bZG82SSbANhO05cZTphkOA5E0Uxlq4C34s9Ys+9kNfAos/gt+F7FQKrlWuDOyfv+9yOoEDtXUD1lmeiREgcayu70uY28dZiNzo+bg2O5sZicxuQb2lOryfcg4oMwtI1iFeM832fx27xsaDl/j48d29t+5KbwxhEZY4fZ6e3UMq4r8jKwfmKiJ05t1BP8YwXA5sIeGx0aNdkuHp5M4VW42JJHB1+b8NgfTcxUl6+pkASFCzyEZSSQkV6zsJguo7P/wNulHBbxiXaTZeoUO4yyjEY/+kR09V1pdM7MTm8yBS9NfONQ+2iQFQNVrMmH48ysHZNUwaNNgGREkPnTyOGk624C010tRWVS2cq4HQSn+SMyoOoKB9PZySnSYOLjg8ys+qNvVgVdJ4O2RCCzlIa0UhlUyRj8chTQcjqi3bgyF9v/RKSeImyDseOHnC5ew= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 4:yD6MJL7szkUZakXFWMyvsuZ7JrR1oWeX2+oBCghb5DZEfXuuAwon9RlVsRp/u7BqSxUr8X6zYifTkFD7mrPckMCEHB2kQ95tGn3hAcDvrY3P0eLwwqjshiW5O3hzUSlrSVH3fKQPmsldG8mmCveq+0/eMsIuMdigJMZA5pynFMruFUsPLKeDh2oPJ8xYUuVI0dHdqh+c54b4xYsRHhZMXq1Tq44f9p3jwjThm2AilIF5UB0Sbl2nQSaULbBMs+kptb1RlvK/mULrmfbArIeGoiIoiwYhr5vkvIgLHNzcFdIKTHCzXgdviMT5rxTRX2kVetWHsKdBq2aoASWTKWdcVs8HxixQl9nmP5dVjJjoQ0D7y3dJ8Y7vbEDNZ1j/oLvi X-Forefront-PRVS: 088552DE73 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(24454002)(377424004)(2906002)(2870700001)(61506002)(81166005)(4326007)(66066001)(47776003)(77096005)(54356999)(76176999)(50986999)(42186005)(92566002)(586003)(1096002)(189998001)(6116002)(3846002)(1076002)(23676002)(5008740100001)(5004730100002)(83506001)(2950100001)(50466002)(110136002)(4001350100001)(86362001)(5009440100003)(33656002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1724; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTFQUjA3MDFNQjE3MjQ7MjM6M2RqczRQdTB4OVJBWFhBY3dJd080eW01?= =?utf-8?B?OUlIazdYVTU4ZWlzMkFpejl1dWxIYzJDajFIK2lBd0ZjV2V5VERqM1JDNWdu?= =?utf-8?B?ZzJCbmdneEErWmRUOE9VZ3pKODBmdXJOUTlTRjVmQytKNzZJZDFOdGRTQisx?= =?utf-8?B?YzAvMzhORUNpUUZhRVlLTUdJOUtsYUJmaG9uT1E1K29TRzlUbTJMd0k2S3c1?= =?utf-8?B?QUxBSWxaUW16U2Q4d1NZaWFwclRIZDhycmh1N3gyQ1JQSkt3L1FqaUk4Z3ly?= =?utf-8?B?R3FWVmFJWXlwWWVOVnREMW5WQlpvUzliQUNrQUc1UzdNUkx5ZlZ4YjF2VkxY?= =?utf-8?B?b1piekpWcVkrY0FqMmNrS21SYjF2aGFTWmc4Y0YrZzF5bS9mREhqdkpkaHZX?= =?utf-8?B?T2RrZzhtbit5YWJ3OXR5RklsSmxXRUVtZkhidnV5M21rZGw1N09KVVR0enBq?= =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ange-Diagnostics: 1; BY1PR0701MB1724; 5:26po90mAE4j/6ebvNMIEeBfK635aiJmauBcaZ46SVYKjvY+2lx7GIZp+GiVOd7Tu/vaiJDNUO23iqn1jdCVJ5eSPHg9AMMsnhl2FjXlSWKuzRfPEq4HXWqhOq6H3C9CLNrZW8N9iKk7LEIhuIxFefA==; 24:lfTMI/ZYHbN6dA9cWHbYvw1UEp11rAuBWHkzmQCOM2FFtOaTLCWLcE2jBBFd2ZjrAUW4E0QlmwAGBjOh81mOJyg8/xajNZAtxai3NWf4odQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2016 10:52:21.6350 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 Subject: Re: [dpdk-dev] [PATCH v5] examples/l3fwd: em path performance fix X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2016 10:52:25 -0000 On Fri, Mar 18, 2016 at 11:04:49AM +0100, Thomas Monjalon wrote: > 2016-03-18 10:52, Tomasz Kulasek: > > +#if !defined(NO_HASH_MULTI_LOOKUP) && defined(__ARM_NEON) > > I think we should use CONFIG_RTE_ARCH_ARM_NEON here. > Any ARM maintainer to confirm? __ARM_NEON should work existing GCC, but it is better to use RTE_MACHINE_CPUFLAG_NEON as -it has been generated by probing the compiler capabilities. -it's future-proof solution to support clang or other gcc versions in future ➜ [master]laptop [dpdk-master] $ aarch64-thunderx-linux-gnu-gcc -dM -E - < /dev/null | grep NEON #define __ARM_NEON_FP 12 #define __ARM_NEON 1 make output aarch64-thunderx-linux-gnu-gcc -Wp,-MD,./.eal.o.d.tmp -pthread -march=armv8-a+crc -mcpu=thunderx -DRTE_MACHINE_CPUFLAG_NEON -DRTE_MACHINE_CPUFLAG_CRC32 -DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_NEON,RTE_CPUFLAG_CRC32 -I/export/dpdk-master/build/include -include /export/dpdk-master/build/include/rte_config.h -I/export/dpdk-master/lib/librte_eal/linuxapp/eal/include -I/export/dpdk-master/lib/librte_eal/common -I/export/dpdk-master/lib/librte_eal/common/include -I/export/dpdk-master/lib/librte_ring -I/export/dpdk-master/lib/librte_mempool -I/export/dpdk-master/lib/librte_ivshmem -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -Werror -O3 -D_GNU_SOURCE -o eal.o -c /export/dpdk-master/lib/librte_eal/linuxapp/eal/eal.c Jerin > > Note that there is already another occurence of this compiler flag: > examples/l3fwd/l3fwd_em.c:#elif defined(__ARM_NEON)