Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
bfa_defs_svc.h File Reference
#include "bfa_defs.h"
#include "bfa_fc.h"
#include "bfi.h"

Go to the source code of this file.

Data Structures

struct  bfa_iocfc_intr_attr_s
 
struct  bfa_iocfc_fwcfg_s
 
struct  bfa_iocfc_drvcfg_s
 
struct  bfa_iocfc_cfg_s
 
struct  bfa_fw_ioim_stats_s
 
struct  bfa_fw_tio_stats_s
 
struct  bfa_fw_io_stats_s
 
struct  bfa_fw_port_fpg_stats_s
 
struct  bfa_fw_port_lksm_stats_s
 
struct  bfa_fw_port_snsm_stats_s
 
struct  bfa_fw_port_physm_stats_s
 
struct  bfa_fw_fip_stats_s
 
struct  bfa_fw_lps_stats_s
 
struct  bfa_fw_fcoe_stats_s
 
struct  bfa_fw_fcoe_port_stats_s
 
struct  bfa_fw_lpsm_stats_s
 LPSM statistics. More...
 
struct  bfa_fw_fc_uport_stats_s
 
union  bfa_fw_fc_port_stats_s
 
struct  bfa_fw_port_stats_s
 
struct  bfa_fw_fcxchg_stats_s
 
struct  bfa_fw_trunk_stats_s
 
struct  bfa_fw_advsm_stats_s
 
struct  bfa_fw_iocfc_stats_s
 
struct  bfa_iocfc_attr_s
 
struct  bfa_fw_eth_sndrcv_stats_s
 
struct  bfa_fw_mac_mod_stats_s
 
struct  bfa_fw_ct_mod_stats_s
 
struct  bfa_fw_stats_s
 
struct  bfa_qos_bw_s
 
struct  bfa_qos_attr_s
 
struct  bfa_qos_vc_info_s
 
struct  bfa_qos_vc_attr_s
 
struct  bfa_qos_stats_s
 
struct  bfa_fcoe_stats_s
 
union  bfa_fcport_stats_u
 
struct  bfa_fcpim_del_itn_stats_s
 
struct  bfa_itnim_iostats_s
 
struct  bfa_lun_mask_s
 
struct  bfa_lunmask_cfg_s
 
struct  bfa_throttle_cfg_s
 
struct  bfa_defs_fcpim_throttle_s
 
struct  bfa_port_cfg_s
 
struct  bfa_port_attr_s
 
struct  bfa_port_fcpmap_s
 
struct  bfa_port_rnid_s
 
struct  bfa_fcport_fcf_s
 
struct  bfa_trunk_vc_attr_s
 
struct  bfa_fcport_loop_info_s
 
struct  bfa_port_link_s
 
struct  bfa_trunk_link_attr_s
 
struct  bfa_trunk_attr_s
 
struct  bfa_rport_hal_stats_s
 
struct  bfa_rport_qos_attr_s
 
struct  bfa_itnim_latency_s
 
struct  bfa_itnim_ioprofile_s
 
struct  bfa_vhba_attr_s
 
struct  bfa_port_fc_stats_s
 
struct  bfa_port_eth_stats_s
 
union  bfa_port_stats_u
 
struct  bfa_port_cfg_mode_s
 
struct  bfa_cee_lldp_str_s
 
struct  bfa_cee_lldp_cfg_s
 
struct  bfa_cee_dcbx_cfg_s
 
struct  bfa_cee_attr_s
 
struct  bfa_cee_stats_s
 
struct  bfa_rport_aen_data_s
 
union  bfa_aen_data_u
 
struct  bfa_aen_entry_s
 

Macros

#define BFA_IOCFC_INTR_DELAY   1125
 
#define BFA_IOCFC_INTR_LATENCY   225
 
#define BFA_IOCFCOE_INTR_DELAY   25
 
#define BFA_IOCFCOE_INTR_LATENCY   5
 
#define BFA_IOCFC_PATHTOV_MAX   60
 
#define BFA_IOCFC_QDEPTH_MAX   2000
 
#define BFA_QOS_MAX_VC   16
 
#define BFA_PORT_OPMODE_LB_HARD(_mode)
 
#define MAX_LUN_MASK_CFG   16
 
#define MAX_LUN_MASK_CFG   16
 
