Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_scsi_ini.h File Reference
#include <scsi/scsi_host.h>
#include <scsi/scsi_netlink.h>
#include <scsi/scsi_transport_iscsi.h>
#include "ocs_scsi.h"
#include "ocs_ini_template.h"

Go to the source code of this file.

Detailed Description

Copyright (C) 2013,2014 Emulex All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. The full GNU General Public License can be found at http://www.gnu.org/licenses/.

Written by: Chris Moore (chris.nosp@m..moo.nosp@m.re@em.nosp@m.ulex.nosp@m..com)

Emulex 3333 Susan Street Costa Mesa, CA 92626

OCS SCSI Open-iSCSI include file

Definition in file ocs_scsi_ini.h.

Data Structures

struct  ocs_ep_t
 
struct  ocs_conn_t
 
struct  ocs_io_task_t
 
struct  ocs_rport_data_t
 
struct  ocs_scsi_ini_domain_t
 
struct  ocs_scsi_ini_sport_t
 
struct  ocs_scsi_ini_t
 
struct  ocs_scsi_ini_io_t
 
struct  ocs_scsi_ini_node_t
 initiator private node structure More...
 
struct  ocs_iscsi_host_private_t
 

Macros

#define OCS_INCLUDE_OPEN_ISCSI
 
#define OCS_NL_VENDOR_ID   (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_EMULEX)
 
#define OCS_DEFAULT_SG_SEG_CNT   64 /* sg element count per scsi cmnd */
 
#define OCS_CMD_PER_LUN   32 /* max outstanding cmds per lun */
 
#define OCS_BHS_ALLOC_SIZE   128
 

Enumerations

enum  ocs_io_task_state_e { OCS_IO_TASK_STATE_INIT, OCS_IO_TASK_STATE_IN_CHIP, OCS_IO_TASK_STATE_CLEANUP, OCS_IO_TASK_STATE_FREE }
 

Macro Details

#define OCS_BHS_ALLOC_SIZE   128

Definition at line 36 of file ocs_scsi_ini.h.

#define OCS_CMD_PER_LUN   32 /* max outstanding cmds per lun */

Definition at line 35 of file ocs_scsi_ini.h.

#define OCS_DEFAULT_SG_SEG_CNT   64 /* sg element count per scsi cmnd */

Definition at line 34 of file ocs_scsi_ini.h.

#define OCS_INCLUDE_OPEN_ISCSI

Definition at line 25 of file ocs_scsi_ini.h.

#define OCS_NL_VENDOR_ID   (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_EMULEX)

Definition at line 33 of file ocs_scsi_ini.h.

Enumeration Details

Enumerator
OCS_IO_TASK_STATE_INIT 
OCS_IO_TASK_STATE_IN_CHIP 
OCS_IO_TASK_STATE_CLEANUP 
OCS_IO_TASK_STATE_FREE 

Definition at line 41 of file ocs_scsi_ini.h.