aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_frontend_iscsi.c
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2016-05-24 08:44:45 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2016-05-24 08:44:45 +0000
commitb89115941821073fbcfaa1c3e21521b35670f860 (patch)
tree6d697c58c286da70c0d683190cb592a6068bafae /sys/cam/ctl/ctl_frontend_iscsi.c
parent9183a497e74a12ab860730b88ef000ed9f343c88 (diff)
downloadsrc-b89115941821073fbcfaa1c3e21521b35670f860.tar.gz
src-b89115941821073fbcfaa1c3e21521b35670f860.zip
Add mechanism for choosing iSER-capable ICL modules.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=300592
Diffstat (limited to 'sys/cam/ctl/ctl_frontend_iscsi.c')
-rw-r--r--sys/cam/ctl/ctl_frontend_iscsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/cam/ctl/ctl_frontend_iscsi.c b/sys/cam/ctl/ctl_frontend_iscsi.c
index d627eeab4a40..1c270fc2c232 100644
--- a/sys/cam/ctl/ctl_frontend_iscsi.c
+++ b/sys/cam/ctl/ctl_frontend_iscsi.c
@@ -1264,7 +1264,7 @@ cfiscsi_session_new(struct cfiscsi_softc *softc, const char *offload)
cv_init(&cs->cs_login_cv, "cfiscsi_login");
#endif
- cs->cs_conn = icl_new_conn(offload, "cfiscsi", &cs->cs_lock);
+ cs->cs_conn = icl_new_conn(offload, false, "cfiscsi", &cs->cs_lock);
if (cs->cs_conn == NULL) {
free(cs, M_CFISCSI);
return (NULL);
@@ -1793,7 +1793,8 @@ cfiscsi_ioctl_limits(struct ctl_iscsi *ci)
cilp = (struct ctl_iscsi_limits_params *)&(ci->data);
- error = icl_limits(cilp->offload, &cilp->data_segment_limit);
+ error = icl_limits(cilp->offload, false,
+ &cilp->data_segment_limit);
if (error != 0) {
ci->status = CTL_ISCSI_ERROR;
snprintf(ci->error_str, sizeof(ci->error_str),