#define BFA_TRUNK_MAX_PORTS   2
 
#define BFA_IOBUCKET_MAX   14
 
#define BFA_CEE_LLDP_MAX_STRING_LEN   (128)
 
#define BFA_CEE_DCBX_MAX_PRIORITY   (8)
 
#define BFA_CEE_DCBX_MAX_PGID   (8)
 
#define BFAD_NL_VENDOR_ID
 
#define BFA_AEN_MAX_ENTRY   512
 

Enumerations

enum  bfa_qos_state { BFA_QOS_DISABLED = 0, BFA_QOS_ONLINE = 1, BFA_QOS_OFFLINE = 2 }
 
enum  bfa_qos_priority { BFA_QOS_UNKNOWN = 0, BFA_QOS_HIGH = 1, BFA_QOS_MED = 2, BFA_QOS_LOW = 3 }
 
enum  bfa_qos_bw_alloc { BFA_QOS_BW_HIGH = 60, BFA_QOS_BW_MED = 30, BFA_QOS_BW_LOW = 10 }
 
enum  bfa_port_states {
  BFA_PORT_ST_UNINIT = 1, BFA_PORT_ST_ENABLING_QWAIT = 2, BFA_PORT_ST_ENABLING = 3, BFA_PORT_ST_LINKDOWN = 4,
  BFA_PORT_ST_LINKUP = 5, BFA_PORT_ST_DISABLING_QWAIT = 6, BFA_PORT_ST_DISABLING = 7, BFA_PORT_ST_DISABLED = 8,
  BFA_PORT_ST_STOPPED = 9, BFA_PORT_ST_IOCDOWN = 10, BFA_PORT_ST_IOCDIS = 11, BFA_PORT_ST_FWMISMATCH = 12,
  BFA_PORT_ST_PREBOOT_DISABLED = 13, BFA_PORT_ST_TOGGLING_QWAIT = 14, BFA_PORT_ST_FAA_MISCONFIG = 15, BFA_PORT_ST_DPORT = 16,
  BFA_PORT_ST_MAX_STATE
}
 
enum  bfa_port_type {
  BFA_PORT_TYPE_UNKNOWN = 1, BFA_PORT_TYPE_NPORT = 5, BFA_PORT_TYPE_NLPORT = 6, BFA_PORT_TYPE_LPORT = 20,
  BFA_PORT_TYPE_P2P = 21, BFA_PORT_TYPE_VPORT = 22
}
 
enum  bfa_port_topology {
  BFA_PORT_TOPOLOGY_NONE = 0, BFA_PORT_TOPOLOGY_P2P_OLD_VER = 1, BFA_PORT_TOPOLOGY_LOOP = 2, BFA_PORT_TOPOLOGY_AUTO_OLD_VER = 3,
  BFA_PORT_TOPOLOGY_AUTO = 4, BFA_PORT_TOPOLOGY_P2P = 5
}
 
enum  bfa_port_opmode {
  BFA_PORT_OPMODE_NORMAL = 0x00, BFA_PORT_OPMODE_LB_INT = 0x01, BFA_PORT_OPMODE_LB_SLW = 0x02, BFA_PORT_OPMODE_LB_EXT = 0x04,
  BFA_PORT_OPMODE_LB_CBL = 0x08, BFA_PORT_OPMODE_LB_NLINT = 0x20
}
 
enum  bfa_port_linkstate { BFA_PORT_LINKUP = 1, BFA_PORT_LINKDOWN = 2 }
 
