From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgw.gov.kz (mgw.gov.kz [89.218.88.242]) by dpdk.org (Postfix) with ESMTP id C425B376C for ; Mon, 2 Feb 2015 04:09:10 +0100 (CET) Received: from mgw.gov.kz (mx.ctsat.kz [178.89.4.95]) by mgw.gov.kz with ESMTP id t123942M012583-t123942N012583; Mon, 2 Feb 2015 09:09:04 +0600 Received: from EXCASHUB2.rgp.local (192.168.40.53) by EdgeForefront.rgp.local (192.168.40.59) with Microsoft SMTP Server (TLS) id 14.2.247.3; Mon, 2 Feb 2015 09:07:50 +0600 Received: from [192.168.35.15] (192.168.35.15) by excashub2.rgp.local (192.168.40.48) with Microsoft SMTP Server (TLS) id 14.2.247.3; Mon, 2 Feb 2015 09:09:03 +0600 Message-ID: <54CEEA01.3090600@sts.kz> Date: Mon, 2 Feb 2015 09:07:45 +0600 From: Yerden Zhumabekov User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Neil Horman References: <1409724351-23786-1-git-send-email-e_zhumabekov@sts.kz> <20150201141356.GA3141@localhost.localdomain> In-Reply-To: <20150201141356.GA3141@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [192.168.35.15] X-FEAS-SYSTEM-WL: e_zhumabekov@sts.kz Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v6 0/7] rte_hash_crc reworked to be platform-independent 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: Mon, 02 Feb 2015 03:09:11 -0000 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