From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yerden Zhumabekov Subject: Re: [PATCH v6 0/7] rte_hash_crc reworked to be platform-independent Date: Mon, 2 Feb 2015 09:07:45 +0600 Message-ID: <54CEEA01.3090600@sts.kz> References: <1409724351-23786-1-git-send-email-e_zhumabekov@sts.kz> <20150201141356.GA3141@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Neil Horman Return-path: In-Reply-To: <20150201141356.GA3141-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 01.02.2015 20:13, Neil Horman =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Thu, Jan 29, 2015 at 02:48:11PM +0600, Yerden Zhumabekov wrote: >> This is a rework of my previous patches improving performance of rte_h= ash_crc. >> >> Summary of changes: >> * software implementation of CRC32 introduced; >> * in the runtime, algorithm can fall back to software version if CPU d= oesn't support SSE4.2; >> * best available algorithm is automatically detected upon application = startup; >> * redundant compile checks removed from test utilities; >> * assembly code for emitting SSE4.2 instructions is used instead of bu= ilt-in intrinsics; >> * rte_hash_crc() function performance significantly improved. >> >> v6 changes: >> * added 'const' qualifier to crc32c lookup tables declaration. > Just to be clear, this does build if you compile it against the "defaul= t" > machine type, correct? > Neil I think so, I've just successfully built it against latest snapshot with RTE_TARGET equal to 'x86_64-native-linuxapp-gcc'. --=20 Sincerely, Yerden Zhumabekov State Technical Service Astana, KZ