enum  bfa_port_linkstate_rsn {
  BFA_PORT_LINKSTATE_RSN_NONE = 0, BFA_PORT_LINKSTATE_RSN_DISABLED = 1, BFA_PORT_LINKSTATE_RSN_RX_NOS = 2, BFA_PORT_LINKSTATE_RSN_RX_OLS = 3,
  BFA_PORT_LINKSTATE_RSN_RX_LIP = 4, BFA_PORT_LINKSTATE_RSN_RX_LIPF7 = 5, BFA_PORT_LINKSTATE_RSN_SFP_REMOVED = 6, BFA_PORT_LINKSTATE_RSN_PORT_FAULT = 7,
  BFA_PORT_LINKSTATE_RSN_RX_LOS = 8, BFA_PORT_LINKSTATE_RSN_LOCAL_FAULT = 9, BFA_PORT_LINKSTATE_RSN_REMOTE_FAULT = 10, BFA_PORT_LINKSTATE_RSN_TIMEOUT = 11,
  BFA_PORT_LINKSTATE_RSN_FAA_MISCONFIG = 12, CEE_LLDP_INFO_AGED_OUT = 20, CEE_LLDP_SHUTDOWN_TLV_RCVD = 21, CEE_PEER_NOT_ADVERTISE_DCBX = 22,
  CEE_PEER_NOT_ADVERTISE_PG = 23, CEE_PEER_NOT_ADVERTISE_PFC = 24, CEE_PEER_NOT_ADVERTISE_FCOE = 25, CEE_PG_NOT_COMPATIBLE = 26,
  CEE_PFC_NOT_COMPATIBLE = 27, CEE_FCOE_NOT_COMPATIBLE = 28, CEE_BAD_PG_RCVD = 29, CEE_BAD_BW_RCVD = 30,
  CEE_BAD_PFC_RCVD = 31, CEE_BAD_APP_PRI_RCVD = 32, CEE_FCOE_PRI_PFC_OFF = 33, CEE_DUP_CONTROL_TLV_RCVD = 34,
  CEE_DUP_FEAT_TLV_RCVD = 35, CEE_APPLY_NEW_CFG = 36, CEE_PROTOCOL_INIT = 37, CEE_PHY_LINK_DOWN = 38,
  CEE_LLS_FCOE_ABSENT = 39, CEE_LLS_FCOE_DOWN = 40, CEE_ISCSI_NOT_COMPATIBLE = 41, CEE_ISCSI_PRI_PFC_OFF = 42,
  CEE_ISCSI_PRI_OVERLAP_FCOE_PRI = 43
}
 
enum  bfa_ioim_lun_mask_state_s { BFA_IOIM_LUN_MASK_INACTIVE = 0, BFA_IOIM_LUN_MASK_ACTIVE = 1, BFA_IOIM_LUN_MASK_FETCHED = 2 }
 
enum  bfa_lunmask_state_s { BFA_LUNMASK_DISABLED = 0x00, BFA_LUNMASK_ENABLED = 0x01, BFA_LUNMASK_MINCFG = 0x02, BFA_LUNMASK_UNINITIALIZED = 0xff }
 
enum  bfa_trunk_state { BFA_TRUNK_DISABLED = 0, BFA_TRUNK_ONLINE = 1, BFA_TRUNK_OFFLINE = 2 }
 
enum  bfa_trunk_link_fctl { BFA_TRUNK_LINK_FCTL_NORMAL, BFA_TRUNK_LINK_FCTL_VC, BFA_TRUNK_LINK_FCTL_VC_QOS }
 
enum  bfa_trunk_link_state {
  BFA_TRUNK_LINK_STATE_UP = 1, BFA_TRUNK_LINK_STATE_DN_LINKDN = 2, BFA_TRUNK_LINK_STATE_DN_GRP_MIS = 3, BFA_TRUNK_LINK_STATE_DN_SPD_MIS = 4,
  BFA_TRUNK_LINK_STATE_DN_MODE_MIS = 5
}
 
enum  bfa_rport_aen_event {
  BFA_RPORT_AEN_ONLINE = 1, BFA_RPORT_AEN_OFFLINE = 2, BFA_RPORT_AEN_DISCONNECT = 3, BFA_RPORT_AEN_QOS_PRIO = 4,
  BFA_RPORT_AEN_QOS_FLOWID = 5
}
 

Macro Definition Documentation

#define BFA_AEN_MAX_ENTRY   512

Definition at line 1395 of file bfa_defs_svc.h.

#define BFA_CEE_DCBX_MAX_PGID   (8)

Definition at line 1290 of file bfa_defs_svc.h.

#define BFA_CEE_DCBX_MAX_PRIORITY   (8)

Definition at line 1289 of file bfa_defs_svc.h.

#define BFA_CEE_LLDP_MAX_STRING_LEN   (128)

Definition at line 1288 of file bfa_defs_svc.h.

#define BFA_IOBUCKET_MAX   14

Definition at line 1148 of file bfa_defs_svc.h.

#define BFA_IOCFC_INTR_DELAY   1125

Definition at line 25 of file bfa_defs_svc.h.

