diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-08-13 12:54:31 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-10-09 03:10:53 -0400 |
commit | f043032ef1acd294e0360bec96c91b90dec7cc17 (patch) | |
tree | 8349b967221dc6a67699c9a83117c2236c84a53e /drivers/infiniband/ulp | |
parent | 6f5f8a016edf6c469d01c9bc563f6d74d12672d9 (diff) |
IB/iser: Set IP_CSUM as default guard type
In the future this will be a per-command parameter so we can lose it,
but in the mean time IP_CSUM is a lot lighter for SW layers to
compute, set it as default.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index 8c04c2d3cfd9..f42ab14105ac 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c | |||
@@ -83,7 +83,7 @@ module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO); | |||
83 | 83 | ||
84 | int iser_debug_level = 0; | 84 | int iser_debug_level = 0; |
85 | bool iser_pi_enable = false; | 85 | bool iser_pi_enable = false; |
86 | int iser_pi_guard = 0; | 86 | int iser_pi_guard = 1; |
87 | 87 | ||
88 | MODULE_DESCRIPTION("iSER (iSCSI Extensions for RDMA) Datamover"); | 88 | MODULE_DESCRIPTION("iSER (iSCSI Extensions for RDMA) Datamover"); |
89 | MODULE_LICENSE("Dual BSD/GPL"); | 89 | MODULE_LICENSE("Dual BSD/GPL"); |
@@ -97,7 +97,7 @@ module_param_named(pi_enable, iser_pi_enable, bool, 0644); | |||
97 | MODULE_PARM_DESC(pi_enable, "Enable T10-PI offload support (default:disabled)"); | 97 | MODULE_PARM_DESC(pi_enable, "Enable T10-PI offload support (default:disabled)"); |
98 | 98 | ||
99 | module_param_named(pi_guard, iser_pi_guard, int, 0644); | 99 | module_param_named(pi_guard, iser_pi_guard, int, 0644); |
100 | MODULE_PARM_DESC(pi_guard, "T10-PI guard_type, 0:CRC|1:IP_CSUM (default:CRC)"); | 100 | MODULE_PARM_DESC(pi_guard, "T10-PI guard_type, 0:CRC|1:IP_CSUM (default:IP_CSUM)"); |
101 | 101 | ||
102 | static struct workqueue_struct *release_wq; | 102 | static struct workqueue_struct *release_wq; |
103 | struct iser_global ig; | 103 | struct iser_global ig; |