|
Packit Service |
646995 |
/*
|
|
Packit Service |
646995 |
* Default initiator settings. These may not be the same as
|
|
Packit Service |
646995 |
* in the RFC. See iscsi_proto.h for those.
|
|
Packit Service |
646995 |
*/
|
|
Packit Service |
646995 |
/* timeouts in seconds */
|
|
Packit Service |
646995 |
#define DEF_LOGIN_TIMEO 30
|
|
Packit Service |
646995 |
#define DEF_LOGOUT_TIMEO 15
|
|
Packit Service |
646995 |
#define DEF_NOOP_OUT_INTERVAL 5
|
|
Packit Service |
646995 |
#define DEF_NOOP_OUT_TIMEO 5
|
|
Packit Service |
646995 |
#define DEF_REPLACEMENT_TIMEO 120
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
#define DEF_ABORT_TIMEO 15
|
|
Packit Service |
646995 |
#define DEF_LU_RESET_TIMEO 30
|
|
Packit Service |
646995 |
#define DEF_TGT_RESET_TIMEO 30
|
|
Packit Service |
646995 |
#define DEF_HOST_RESET_TIMEO 60
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* session reopen max retries */
|
|
Packit Service |
646995 |
#define DEF_SESSION_REOPEN_MAX 0
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* q depths */
|
|
Packit Service |
646995 |
#define CMDS_MAX 128
|
|
Packit Service |
646995 |
#define QUEUE_DEPTH 32
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* system */
|
|
Packit Service |
646995 |
#define XMIT_THREAD_PRIORITY -20
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* interface */
|
|
Packit Service |
646995 |
#define UNKNOWN_VALUE "<empty>"
|
|
Packit Service |
646995 |
#define DEFAULT_IFACENAME "default"
|
|
Packit Service |
646995 |
#define DEFAULT_NETDEV "default"
|
|
Packit Service |
646995 |
#define DEFAULT_IPADDRESS "default"
|
|
Packit Service |
646995 |
#define DEFAULT_HWADDRESS "default"
|
|
Packit Service |
646995 |
#define DEFAULT_TRANSPORT "tcp"
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
#define PORTAL_GROUP_TAG_UNKNOWN -1
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* default window size */
|
|
Packit Service |
646995 |
#define TCP_WINDOW_SIZE (512 * 1024)
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* default iSCSI port number */
|
|
Packit Service |
646995 |
#define ISCSI_DEFAULT_PORT 3260
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* data and segment lengths in bytes */
|
|
Packit Service |
646995 |
#define DEF_INI_FIRST_BURST_LEN 262144
|
|
Packit Service |
646995 |
#define DEF_INI_MAX_BURST_LEN 16776192
|
|
Packit Service |
646995 |
#define DEF_INI_MAX_RECV_SEG_LEN 262144
|
|
Packit Service |
646995 |
#define DEF_INI_DISC_MAX_RECV_SEG_LEN 32768
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* login retries */
|
|
Packit Service |
646995 |
#define DEF_INITIAL_LOGIN_RETRIES_MAX 4
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
/* autoscan enabled */
|
|
Packit Service |
646995 |
#define DEF_INITIAL_SCAN 1
|