From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0071.outbound.protection.outlook.com [207.46.100.71]) by dpdk.org (Postfix) with ESMTP id C54D82C67 for ; Fri, 11 Mar 2016 04:53:35 +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=At6ODztkX6eYv5h4zCMv/6BmzwnbM2ahYWr2N7H5R4I=; b=Fk0MBilfjdj4gw1qsU9AoGaRL3OnYiDDysVEQSCrk/odGl6SfpbzazXex+EswjW0SpucywJpDVY3D+VQRk/fZcPqOhtTB2XtbsoAKqp1dD1dH+XjWx5KY7J0I0rYf3LKWKSSRhHm7z6OZF5QHyzdlQUyvGxHCk6f/oLQjt4QUjs= 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 (110.170.137.253) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (TLS) id 15.1.415.20; Fri, 11 Mar 2016 03:53:30 +0000 From: Jerin Jacob To: Date: Fri, 11 Mar 2016 09:22:56 +0530 Message-ID: <1457668379-7316-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1455280123-9311-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1455280123-9311-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [110.170.137.253] X-ClientProxiedBy: SIXPR04CA0075.apcprd04.prod.outlook.com (10.141.119.33) To BLUPR0701MB1714.namprd07.prod.outlook.com (25.163.85.140) X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 2:u/N0seRZxQaCIxvoeaZcJdz+uKSExxoyIZOngPsUhx6U3snMYDSqJgOJh7kGxpiNIyJ4Ou5EO+DiqjOYfIHleQMC6CgnBqSGNaTkTG2iV59vTjsBLp8EJM+127e80Kz6mCgKDpK1g0Wss5EfVDuJoQ==; 3:ixPVsk4qpfBhLfhoDdnBcb7T8nktTYRIZB0y3jhhvx48JbdvA9i079Tg9eL7SjvqihN01wsr723yVw171TyE4mRhBT7aJpW8zef2mjU8APiW4+XOOU+66XwMzhdbgmGD; 25:OR5ThRPrvRkn+yfP9HyRe6Yo5M71gukK1R0G4FJpaz+W3VT2H0J7efPRPl0UZnubLN45JQz8IVpMtgj7TRnzviaVo+Ap+8ofes/82mNzJ9tTEnU6Q+7+DgDARcidQmSiD6YyjAoCjiJOw0AaleCjCDAF5JF1CdtmmxDxnbpuMoynEHoybku/oGPZdT6IMKLmuXEWTEHjxdeUs1a3RVs2hdPl3yfzOl/Sy3GJPYG7T9Tpuy0WZRIvjeJv95nh4yHxuK5wN6wnxVt+CHiqjn+QzLm4aTJOthrpXScIyPDRIA9rIgBLLFhYD8GiDFWQnMP2g77grkkGqc92M2an4TVASg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0701MB1714; X-MS-Office365-Filtering-Correlation-Id: 318a4797-d5b5-4f2b-8ddc-08d34960b77a X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 20:W3lQDk6ti2DhidC93oaXtnqRum+Tirwp2ysVxK2HgNnC3CLgZVolqmKJLvkjg920Ibok1UrXNUhhERBi7mh2mO0WK3lYs4DayMpLOzQd+yxlPmdkWF1dzZAO2JT9TMmrEDEfVOaP3Rq8LI51S3EU+8XS8Nte0qGOh1R5xazC6NFrib/+L8T+yC6ZP1zRMMFIgRMEKerVUBjuyPBqnylYLdtBVUF3Jk8OXb6jS3cgB2s43NWVG36hIYf20NsFUBKEU2DrKvXNvLTzHZEGwoRsrhECcvfuVCqJV7/OLLpvzTld9ZBbXeidXi8JMiPaA9/u1fNtdWOzahNfeoUP10ytM5V/wRFkugB6L9KdV7MoPjvZ4olj6kdPSMwXstj7i/GNiLhunZfZK4pVonwyaSwAppmePvafx7zc0TIVW1Q9+wcuoZjMl7bq/ItYwMPiMSqi4ZTOxltxGs5ON4e98EObEikevDRnrQsHmZ/IVSskRhXCSKx7J2H4ciPbLwZ2eN1z0Cm30j9YDNiLXjUD6jZZQQCIbQzi0BXmqoL2HOH/g81Fd0/7h74npgUtqeUzNwvrelYvLHB3WnMtJo1vMPGSwHrLSQZ5P8+o1AmVDXQMMnM= 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)(3002001)(10201501046); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:gHZqEOUIt+whEgk7Av6qHpDUsbxrthsZvNKbFKMQHcQToMknqSfO64TPSjWmrrDjAUa0IOVTfOv/Nk2LxfhxItulBgZKuoxzOpYiJf+JzvP3M4HCFYaaVi4bShce3xdjMX9DKJvQmeDywpdgxYjCedZVIyDFZNwCYeqpVH4ifr6u8EMZzEM8lORVt+bkdht4Jxl5EeMSPoPXRuwjva/2l5hc4pPraIgzopuaKxPgqjV6ZUTkgt9vQQrTJCJ37LYdi+fgygS50hT3FMr0z8v/vb0Pu/K4Ry8W2Tga4KOBIUjGhIrF6jt2LED3P1G05etwVchfWvKLyHNCiC9oQzrb2TviEUX75heu/1017IYj7tk39w4kKBjPDnsVukt+xEif X-Forefront-PRVS: 087894CD3C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(48376002)(33646002)(5003940100001)(2906002)(47776003)(15395725005)(5008740100001)(4001430100002)(66066001)(189998001)(107886002)(50466002)(229853001)(6116002)(50986999)(2351001)(586003)(77096005)(3846002)(19580395003)(15975445007)(76176999)(36756003)(2950100001)(92566002)(4326007)(110136002)(81166005)(86362001)(50226001)(1096002)(5004730100002)(42186005); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:IfJxp6N+csCD3rHHkvUY8RHS/6T/zR51+fu8ZMd?= =?us-ascii?Q?pmI6MLLFicumDRPxdV3odTkoWDDu6odJBYUGKi0VJHr/6ycuhcJvo8X+cC5+?= =?us-ascii?Q?0B4D7I+OBQMgKxrlAZkiet0O1HB4bx0Nn16m1MtmV6AS/p+Bl4YCikeKEtZ3?= =?us-ascii?Q?DVSIRegJmG77y7YZEg63rL5VRthiWDD7XW/2/4CmkXKHu1mgZZfWBDDY1cVz?= =?us-ascii?Q?Bnq/3Mmiw7T/H7wFgn/HHNM1iU9Ch9FDlLwg0aPokd2GNc4AKsRlqI7WW1La?= =?us-ascii?Q?jccjaxDiyTh0TYdpM7ONGUV/i0iwuW8214ZRxiQqrftdGDOdaNtwyBvt7D6Q?= =?us-ascii?Q?+6dz9KWv/HfRvKm1l8NYfkN+Gd7rVk7w5HyHccW4qWtkq0qv6/+WkEerzkuU?= =?us-ascii?Q?QWefz06Hx9Yrl9xkPDMSnXVACJXmzqO7mT0p/997DimkmZbekGjZqeB8IpnR?= =?us-ascii?Q?AMT+8o7KUJOu3ZrlejSuDjI6Q7k8UvKVOfoitd4cYBSeZCeOOwkaFZWs/89v?= =?us-ascii?Q?5F20smoMzF0fKKMRqnXZNgWqxldPSb40rdv4GH0rxUw4Qx+g8TSANItNaTFQ?= =?us-ascii?Q?pSYoaa/NBr5+OuuM83wV4HYR7/FWeymaTvnqv+tXvzdxCTAowlRAeorUDnH8?= =?us-ascii?Q?gPxmrITLpsOnImfAv/k4Hr9rZw7msXom70y952Ngrv9XNHTFEDL2aD/CQhux?= =?us-ascii?Q?fRqxZ0UGcowk+MjLLou1212qFFOLqrcBPCxYl2bIBPnSpOQSikxueH+rb8ih?= =?us-ascii?Q?S1o+zg9yrufUHr/X2GRp2XTMO2D9lSzgfhTpJnbbpJhc0FcNXwqDLbsu7RNm?= =?us-ascii?Q?KovILpQ8KDatS4Ij0QRC0DlHnIawgJgMfyuhq/8dlizWKdPGAXrUBiZ+cPvT?= =?us-ascii?Q?ypZXe5JOcxRrDXSvNp5G6C9/KTxPOiNVUW2/3YnObtTQ0Nbwbx4r6gVRQNn+?= =?us-ascii?Q?9PRzeJhpR/rDa6AE7faJbwvPhE1+WCkKfNAPo4/dXzRqCMz2g1CFDTZ/oOR8?= =?us-ascii?Q?ky8k=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:h4dQ0gZQGb1ZEAVCpF19cE9GrJVDP4rlrTaduPooLs5XQjXmEt5GLxdjKeY3nxZc3Dh2vB5p2kkzzdmJMClkT7r6jiwbP604JOjUp8XsADArD2aNRWlKK8qBglfhY09GvAY9Zn8dHLSu2mDI6aQ8jg==; 24:hIikF5hy4Zvi0+NlWdTcO5OUtKgSgKwPjJTpxe7q6paW41XqL+7Z8gCXwyNmfzRQfcdsTgD7MqWD5mHagOSd1QWCMaarvXi0SybXjEoLeug= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2016 03:53:30.6445 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Cc: viktorin@rehivetech.com Subject: [dpdk-dev] [PATCH v5 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, 11 Mar 2016 03:53:36 -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 v4..v5 - Rebase the series based on Michal's "Increased number of next hops for LPM IPv4" patch - Added the changes suggested by Thomas --http://dpdk.org/dev/patchwork/patch/10478/ --http://dpdk.org/dev/patchwork/patch/10480/ 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 MAINTAINERS | 4 + 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 | 105 ++------------------ lib/librte_lpm/rte_lpm_neon.h | 153 +++++++++++++++++++++++++++++ lib/librte_lpm/rte_lpm_sse.h | 149 ++++++++++++++++++++++++++++ 9 files changed, 398 insertions(+), 113 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