From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0094.outbound.protection.outlook.com [157.56.110.94]) by dpdk.org (Postfix) with ESMTP id 406BC93FA for ; Fri, 12 Feb 2016 13:29:27 +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.12.50) by BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) with Microsoft SMTP Server (TLS) id 15.1.403.16; Fri, 12 Feb 2016 12:29:19 +0000 From: Jerin Jacob To: Date: Fri, 12 Feb 2016 17:58:40 +0530 Message-ID: <1455280123-9311-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1454040645-23864-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1454040645-23864-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.167.12.50] X-ClientProxiedBy: PN1PR01CA0022.INDPRD01.PROD.OUTLOOK.COM (25.164.137.29) To BY1PR0701MB1721.namprd07.prod.outlook.com (25.162.111.140) X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 2:kexowaQCE4WXlaludo53GgxeW+9cGyBhbw4oVEKjbX0YJGSDgUM6B36q7YMLGJhpwjza37nFH1SXD/5DOFkUB4cMiicfx/IQwZDocMsF1t0yIGWm2pD4v5HKjgdfdnByxrDv5hCR3qM/9cLyt65tGg==; 3:32//PhYwU57Bp0tjQ2Y8+jCdR9+Kq+3iXkXw6Z/f2BswliED10+WbcANssQNBn/EE0EVsPOkp+QNAoaR1p1y++V6knsLbs5FZn2qKSa4Q+7ebpqqrY8hbtueGG6x6gvr; 25:DgYPQ3mZWVHlScmyLY+8r+DRBpj9R/nHl8r/NvlcVsN9P+rMThSJTlSM5MIF+g88XRgUm27GpNQzmAuhVbCh/UhlK+oS6gSgjCf7IZbFdrIUF9BQWZLeQKo7lFrS49e8w6VBYPuofPxHj4A9YdTM+P4ydihnE5otN6vDjlrZfuQwiFJcDAFw2MQqrnX852IK+0LGtfHNvTqSHID6B7Sjo2oCK/zK3uUxur9catjdwoUS1cXM4CD69/g4k9q4S8FFh38y0/Si85kO7jKapANtPM96xkCdgvbwYTtvgE1Sc0b9bWWR55itGmeFcTMwCjK+ X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0701MB1721; X-MS-Office365-Filtering-Correlation-Id: 42f3fd53-18a0-407a-a591-08d333a82318 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 20:dDGGdKeFb7bZbEQRL5tkXl0dEub3ueOVmKrEcNC04sBdScr+AXxVWnealUBCaeGTttjHTGdvngX/WTk73uvpQPpekVp64QUmOyRBY7WvCfm5oJKCXD+AJBg303vOjwFcozCsDq+gvrp3c/P4q3A1QNvWW4bICFDo2GFxwmHUlCGcDNLTUDBcfXFMV4k/mI//pW0QmS1B72J5csudQBHyJcixy1lNLnZvBQHy9XKxwjfiCYEGNqkKk7aDOVZzEBQd+SztpbNKkHvG9/2FG4lIxLzgkZATsAFHykaVtNNvA9FdZIIjKt3kBE4uD2IYYTqCT0F5oxMYUr4Y8bDLEa8aVvqtMG4qxHGiqNo+eZktDfJEaFmjUpniPOdDrSxQth1GYMytEikyh5YyhwAZFk88OfU4CKJrRHdIgYjMJpgnVxAlnGmw73CbFc2KwaAUMEMPbUfyzcgZN4LnTQLlZuixC0J1w87vaMeQBQH/78HuDnDZsK+qRN8nGohlNpiKrUsfp+fvkJ4OqYsc0F7JpBZmqp8C+XVgbYCcyXr8mZBbUJ64LK+G6vrayXTz1yR9DrRylBp6zuMe++bgUQ3NUqrghcARt3HfToArpkmkJFh3k6c= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BY1PR0701MB1721; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 4:jffAZEGzbO9ahkfoijuZ49lBaDP7ciOC2Nv92411cBrn6C9iFaC13Z4oldqm0TKDrJQxIu5/J6Py4vqyNysyeXJIwZO+oSHRr2B6gq/Y1vP29ZhwPe9ZPgv1AO5giM3YKXp4S7gbq+2feJJ89JbYb9PK8QvWQ/FnVbNlgyS2lehBjQh465h0E0vAtjPiIOkzjJZbJ8aeiNgDSiBivPCncY/4VWHJmceu13ZssCnEPW74Y4Ncs/5ZkmWsZvAmUiXEKm6lLMXFKQ950RrJ0HrBgp5+CSGhrYRB2jMiDlLTLd2IEgccuQUoysubGO5evIzGS+xFPJR5XCuypB31ynPT1jEHcWf6bDdgLewczqlHSqDpRyrJPTxhw7SrpPq2pLEo X-Forefront-PRVS: 0850800A29 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(42186005)(50226001)(4326007)(36756003)(2906002)(586003)(3846002)(1096002)(47776003)(40100003)(122386002)(6116002)(76176999)(92566002)(5004730100002)(50466002)(4001430100002)(2351001)(2950100001)(86362001)(87976001)(5003940100001)(229853001)(33646002)(110136002)(50986999)(189998001)(48376002)(66066001)(77096005)(5008740100001)(107886002)(5001960100002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1721; H:localhost.localdomain.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1721; 23:nVw2kqT+agmbXUMKHbklublRf8v1+apwtrtzD+w?= =?us-ascii?Q?Jdf1LjvsJXkv6CN7y3e6sMWiXXq4/p6z4d6OiH95A93RX0NLK2/vQ+hxt1xY?= =?us-ascii?Q?GP6vjB85GZwATd7/RUNhpmCjYWsWU+OzEzsw4HPyo+7nCBqX5rl3jy5VF8/s?= =?us-ascii?Q?8vfDONakg85lhNNDVWdE5u/pDUhD6qe1AGIKbgHWJXuomH+1jL+uvu7CITQn?= =?us-ascii?Q?7zg6GDPXjxGbdcE8J1g6J4YrJm49wNXRLeDkmqq1aNCmuCwgSUFvDCUSBYr1?= =?us-ascii?Q?2elWtUbZWuS8qqmjci0DGvvIpLhFbrETZDbv0YXQ9wfPFm9p/MvmkKeUk88U?= =?us-ascii?Q?vV/URPIzisvxMn7vBeVvAYto3NnPsoQ0gykGiixzssGL0qp3AhGFFifm7vsL?= =?us-ascii?Q?0r4W7t74VlyuFkkONVxFxA7AoHf69T2FcVbYHa/D55ktkiQfVR6att0HZW2M?= =?us-ascii?Q?IIBQRwE1wJb6OEhp9x37s1zuG6n9FwPCjA0vMKJDuyZIV6rJIhu5K8dbUTph?= =?us-ascii?Q?bWTQEYZwjRHuomfCi4rmt8b46vTfM3l9pjriPlveZN0P4KQDaLZFagEH2cRO?= =?us-ascii?Q?ix6RIjKlEkMzrQuA/fWT8xAiukwt2pnxOJENRi95xi5l+wiF0cJx+77Q8Euv?= =?us-ascii?Q?WlK6ewx7zy49c5FaUOSWwEkfo86ZwzUDCBfQa96qJ6ZovIc5nEh+HD7Rg9tZ?= =?us-ascii?Q?F0js7NhDVL73coVjcl4bazv9vxBjf2F6vHs3QQsFDLHvuVEr88GhikAjVA5H?= =?us-ascii?Q?vuP3fRoqSLbP6VrbEVOLFd3VnV3E19GgdrMTz0YhJht70TWvpd8pJJsZ8TgY?= =?us-ascii?Q?juJnR1+VP6hUNEgremai1nAubNt2QlOZSGzh6PU6DlFMueMtywvqHkCN+SkF?= =?us-ascii?Q?cXYmbjPAmpOK4QJ/2qALgaeXnHqBrglpSnDtwtO8HgAqx1ItnmKyaa6xaiq9?= =?us-ascii?Q?rYvQlYqNTceTMcT/Nc4VBFB4Wqpsvo0CCEgqGdobIdw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 5:UExgpiq30n3o0wa+iOhztDd0bdhLAxitELWl/zeoBrIhKjRt9LoBCJeibFEIR22WvymaMIuD6//LMo9CSsW4UGSf/SJpqNW8kPau9Tfz02n5rtj0B3UY05V0qsQvGaGoBTpP1MbN3b/2ZCpxK19vpg==; 24:aT/Wwjb7Q+o+MMfKpGgmaQNo/jB4vx5oC8ml0ezz7tGn8ogoRHieFu6Y12TYoYBQXylwLVrWvPShkZpbNvHu53XSjmjeDaSnx5wiSqPsYGw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2016 12:29:19.9148 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1721 Cc: viktorin@rehivetech.com Subject: [dpdk-dev] [PATCH v4 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, 12 Feb 2016 12:29:27 -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 v3..v4 -Instead of defaulting the lpm implementation to SSE, SSE implementation kept under RTE_ARCH_X86 conditional compilation check as suggested by Thomas 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