diff options
author | Harish Zunjarrao <harish.zunjarrao@qlogic.com> | 2013-10-18 09:01:42 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-16 13:57:51 -0500 |
commit | f8e934122424ab1f9a538fc2b7062d7d5b10fd6f (patch) | |
tree | 322c4573391e8a00c10642c4604236e23d3c97df /drivers/scsi/qla4xxx/ql4_def.h | |
parent | 3e0f65b34cc972d462c32769cd85b4eee6949139 (diff) |
[SCSI] qla4xxx: Add support for additional network parameters settings
Added support to display and update additional network parameters
through iscsiadm.
Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com>
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_def.h')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_def.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h index 084d1fd59c9e..e2be308c0d9e 100644 --- a/drivers/scsi/qla4xxx/ql4_def.h +++ b/drivers/scsi/qla4xxx/ql4_def.h | |||
@@ -179,6 +179,10 @@ | |||
179 | n &= ~v; \ | 179 | n &= ~v; \ |
180 | } | 180 | } |
181 | 181 | ||
182 | #define OP_STATE(o, f, p) { \ | ||
183 | p = (o & f) ? "enable" : "disable"; \ | ||
184 | } | ||
185 | |||
182 | /* | 186 | /* |
183 | * Retry & Timeout Values | 187 | * Retry & Timeout Values |
184 | */ | 188 | */ |
@@ -476,6 +480,34 @@ struct ipaddress_config { | |||
476 | uint16_t eth_mtu_size; | 480 | uint16_t eth_mtu_size; |
477 | uint16_t ipv4_port; | 481 | uint16_t ipv4_port; |
478 | uint16_t ipv6_port; | 482 | uint16_t ipv6_port; |
483 | uint8_t control; | ||
484 | uint16_t ipv6_tcp_options; | ||
485 | uint8_t tcp_wsf; | ||
486 | uint8_t ipv6_tcp_wsf; | ||
487 | uint8_t ipv4_tos; | ||
488 | uint8_t ipv4_cache_id; | ||
489 | uint8_t ipv6_cache_id; | ||
490 | uint8_t ipv4_alt_cid_len; | ||
491 | uint8_t ipv4_alt_cid[11]; | ||
492 | uint8_t ipv4_vid_len; | ||
493 | uint8_t ipv4_vid[11]; | ||
494 | uint8_t ipv4_ttl; | ||
495 | uint16_t ipv6_flow_lbl; | ||
496 | uint8_t ipv6_traffic_class; | ||
497 | uint8_t ipv6_hop_limit; | ||
498 | uint32_t ipv6_nd_reach_time; | ||
499 | uint32_t ipv6_nd_rexmit_timer; | ||
500 | uint32_t ipv6_nd_stale_timeout; | ||
501 | uint8_t ipv6_dup_addr_detect_count; | ||
502 | uint32_t ipv6_gw_advrt_mtu; | ||
503 | uint16_t def_timeout; | ||
504 | uint8_t abort_timer; | ||
505 | uint16_t iscsi_options; | ||
506 | uint16_t iscsi_max_pdu_size; | ||
507 | uint16_t iscsi_first_burst_len; | ||
508 | uint16_t iscsi_max_outstnd_r2t; | ||
509 | uint16_t iscsi_max_burst_len; | ||
510 | uint8_t iscsi_name[224]; | ||
479 | }; | 511 | }; |
480 | 512 | ||
481 | #define QL4_CHAP_MAX_NAME_LEN 256 | 513 | #define QL4_CHAP_MAX_NAME_LEN 256 |