lio-target: Enable crc32c_x86_offload=1 by default
Subsystems (2)
PATCH 1/1 lio-target: Enable crc32c_x86_offload=1 by default
From: Nicholas Bellinger <[email protected]>
Greetings all,
This patch enables the default usage of the SSE v4.2 CRC32C instruction for iSCSI target HeaderDigests and DataDigests offload using libcrypto and the crc32c-intel.ko module on Nehalem systems. This was originally disabled by default in commit 047eeb75ee8f0 due to some issues with HeaderDigests=CRC32C that where encountered with the Open-iSCSI initiator shipping with RHEL 6 B1. This has now been identified as initiator side breakage, so we go ahead and enable crc32c_x86_offload=1 by default when available.
Many thanks again to Mike Christie for verifying the Open-iSCSI side issue!
Signed-off-by Nicholas A. Bellinger <[email protected]>
--- drivers/target/lio-target/iscsi_target_core.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/target/lio-target/iscsi_target_core.h +1 -1
@@ -84,7 +84,7 @@/* Disabled by default in production mode w/ explict ACLs */ #define TA_PROD_MODE_WRITE_PROTECT 0/* Disabled by default for the moment for testing... */ -#define TA_CRC32C_X86_OFFLOAD 0 +#define TA_CRC32C_X86_OFFLOAD 1#define TA_CACHE_CORE_NPS 0/* struct iscsi_data_count->type */
Signature · 1 line
1.5.6.5