Re: [PATCH] lib: Add support for DIF CRC

2008-01-30 Thread Jan Engelhardt
On Jan 30 2008 02:00, Martin K. Petersen wrote: >diff -r f5ec697e8b10 include/linux/crc-t10dif.h >--- /dev/null Thu Jan 01 00:00:00 1970 + >+++ b/include/linux/crc-t10dif.h Tue Jan 29 13:26:19 2008 -0500 >@@ -0,0 +1,9 @@ >+#ifndef _LINUX_CRC_T10DIF_H >+#define _LINUX_CRC_T10DIF_H >+ >+#

[PATCH] lib: Add support for DIF CRC

2008-01-29 Thread Martin K. Petersen
Add support for the T10 Data Integrity Field CRC. Signed-off-by: Martin K. Petersen <[EMAIL PROTECTED]> diff -r f5ec697e8b10 include/linux/crc-t10dif.h --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/include/linux/crc-t10dif.hTue Jan 29 13:26:19 2008 -0500 @@ -0,0 +1,9 @@ +#ifndef _

Re: [PATCH] lib: Add support for DIF CRC

2008-01-29 Thread Martin K. Petersen
> "Jan" == Jan Engelhardt <[EMAIL PROTECTED]> writes: Jan> 'const unsigned char *', like the rest of all code does. Updated patch follows. Jan> Do we already have some users for the T10DIF CRC? This is a runt patch given that it doesn't fit in block and SCSI. The remaining bits will come

Re: [PATCH] lib: Add support for DIF CRC

2008-01-29 Thread Jan Engelhardt
On Jan 29 2008 13:27, Martin K. Petersen wrote: >--- /dev/null Thu Jan 01 00:00:00 1970 + >+++ b/include/linux/crc-t10dif.h Tue Jan 29 13:26:19 2008 -0500 >@@ -0,0 +1,9 @@ >+#ifndef _LINUX_CRC_T10DIF_H >+#define _LINUX_CRC_T10DIF_H >+ >+#include >+ >+const __u16 t10_dif_crc_table[256];

[PATCH] lib: Add support for DIF CRC

2008-01-29 Thread Martin K. Petersen
Add support for the T10 Data Integrity Field CRC. Signed-off-by: Martin K. Petersen <[EMAIL PROTECTED]> diff -r f5ec697e8b10 include/linux/crc-t10dif.h --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/include/linux/crc-t10dif.hTue Jan 29 13:26:19 2008 -0500 @@ -0,0 +1,9 @@ +#ifndef _