29 static inline char *iscsit_na_get_initiatorname(
59 pr_err(
"Requested DataOut Timeout %u larger than"
60 " maximum %u\n", dataout_timeout,
64 pr_err(
"Requested DataOut Timeout %u smaller than"
65 " minimum %u\n", dataout_timeout,
71 pr_debug(
"Set DataOut Timeout to %u for Initiator Node"
84 pr_err(
"Requested DataOut Timeout Retries %u larger"
85 " than maximum %u", dataout_timeout_retries,
89 pr_err(
"Requested DataOut Timeout Retries %u smaller"
90 " than minimum %u", dataout_timeout_retries,
96 pr_debug(
"Set DataOut Timeout Retries to %u for"
98 iscsit_na_get_initiatorname(acl));
115 pr_err(
"Requested NopIn Timeout %u larger than maximum"
119 (nopin_timeout != 0)) {
120 pr_err(
"Requested NopIn Timeout %u smaller than"
121 " minimum %u and not 0\n", nopin_timeout,
127 pr_debug(
"Set NopIn Timeout to %u for Initiator"
129 iscsit_na_get_initiatorname(acl));
133 if (!orig_nopin_timeout) {
160 u32 nopin_response_timeout)
165 pr_err(
"Requested NopIn Response Timeout %u larger"
166 " than maximum %u\n", nopin_response_timeout,
170 pr_err(
"Requested NopIn Response Timeout %u smaller"
171 " than minimum %u\n", nopin_response_timeout,
177 pr_debug(
"Set NopIn Response Timeout to %u for"
179 iscsit_na_get_initiatorname(acl));
190 if (random_datain_pdu_offsets != 0 && random_datain_pdu_offsets != 1) {
191 pr_err(
"Requested Random DataIN PDU Offsets: %u not"
192 " 0 or 1\n", random_datain_pdu_offsets);
197 pr_debug(
"Set Random DataIN PDU Offsets to %u for"
199 iscsit_na_get_initiatorname(acl));
210 if (random_datain_seq_offsets != 0 && random_datain_seq_offsets != 1) {
211 pr_err(
"Requested Random DataIN Sequence Offsets: %u"
212 " not 0 or 1\n", random_datain_seq_offsets);
217 pr_debug(
"Set Random DataIN Sequence Offsets to %u for"
219 iscsit_na_get_initiatorname(acl));
230 if (random_r2t_offsets != 0 && random_r2t_offsets != 1) {
231 pr_err(
"Requested Random R2T Offsets: %u not"
232 " 0 or 1\n", random_r2t_offsets);
237 pr_debug(
"Set Random R2T Offsets to %u for"
239 iscsit_na_get_initiatorname(acl));
250 if (default_erl != 0 && default_erl != 1 && default_erl != 2) {
251 pr_err(
"Requested default ERL: %u not 0, 1, or 2\n",
257 pr_debug(
"Set use ERL0 flag to %u for Initiator"
259 iscsit_na_get_initiatorname(acl));