diff options
author | Jim Kukunas <james.t.kukunas@linux.intel.com> | 2012-11-08 16:47:44 -0500 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-12-13 00:42:01 -0500 |
commit | 7056741fd9fc14a65608549a4657cf5178f05f63 (patch) | |
tree | b30504208f8261c4a0a2625169eaff9aa9de544e /include | |
parent | 54f89341e8b8da0cdac8a7b873491739de19f098 (diff) |
lib/raid6: Add AVX2 optimized recovery functions
Optimize RAID6 recovery functions to take advantage of
the 256-bit YMM integer instructions introduced in AVX2.
The patch was tested and benchmarked before submission.
However hardware is not yet released so benchmark numbers
cannot be reported.
Acked-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include')
-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 640c69ceec96..3156347452b9 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h | |||
@@ -109,6 +109,7 @@ struct raid6_recov_calls { | |||
109 | 109 | ||
110 | extern const struct raid6_recov_calls raid6_recov_intx1; | 110 | extern const struct raid6_recov_calls raid6_recov_intx1; |
111 | extern const struct raid6_recov_calls raid6_recov_ssse3; | 111 | extern const struct raid6_recov_calls raid6_recov_ssse3; |
112 | extern const struct raid6_recov_calls raid6_recov_avx2; | ||
112 | 113 | ||
113 | /* Algorithm list */ | 114 | /* Algorithm list */ |
114 | extern const struct raid6_calls * const raid6_algos[]; | 115 | extern const struct raid6_calls * const raid6_algos[]; |