scsi_ctl.7 (2010 09)
s
scsi_ctl(7) scsi_ctl(7)
The max_reqack_offset field specifies the maximum number of outstanding REQs that should be
attempted during data transfers to any target device connected to the associated bus. The max_xfer_rate
field specifies the maximum synchronous "burst" data transfer rate that should be attempted for data
transfers to any target device connected to the associated bus. The
SIOC_GET_BUS_LIMITS
ioctl indi-
cates the current bus communication parameter limit suggestions. The max_width , max_reqack_offset ,
and max_xfer_rate fields only apply to parallel SCSI.
The following is included from
<sys/scsi.h>:
/* SCSI communication parameter ioctls */
#define SIOC_GET_LUN_PARMS _IOR(’S’, 58, struct sioc_lun_parms)
#define SIOC_GET_TGT_PARMS _IOR(’S’, 59, struct sioc_tgt_parms)
#define SIOC_GET_BUS_PARMS _IOR(’S’, 60, struct sioc_bus_parms)
#define SIOC_GET_LUN_LIMITS _IOR(’S’, 61, struct sioc_lun_limits)
#define SIOC_GET_TGT_LIMITS _IOR(’S’, 62, struct sioc_tgt_limits)
#define SIOC_GET_BUS_LIMITS _IOR(’S’, 63, struct sioc_bus_limits)
#define SIOC_SET_LUN_LIMITS _IOW(’S’, 64, struct sioc_lun_limits)
#define SIOC_SET_TGT_LIMITS _IOW(’S’, 65, struct sioc_tgt_limits)
#define SIOC_SET_BUS_LIMITS _IOW(’S’, 66, struct sioc_bus_limits)
struct sioc_lun_parms {
unsigned int flags;
unsigned int max_q_depth; /* maximum active I/O’s */
unsigned int reserved[4]; /* reserved for future
* use
*/
} sioc_lun_parms_t;
struct sioc_lun_limits {
unsigned int flags;
unsigned int max_q_depth;
unsigned int reserved[4]; /* reserved for
* future use
*/
} sioc_lun_limits_t;
typedef struct sioc_tgt_parms {
unsigned int flags;
unsigned int width; /* bits per word */
unsigned int xfer_rate; /* words per second */
unsigned int reqack_offset; /* REQ/ACK offset */
unsigned int tgt_id; /* target Id */
unsigned int reserved[3]; /* reserved
* for future use
*/
} sioc_tgt_parms_t;
typedef struct sioc_tgt_limits {
unsigned int flags;
unsigned int max_width; /* Bits per word */
unsigned int max_xfer_rate; /* Words per second */
unsigned int max_reqack_offset; /* REQ/ACK offset */
unsigned int tgt_id; /* target Id */
unsigned int reserved[3]; /* Reserved for future
* use
*/
} sioc_tgt_limits_t;
struct sioc_bus_parms {
unsigned int flags; /* reserved for future
* use
*/
unsigned int max_width;
4 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: September 2010