From: Jamie Pryde Date: Wed, 13 Aug 2025 11:00:09 +0000 (+0100) Subject: erasure-code: Enable EC optimizations for ISA-L cauchy X-Git-Tag: testing/wip-vshankar-testing-20250908.050731-debug~18^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=73a07686bd83d483af3d13df0c73ce64a133a485;p=ceph-ci.git erasure-code: Enable EC optimizations for ISA-L cauchy Signed-off-by: Jamie Pryde --- diff --git a/src/erasure-code/isa/ErasureCodeIsa.h b/src/erasure-code/isa/ErasureCodeIsa.h index 0b2065cd25e..19e654f2ea8 100644 --- a/src/erasure-code/isa/ErasureCodeIsa.h +++ b/src/erasure-code/isa/ErasureCodeIsa.h @@ -64,14 +64,14 @@ public: tcache(_tcache), technique(_technique) { - flags = FLAG_EC_PLUGIN_PARTIAL_READ_OPTIMIZATION | + flags = FLAG_EC_PLUGIN_OPTIMIZED_SUPPORTED | + FLAG_EC_PLUGIN_PARTIAL_READ_OPTIMIZATION | FLAG_EC_PLUGIN_PARTIAL_WRITE_OPTIMIZATION | FLAG_EC_PLUGIN_ZERO_INPUT_ZERO_OUTPUT_OPTIMIZATION | FLAG_EC_PLUGIN_PARITY_DELTA_OPTIMIZATION; if (technique == "reed_sol_van"sv) { - flags |= FLAG_EC_PLUGIN_OPTIMIZED_SUPPORTED | - FLAG_EC_PLUGIN_CRC_ENCODE_DECODE_SUPPORT; + flags |= FLAG_EC_PLUGIN_CRC_ENCODE_DECODE_SUPPORT; } else if (technique == "cauchy"sv && m == 1) { flags |= FLAG_EC_PLUGIN_CRC_ENCODE_DECODE_SUPPORT; }