summaryrefslogtreecommitdiff
path: root/include/linux/kernel_stat.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-12-02 16:57:35 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-01-15 10:44:30 +0000
commit0f990013aff54b46081a016db572952145716f90 (patch)
tree6c014e2a693bddf88c1d74285486a7f63d1df319 /include/linux/kernel_stat.h
parentc52c1599784cd8e7b6bfa5de82a1aaf1cbfdc424 (diff)
iscsi,iser-target: Expose supported protection ops according to t10_pi
commit 23a548ee656c8ba6da8cb2412070edcd62e2ac5d upstream. iSER will report supported protection operations based on the tpg attribute t10_pi settings and HCA PI offload capabilities. If the HCA does not support PI offload or tpg attribute t10_pi is not set, we fall to SW PI mode. In order to do that, we move iscsit_get_sup_prot_ops after connection tpg assignment. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions