diff options
| author | Gayatri Kammela <gayatri.kammela@intel.com> | 2016-08-12 21:03:20 -0400 |
|---|---|---|
| committer | Shaohua Li <shli@fb.com> | 2016-09-21 12:09:44 -0400 |
| commit | 13c520b2993c9faae6770264d33ff1e1ea4c2ceb (patch) | |
| tree | a366455fe39c82e9c522151fbcd8c73c1636d65e /include/linux/raid | |
| parent | e0a491c1296874a1aca51cc68452f12a4d950029 (diff) | |
lib/raid6: Add AVX512 optimized recovery functions
Optimize RAID6 recovery functions to take advantage of
the 512-bit ZMM integer instructions introduced in AVX512.
AVX512 optimized recovery functions, which is simply based
on recov_avx2.c written by Jim Kukunas
This patch was tested and benchmarked before submission on
a hardware that has AVX512 flags to support such instructions
Cc: Jim Kukunas <james.t.kukunas@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Megha Dey <megha.dey@linux.intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'include/linux/raid')
| -rw-r--r-- | include/linux/raid/pq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index 0c529a55b52e..1abd89584568 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h | |||
| @@ -118,6 +118,7 @@ struct raid6_recov_calls { | |||
| 118 | extern const struct raid6_recov_calls raid6_recov_intx1; | 118 | extern const struct raid6_recov_calls raid6_recov_intx1; |
| 119 | extern const struct raid6_recov_calls raid6_recov_ssse3; | 119 | extern const struct raid6_recov_calls raid6_recov_ssse3; |
| 120 | extern const struct raid6_recov_calls raid6_recov_avx2; | 120 | extern const struct raid6_recov_calls raid6_recov_avx2; |
| 121 | extern const struct raid6_recov_calls raid6_recov_avx512; | ||
| 121 | 122 | ||
| 122 | extern const struct raid6_calls raid6_neonx1; | 123 | extern const struct raid6_calls raid6_neonx1; |
| 123 | extern const struct raid6_calls raid6_neonx2; | 124 | extern const struct raid6_calls raid6_neonx2; |
