From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0080.outbound.protection.outlook.com [157.56.111.80]) by dpdk.org (Postfix) with ESMTP id C3BE7C502 for ; Fri, 29 Jan 2016 05:11:40 +0100 (CET) Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain.localdomain (122.167.176.101) by CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) with Microsoft SMTP Server (TLS) id 15.1.390.13; Fri, 29 Jan 2016 04:11:35 +0000 From: Jerin Jacob To: Date: Fri, 29 Jan 2016 09:40:42 +0530 Message-ID: <1454040645-23864-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1449242086-19051-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1449242086-19051-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.167.176.101] X-ClientProxiedBy: BM1PR01CA0020.INDPRD01.PROD.OUTLOOK.COM (25.163.198.155) To CY1PR0701MB1726.namprd07.prod.outlook.com (25.163.21.140) X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 2:p/zWdT893zSEeyperVgLPuO2QjY8r2VukAg2697OvN4dJh19Zu1ghDEPmoJnw2M53F22AbR56ZbUPPAFXuBdCTasSo5r51PM9k8M9Jx0RC6vEvoSfTkqo3l9SRqC3JbSflHYz9UXpt5p4BHw8Tk2xA==; 3:cqhXtJaSlC/fV2mMkkLaPDZU2T+VaU9flxci+b9XyQtzJKebvyc5nnCKrqd4WyDNHtyo99e4OJLPIFgJKQY4XFQeIEqLO5CkViz+6cA0W4Q3+EZ3B87mbTx3R503ZAhN; 25:B1dSTf8Gky8usEdWrV2UiwMCYNrCMw9Sx7dPXXA8zVdQUs2Yq3McquCh+cOGfSWX503TsIJ+c5R0MVJFqbRyVVF5LWvGBUqDhWDN5HiELrdKSrQUUKownX+r1bCh015Wdnny/XCrSWMP3+TsBncsiJR+w/6+jumL0/47cM7HnkAAbtw8iHKqKvv/qUt2Vvn8qKHP3QT2fkCgqwizHK6isA58ZMSogy6Nl2x3jwzmDvykpCMyHNk9vKRUSP8gsHhn X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1726; X-MS-Office365-Filtering-Correlation-Id: e24832be-b008-4f7d-bae0-08d3286248ab X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 20:lo59y3g7f+NlIQDS83LuHKY4IWUmRk0YsFl7q7Hp8lPhgR1nxEjYkZnztyrG3W80Tzl19Avubm36F0Mtcf6weWEFkUYwz6Hi69c6FBIzwhG/w+0xATt5BDC2QCuaYsZ8uqp5QL37AeWmXkJFEaNDZ5p9sAl3dMKw760ic4kT1eKMPqK9YX+e7TwpNq0UHXWGeigM4u38YLles/aKh4ER4yQGD16DjqdmbRJW3yKqzZwiSLU7vY43ITM9fJvnDmMgvf7CoRkozoy5rSmPtniR+hPzKICsW0/Nr9rml1nEHFAded4iG9/+0BWmSr9kt50hnwuLeBbPGYPB5WCsKlDs9kZJZAYRjuR3/2/NyQlU7HjDtdRwmJ8DnfI5TB38FrtlUTKhtekrpANui0jFTnXK6USqq1fIghgjCaovypZM73ziTn5sWQ1fBBsOAEmQ9uBxOstUF1aVR2F8V/M3hOj9gtX32MzgxVKlbpGpFOqK30JTWLRtVTLLzrq5xgSjIKl+WxuoF5O1THAeS748ARDxT6NbM8VjLkB5ftuKoV2tLkcoSATP37x0cyk9m1FZTvSY8A4zkzFZRdn4auP8BDizlhKJVpASHLTwyyARrFQxYrQ= 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:CY1PR0701MB1726; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 4:xP67arVXdTlfm3OI1KPqE4UkJoWj6CBqRkXSP7x8KuHFfSmxVkSz3VMhP2N/9CUwLRnHKtn2mHkgCNKvDdqNgj/tBVAU2f+Zit4kw/aovL71w2lAIZ0wQn9UswITnIfpGDUc8rsk776wkoxVsTcUP3Eg6+O1jefJyzjAo9Uf9e3IvWFrbw2G6jWjKHNko3iJvcH4NrEuH7wfQqHihCJlw5dnNJsUWJxBXQPqYW0SajdeSsqKZWc5KuZmxiA3IztMtUS3FgK4wbn/9ibnspA2OkKotnN0HJxjmepwZ3GgN/iianJFKGXyLeSwuGQ6NvhAyKOlY8rKvOg4ZaNLHbKkYZJv/a+204A8IMwU/PlHWgMYTgVgVxRWfs6NhhcurYZ5 X-Forefront-PRVS: 083691450C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(50226001)(5008740100001)(122386002)(36756003)(33646002)(1096002)(3470700001)(40100003)(3846002)(586003)(6116002)(48376002)(4326007)(2906002)(42186005)(92566002)(87976001)(107886002)(110136002)(76176999)(4001430100002)(2351001)(47776003)(50466002)(5001960100002)(77096005)(229853001)(2950100001)(189998001)(86362001)(66066001)(5003940100001)(50986999)(5004730100002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1726; H:localhost.localdomain.localdomain; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 23:Gpvo1ZiMm8mNWnX46m/534HIpjD4wveKWzAF5vZ?= =?us-ascii?Q?SIwcMP/fHmapU+G3GvUirHSfnftnnA9Gs4s7wFJ0ZtJIq9ArIbSLwD0+s6qV?= =?us-ascii?Q?giHKF8Ps61Aby+c9N6Q7+fXeKvSO9S2lCk10fyuBzVY1qVFTIc0/Y4hRLmAf?= =?us-ascii?Q?wViaZQtvzU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 5:a1oP3sC9/OEjA7uplHRU4qtMVSyMeeP0nhIxfRtrZaU9I64qepNUW6lRQVAjSlnM3FJGLxYgokH7bSNJb3moR4p/YLf+DIXPBGSJ7ntHoDO3lW0dsYNpfAg6q1spXF/3EocUS86RetPSl5MYGF39LA==; 24:5LkgiFqUCJSBko9OV9DI28U4zpf7RZJoaq3AssgdoXeB3eeocL0Nu93/gLuWJPhCVJDlg5Kd5Jpz55S2TnddV8gXClfhnYDyhQDoO2IFLRI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2016 04:11:35.1428 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1726 Cc: viktorin@rehivetech.com Subject: [dpdk-dev] [PATCH v3 0/3] add lpm support for NEON 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, 29 Jan 2016 04:11:41 -0000 - This patch enables lpm for ARM - Used architecture agnostic xmm_t to represent 128 bit SIMD variable in rte_lpm_lookupx4 API definition - Tested on Juno and Thunderx boards - Tested and verified the changes with following DPDK unit test cases --lpm_autotest --lpm6_autotest v1..v2 - make rte_lpm_lookupx4 API definition architecture agnostic - vect_* abstraction scope reduce to only app/test as this abstraction used only to load/store and set vectors in test application which is the consumer of rte_lpm_lookupx4 like API - support for armv7 apart from armv8 - taken changes from Jianbo's lpm patches v2..v3 - add Acked-by for 0001-lpm-make-rte_lpm_lookupx4-API-definition-architectur.patch - re-based to DPDK 2.2 -- fixed the conflict in config/defconfig_arm-armv7a-linuxapp-gcc and MAINTAINERS file Jerin Jacob (3): lpm: make rte_lpm_lookupx4 API definition architecture agnostic lpm: add support for NEON maintainers: claim responsibility for arm64 specific files of hash and lpm MAINTAINERS | 3 + app/test/test_lpm.c | 21 ++-- app/test/test_xmmt_ops.h | 67 +++++++++++++ config/defconfig_arm-armv7a-linuxapp-gcc | 3 - config/defconfig_arm64-armv8a-linuxapp-gcc | 3 - lib/librte_lpm/Makefile | 6 ++ lib/librte_lpm/rte_lpm.h | 99 ++----------------- lib/librte_lpm/rte_lpm_neon.h | 148 +++++++++++++++++++++++++++++ lib/librte_lpm/rte_lpm_sse.h | 143 ++++++++++++++++++++++++++++ 9 files changed, 386 insertions(+), 107 deletions(-) create mode 100644 app/test/test_xmmt_ops.h create mode 100644 lib/librte_lpm/rte_lpm_neon.h create mode 100644 lib/librte_lpm/rte_lpm_sse.h -- 2.1.0