From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0087.outbound.protection.outlook.com [207.46.100.87]) by dpdk.org (Postfix) with ESMTP id 379778E80 for ; Fri, 4 Dec 2015 16:15:59 +0100 (CET) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.caveonetworks.com (111.93.218.67) by BN3PR0701MB1720.namprd07.prod.outlook.com (10.163.39.19) with Microsoft SMTP Server (TLS) id 15.1.337.19; Fri, 4 Dec 2015 15:15:55 +0000 From: Jerin Jacob To: Date: Fri, 4 Dec 2015 20:44:43 +0530 Message-ID: <1449242086-19051-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1448904253-12929-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1448904253-12929-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MAXPR01CA0068.INDPRD01.PROD.OUTLOOK.COM (25.164.146.168) To BN3PR0701MB1720.namprd07.prod.outlook.com (25.163.39.19) X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 2:7U0ptrWDSayVB1P+tUe2zcPFYpOcM3GbHXw4E8BAca9fgffS+wYbaJeaig+RTcGgxnOnQ7rsEFBoypuh6hbgtxHFHOM5mpmORFMdkOjI14NfJo99/JaWKdUDP047yRVa+tiOpNr1t4sYTZj239DZeg==; 3:9x8zdJrmC8gIluhjQ+bGZbYjyK+OEDdgnfYf6l9gEXkfU/wpyBSgxX3C89rVkaCB1W5WLPyfVajPe5BZJMPA+5N1aSo7lz1z0zP1kQdTxlyG66RE6LEo7co0eoPhtfCY; 25:XR0IhOt86xqfXS0mB/osPMYBklVpOdoDgMxGQVp5VFJGCIBwf5mLZmHruOcpZK1LWtkRCXLw2yfpe6U1HK14owUzcO03mU5KakBLbTNyUa+qZsUC0Z9syFuDIurv/qi9d6HDTWxywUQba+4rbIV2NQvW8JgHeNTDuWFU7oLRdglDt8bywL5yUJ5JbwbRBNa3E0Ow71MzmOAxLjd9aX5ea2AKMbnFiEgsdMnYm8N+TCt3A8HcfJNcvRtu2NkzvhlEAl6a3pYA1i3ScQP7lHLVRA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0701MB1720; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 20:JczT8QSWBAcqfZjlj87PPsEThs54kCXaJDfGSNSjKHyCeY/3rCdMhEDgMRhya5GluLO6rQSBM/QkSGu8N/XX7YNCnxyvXt8qk33CgYJpnKmGOlbl+HdjrFjh1FUlJLGAk6SFCIw/kwxA5dD+45w9QeXdGL0W5Dr3ONYtjQZXAuuE4W0Bwql7ePTXBjgoTWjG9zapLSr8QZw+RKgxt5wGeXpAPWWSdT8ER7c0eFLwoJdNzwnYG+qXT4rG/xl+hMpiQSAEonmxj6eZJPWrHyI708HIPt1Fql4or+iDMjKcyCxwAeFxMxvJDnBlmJOAzrcOiChs2xDDa0bxFGGKC7g1EJOEUw9Vj+Mbo9LF48GWOnVvlf73TJxkFNB4SdoOHIBnGAxWzGsbOAq4KzkRMohx6ybNEN1bd4hUQ6S7wdh2BB6dz29KInJiKywlZyirdATZzhIxUTzrz7+iEwV7xJUZsttIZbbXvHbuNdE2o0v/Jlg901rN84ITo2LaAXIFbewpeB38Ymkwnc12m5KHN9jvoHy9/Rcez/8I5jDOsl3feERE7XKeMKiSq7E0V2+S7dDjIm1V232uUJBK2G1xI5QEVWFmUhoq7cnrWf87itJdOgk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:BN3PR0701MB1720; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1720; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 4:TvDWEeOpNbIdKHySrj4x+PdZfMlZ+agyAvWjfWDy09kLX4kPErEZHCIELYJk29pzDQmyas2dvtjA6ApYYlTShW24/XA3hHgNrV/AEAipVXfD8eoElX0rH+BcO97tHkdP+XAgLPIBTKQLI1xHuIHqT8FPq7oUWcgXee5E69cnuioyGFVoGkp3qJy5ezmq6E7HIKz1eYaBcS1/o4sI1TqxrA16nT15p/pYuvOjzY1DdAywILR1t31LGAMMmlrTudYKTRHKlotOfGtrsZ1by6l667Zr15yV6DINtX7V8GveEiVkwpQ5GiSvlm9dNSu0kh5cH1ZzylmtZgUO/DgyA03z8SziH2jfJii9GhmjqaYDBDFDw1YvdR1x+ZSX+zWN8U2/ X-Forefront-PRVS: 07807C55DC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(101416001)(42186005)(53416004)(122386002)(107886002)(110136002)(50986999)(5001960100002)(76176999)(189998001)(97736004)(92566002)(2950100001)(77096005)(81156007)(40100003)(106356001)(105586002)(5009440100003)(50226001)(47776003)(87976001)(229853001)(6116002)(5003940100001)(50466002)(36756003)(48376002)(33646002)(3846002)(4001430100002)(66066001)(5008740100001)(1096002)(2351001)(69596002)(76506005)(5004730100002)(86362001)(586003)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1720; H:localhost.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1720; 23:fp6n1aTFatPjvQl3kzkeXYL7LJtUvRKrsPG3zY1?= =?us-ascii?Q?r/+rvrB5GE4CvxF0wEMgTejGqx3dcPc/5IrYrbHKo8YOmJjcmZE8B66gKScK?= =?us-ascii?Q?NfyryAX2G2ICdWXGQ13963MOz4G6m0Tgz8dyt46QpF+T1FuE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DNu+UzoODduybp6aaim5Wfnt0b6c1FTGYsWK3oifG?= =?us-ascii?Q?xsRLF0J+FsH3G7apMevNauw7DCZVlKfpKUy99dUNycqGgvGKhD5AY+pknSwR?= =?us-ascii?Q?SJc5Rc8Y2Expf6qTeSWd2mEOzmf6CxqzhQxY9AoR0PMyKMot7yK7yD5ZXdkM?= =?us-ascii?Q?o/K4gJ6BV7BFGrvo=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 5:iJrawVFHAUIVsuu1H2sXcB/ArQBNI8V4Ul2EGtTa0Z9DDjRBMXZYIJptqhn1MaCpD8lPmpkzaB4KetIc8snoYN5pDOX7EFCA03V4IRz5f2S6BPvf9GxdC4IV0sIG9+37q+MkbNbFJyiUqrramEqJDA==; 24:dOms1toE8lIqRJGceNMNze1ZM/QPszwkVfKMXwZ9TnHAiT2r+JM25cQFqbo/vLxNkp1lLXYBPKpdMdAZNu/i6FVMB62sGVH0prERRRc7HMk= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2015 15:15:55.1791 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1720 Subject: [dpdk-dev] [PATCH v2 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, 04 Dec 2015 15:15:59 -0000 - This patch enabled 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 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