diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-09-24 10:34:22 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-09-25 17:46:51 +0300 |
commit | 3cffd930171518821595839c5ce7036894ef0d74 (patch) | |
tree | 59f0a7d94d89934f0160b5eeb3681538bc8d7bf3 /drivers/infiniband/ulp/iser/iscsi_iser.h | |
parent | bb6c96d72879fe1f674a804eb95b891def4ace61 (diff) | |
download | linux-3cffd930171518821595839c5ce7036894ef0d74.tar.xz |
IB/iser: Add module parameter for always register memory
This module parameter forces memory registration even for
a continuous memory region. It is true by default as sending
an all-physical rkey with remote permissions might be insecure.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index 86f6583485ef..a5edd6ede692 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.h +++ b/drivers/infiniband/ulp/iser/iscsi_iser.h @@ -611,6 +611,7 @@ extern int iser_debug_level; extern bool iser_pi_enable; extern int iser_pi_guard; extern unsigned int iser_max_sectors; +extern bool iser_always_reg; int iser_assign_reg_ops(struct iser_device *device); |