Re: [PATCH 2/3 v2] Optimize CRC32C calculation with PCLMULQDQ instruction

2013-02-26 Thread Herbert Xu
On Tue, Feb 26, 2013 at 08:57:41AM -0800, Tim Chen wrote: > > BTW, Herbert, I've also sent you a patch a few days ago to update the > link to the whitepaper on the CRC32C algorithm in the code. Wonder if > you have received it. Thanks. Tim it's in my queue. Cheers, -- Email: Herbert Xu Home P

Re: [PATCH 2/3 v2] Optimize CRC32C calculation with PCLMULQDQ instruction

2013-02-26 Thread Tim Chen
On Tue, 2013-02-26 at 17:54 +0800, Herbert Xu wrote: > On Thu, Sep 27, 2012 at 03:44:22PM -0700, Tim Chen wrote: > > This patch adds the crc_pcl function that calculates CRC32C checksum using > > the > > PCLMULQDQ instruction on processors that support this feature. This will > > provide speedup o

Re: [PATCH 2/3 v2] Optimize CRC32C calculation with PCLMULQDQ instruction

2013-02-26 Thread Herbert Xu
On Thu, Sep 27, 2012 at 03:44:22PM -0700, Tim Chen wrote: > This patch adds the crc_pcl function that calculates CRC32C checksum using the > PCLMULQDQ instruction on processors that support this feature. This will > provide speedup over using CRC32 instruction only. > The usage of PCLMULQDQ necessi

[PATCH 2/3 v2] Optimize CRC32C calculation with PCLMULQDQ instruction

2012-09-27 Thread Tim Chen
This patch adds the crc_pcl function that calculates CRC32C checksum using the PCLMULQDQ instruction on processors that support this feature. This will provide speedup over using CRC32 instruction only. The usage of PCLMULQDQ necessitate the invocation of kernel_fpu_begin and kernel_fpu_end and inc