#define BFA_IOCFC_INTR_LATENCY   225

Definition at line 26 of file bfa_defs_svc.h.

#define BFA_IOCFC_PATHTOV_MAX   60

Definition at line 498 of file bfa_defs_svc.h.

#define BFA_IOCFC_QDEPTH_MAX   2000

Definition at line 499 of file bfa_defs_svc.h.

#define BFA_IOCFCOE_INTR_DELAY   25

Definition at line 27 of file bfa_defs_svc.h.

#define BFA_IOCFCOE_INTR_LATENCY   5

Definition at line 28 of file bfa_defs_svc.h.

#define BFA_PORT_OPMODE_LB_HARD (   _mode)
Value:
((_mode == BFA_PORT_OPMODE_LB_INT) || \
(_mode == BFA_PORT_OPMODE_LB_SLW) || \

Definition at line 779 of file bfa_defs_svc.h.

#define BFA_QOS_MAX_VC   16

Definition at line 554 of file bfa_defs_svc.h.

#define BFA_TRUNK_MAX_PORTS   2

Definition at line 1080 of file bfa_defs_svc.h.

#define BFAD_NL_VENDOR_ID
Value:

Definition at line 1362 of file bfa_defs_svc.h.

#define MAX_LUN_MASK_CFG   16

Definition at line 875 of file bfa_defs_svc.h.

#define MAX_LUN_MASK_CFG   16

Definition at line 875 of file bfa_defs_svc.h.

Enumeration Type Documentation

Enumerator:
BFA_IOIM_LUN_MASK_INACTIVE 
BFA_IOIM_LUN_MASK_ACTIVE 
BFA_IOIM_LUN_MASK_FETCHED 

Definition at line 847 of file bfa_defs_svc.h.

Enumerator:
BFA_LUNMASK_DISABLED 
BFA_LUNMASK_ENABLED 
BFA_LUNMASK_MINCFG 
BFA_LUNMASK_UNINITIALIZED 

Definition at line 853 of file bfa_defs_svc.h.

Enumerator:
BFA_PORT_LINKUP 
BFA_PORT_LINKDOWN 

Definition at line 787 of file bfa_defs_svc.h.

Enumerator:
BFA_PORT_LINKSTATE_RSN_NONE 
BFA_PORT_LINKSTATE_RSN_DISABLED 
BFA_PORT_LINKSTATE_RSN_RX_NOS 
BFA_PORT_LINKSTATE_RSN_RX_OLS 
BFA_PORT_LINKSTATE_RSN_RX_LIP 
BFA_PORT_LINKSTATE_RSN_RX_LIPF7 
BFA_PORT_LINKSTATE_RSN_SFP_REMOVED 
BFA_PORT_LINKSTATE_RSN_PORT_FAULT 
BFA_PORT_LINKSTATE_RSN_RX_LOS 
BFA_PORT_LINKSTATE_RSN_LOCAL_FAULT 
BFA_PORT_LINKSTATE_RSN_REMOTE_FAULT 
BFA_PORT_LINKSTATE_RSN_TIMEOUT 
BFA_PORT_LINKSTATE_RSN_FAA_MISCONFIG 
CEE_LLDP_INFO_AGED_OUT 
CEE_LLDP_SHUTDOWN_TLV_RCVD 
CEE_PEER_NOT_ADVERTISE_DCBX 
CEE_PEER_NOT_ADVERTISE_PG 
CEE_PEER_NOT_ADVERTISE_PFC 
CEE_PEER_NOT_ADVERTISE_FCOE 
CEE_PG_NOT_COMPATIBLE 
CEE_PFC_NOT_COMPATIBLE 
CEE_FCOE_NOT_COMPATIBLE 
CEE_BAD_PG_RCVD 
CEE_BAD_BW_RCVD 
CEE_BAD_PFC_RCVD 
CEE_BAD_APP_PRI_RCVD 
CEE_FCOE_PRI_PFC_OFF 
CEE_DUP_CONTROL_TLV_RCVD 
CEE_DUP_FEAT_TLV_RCVD 
CEE_APPLY_NEW_CFG 
CEE_PROTOCOL_INIT 
CEE_PHY_LINK_DOWN 
CEE_LLS_FCOE_ABSENT 
CEE_LLS_FCOE_DOWN 
CEE_ISCSI_NOT_COMPATIBLE 
CEE_ISCSI_PRI_PFC_OFF 
CEE_ISCSI_PRI_OVERLAP_FCOE_PRI 

Definition at line 795 of file bfa_defs_svc.h.

Enumerator:
BFA_PORT_OPMODE_NORMAL 
BFA_PORT_OPMODE_LB_INT 
BFA_PORT_OPMODE_LB_SLW 
BFA_PORT_OPMODE_LB_EXT 
BFA_PORT_OPMODE_LB_CBL 
BFA_PORT_OPMODE_LB_NLINT 

Definition at line 770 of file bfa_defs_svc.h.

Enumerator:
BFA_PORT_ST_UNINIT 
BFA_PORT_ST_ENABLING_QWAIT 
BFA_PORT_ST_ENABLING 
BFA_PORT_ST_LINKDOWN 
BFA_PORT_ST_LINKUP 
BFA_PORT_ST_DISABLING_QWAIT 
BFA_PORT_ST_DISABLING 
BFA_PORT_ST_DISABLED 
BFA_PORT_ST_STOPPED 
BFA_PORT_ST_IOCDOWN 
BFA_PORT_ST_IOCDIS 
BFA_PORT_ST_FWMISMATCH 
BFA_PORT_ST_PREBOOT_DISABLED 
BFA_PORT_ST_TOGGLING_QWAIT 
BFA_PORT_ST_FAA_MISCONFIG 
BFA_PORT_ST_DPORT 
BFA_PORT_ST_MAX_STATE 

Definition at line 722 of file bfa_defs_svc.h.

Enumerator:
BFA_PORT_TOPOLOGY_NONE 
BFA_PORT_TOPOLOGY_P2P_OLD_VER 
BFA_PORT_TOPOLOGY_LOOP 
BFA_PORT_TOPOLOGY_AUTO_OLD_VER 
BFA_PORT_TOPOLOGY_AUTO 
BFA_PORT_TOPOLOGY_P2P 

Definition at line 758 of file bfa_defs_svc.h.

Enumerator:
BFA_PORT_TYPE_UNKNOWN 
BFA_PORT_TYPE_NPORT 
BFA_PORT_TYPE_NLPORT 
BFA_PORT_TYPE_LPORT 
BFA_PORT_TYPE_P2P 
BFA_PORT_TYPE_VPORT 

Definition at line 745 of file bfa_defs_svc.h.

Enumerator:
BFA_QOS_BW_HIGH 
BFA_QOS_BW_MED 
BFA_QOS_BW_LOW 

Definition at line 523 of file bfa_defs_svc.h.

Enumerator:
BFA_QOS_UNKNOWN 
BFA_QOS_HIGH 
BFA_QOS_MED 
BFA_QOS_LOW 

Definition at line 513 of file bfa_defs_svc.h.

Enumerator:
BFA_QOS_DISABLED 
BFA_QOS_ONLINE 
BFA_QOS_OFFLINE 

Definition at line 504 of file bfa_defs_svc.h.

Enumerator:
BFA_RPORT_AEN_ONLINE 
BFA_RPORT_AEN_OFFLINE 
BFA_RPORT_AEN_DISCONNECT 
BFA_RPORT_AEN_QOS_PRIO 
BFA_RPORT_AEN_QOS_FLOWID 

Definition at line 1366 of file bfa_defs_svc.h.

Enumerator:
BFA_TRUNK_LINK_FCTL_NORMAL 
BFA_TRUNK_LINK_FCTL_VC 
BFA_TRUNK_LINK_FCTL_VC_QOS 

Definition at line 1066 of file bfa_defs_svc.h.

Enumerator:
BFA_TRUNK_LINK_STATE_UP 
BFA_TRUNK_LINK_STATE_DN_LINKDN 
BFA_TRUNK_LINK_STATE_DN_GRP_MIS 
BFA_TRUNK_LINK_STATE_DN_SPD_MIS 
BFA_TRUNK_LINK_STATE_DN_MODE_MIS 

Definition at line 1072 of file bfa_defs_svc.h.

Enumerator:
BFA_TRUNK_DISABLED 
BFA_TRUNK_ONLINE 
BFA_TRUNK_OFFLINE 

Definition at line 1018 of file bfa_defs_svc.h.