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

Go to the source code of this file.

Data Structures

struct  bfa_bsg_gen_s
 
struct  bfa_bsg_portlogctl_s
 
struct  bfa_bsg_fcpim_profile_s
 
struct  bfa_bsg_itnim_ioprofile_s
 
struct  bfa_bsg_fcport_stats_s
 
struct  bfa_bsg_ioc_name_s
 
struct  bfa_bsg_ioc_info_s
 
struct  bfa_bsg_ioc_attr_s
 
struct  bfa_bsg_ioc_stats_s
 
struct  bfa_bsg_ioc_fwstats_s
 
struct  bfa_bsg_iocfc_attr_s
 
struct  bfa_bsg_iocfc_intr_s
 
struct  bfa_bsg_port_attr_s
 
struct  bfa_bsg_port_cfg_s
 
struct  bfa_bsg_port_cfg_maxfrsize_s
 
struct  bfa_bsg_port_stats_s
 
struct  bfa_bsg_lport_attr_s
 
struct  bfa_bsg_lport_stats_s
 
struct  bfa_bsg_lport_iostats_s
 
struct  bfa_bsg_lport_get_rports_s
 
struct  bfa_bsg_rport_attr_s
 
struct  bfa_bsg_rport_stats_s
 
struct  bfa_bsg_rport_scsi_addr_s
 
struct  bfa_bsg_rport_reset_stats_s
 
struct  bfa_bsg_rport_set_speed_s
 
struct  bfa_bsg_vport_attr_s
 
struct  bfa_bsg_vport_stats_s
 
struct  bfa_bsg_reset_stats_s
 
struct  bfa_bsg_fabric_get_lports_s
 
struct  bfa_bsg_trl_speed_s
 
struct  bfa_bsg_fcpim_s
 
struct  bfa_bsg_fcpim_modstats_s
 
struct  bfa_bsg_fcpim_del_itn_stats_s
 
struct  bfa_bsg_fcpim_modstatsclr_s
 
struct  bfa_bsg_itnim_attr_s
 
struct  bfa_bsg_itnim_iostats_s
 
struct  bfa_bsg_itnim_itnstats_s
 
struct  bfa_bsg_pcifn_cfg_s
 
struct  bfa_bsg_pcifn_s
 
struct  bfa_bsg_adapter_cfg_mode_s
 
struct  bfa_bsg_port_cfg_mode_s
 
struct  bfa_bsg_faa_attr_s
 
struct  bfa_bsg_cee_attr_s
 
struct  bfa_bsg_cee_stats_s
 
struct  bfa_bsg_sfp_media_s
 
struct  bfa_bsg_sfp_speed_s
 
struct  bfa_bsg_flash_attr_s
 
struct  bfa_bsg_flash_s
 
struct  bfa_bsg_diag_get_temp_s
 
struct  bfa_bsg_diag_memtest_s
 
struct  bfa_bsg_diag_loopback_s
 
struct  bfa_bsg_diag_fwping_s
 
struct  bfa_bsg_diag_qtest_s
 
struct  bfa_bsg_sfp_show_s
 
struct  bfa_bsg_diag_led_s
 
struct  bfa_bsg_diag_beacon_s
 
struct  bfa_bsg_diag_lb_stat_s
 
struct  bfa_bsg_diag_dport_get_state_s
 
struct  bfa_bsg_phy_attr_s
 
struct  bfa_bsg_phy_s
 
struct  bfa_bsg_debug_s
 
struct  bfa_bsg_phy_stats_s
 
struct  bfa_bsg_vhba_attr_s
 
struct  bfa_bsg_boot_s
 
struct  bfa_bsg_preboot_s
 
struct  bfa_bsg_ethboot_s
 
struct  bfa_bsg_trunk_attr_s
 
struct  bfa_bsg_qos_attr_s
 
struct  bfa_bsg_qos_vc_attr_s
 
struct  bfa_bsg_qos_bw_s
 
struct  bfa_bsg_vf_stats_s
 
struct  bfa_bsg_vf_reset_stats_s
 
struct  bfa_bsg_fcpim_lunmask_query_s
 
struct  bfa_bsg_fcpim_lunmask_s
 
struct  bfa_bsg_fcpim_throttle_s
 
struct  bfa_bsg_tfru_s
 
struct  bfa_bsg_fruvpd_s
 
struct  bfa_bsg_fruvpd_max_size_s
 
struct  bfa_bsg_fcpt_s
 
struct  bfa_bsg_data
 

Macros

#define BFA_TFRU_DATA_SIZE   64
 
#define BFA_MAX_FRUVPD_TRANSFER_SIZE   0x1000
 
#define bfa_bsg_fcpt_t   struct bfa_bsg_fcpt_s
 
#define bfad_chk_iocmd_sz(__payload_len, __hdrsz, __bufsz)
 

Enumerations

enum  {
  IOCMD_IOC_ENABLE = 0x1, IOCMD_IOC_DISABLE, IOCMD_IOC_GET_ATTR, IOCMD_IOC_GET_INFO,
  IOCMD_IOC_GET_STATS, IOCMD_IOC_GET_FWSTATS, IOCMD_IOC_RESET_STATS, IOCMD_IOC_RESET_FWSTATS,
  IOCMD_IOC_SET_ADAPTER_NAME, IOCMD_IOC_SET_PORT_NAME, IOCMD_IOCFC_GET_ATTR, IOCMD_IOCFC_SET_INTR,
  IOCMD_PORT_ENABLE, IOCMD_PORT_DISABLE, IOCMD_PORT_GET_ATTR, IOCMD_PORT_GET_STATS,
  IOCMD_PORT_RESET_STATS, IOCMD_PORT_CFG_TOPO, IOCMD_PORT_CFG_SPEED, IOCMD_PORT_CFG_ALPA,
  IOCMD_PORT_CFG_MAXFRSZ, IOCMD_PORT_CLR_ALPA, IOCMD_PORT_BBSC_ENABLE, IOCMD_PORT_BBSC_DISABLE,
  IOCMD_LPORT_GET_ATTR, IOCMD_LPORT_GET_RPORTS, IOCMD_LPORT_GET_STATS, IOCMD_LPORT_RESET_STATS,
  IOCMD_LPORT_GET_IOSTATS, IOCMD_RPORT_GET_ATTR, IOCMD_RPORT_GET_ADDR, IOCMD_RPORT_GET_STATS,
  IOCMD_RPORT_RESET_STATS, IOCMD_RPORT_SET_SPEED, IOCMD_VPORT_GET_ATTR, IOCMD_VPORT_GET_STATS,
  IOCMD_VPORT_RESET_STATS, IOCMD_FABRIC_GET_LPORTS, IOCMD_RATELIM_ENABLE, IOCMD_RATELIM_DISABLE,
  IOCMD_RATELIM_DEF_SPEED, IOCMD_FCPIM_FAILOVER, IOCMD_FCPIM_MODSTATS, IOCMD_FCPIM_MODSTATSCLR,
  IOCMD_FCPIM_DEL_ITN_STATS, IOCMD_ITNIM_GET_ATTR, IOCMD_ITNIM_GET_IOSTATS, IOCMD_ITNIM_RESET_STATS,
  IOCMD_ITNIM_GET_ITNSTATS, IOCMD_IOC_PCIFN_CFG, IOCMD_FCPORT_ENABLE, IOCMD_FCPORT_DISABLE,
  IOCMD_PCIFN_CREATE, IOCMD_PCIFN_DELETE, IOCMD_PCIFN_BW, IOCMD_ADAPTER_CFG_MODE,
  IOCMD_PORT_CFG_MODE, IOCMD_FLASH_ENABLE_OPTROM, IOCMD_FLASH_DISABLE_OPTROM, IOCMD_FAA_QUERY,
  IOCMD_CEE_GET_ATTR, IOCMD_CEE_GET_STATS, IOCMD_CEE_RESET_STATS, IOCMD_SFP_MEDIA,
  IOCMD_SFP_SPEED, IOCMD_FLASH_GET_ATTR, IOCMD_FLASH_ERASE_PART, IOCMD_FLASH_UPDATE_PART,
  IOCMD_FLASH_READ_PART, IOCMD_DIAG_TEMP, IOCMD_DIAG_MEMTEST, IOCMD_DIAG_LOOPBACK,
  IOCMD_DIAG_FWPING, IOCMD_DIAG_QUEUETEST, IOCMD_DIAG_SFP, IOCMD_DIAG_LED,
  IOCMD_DIAG_BEACON_LPORT, IOCMD_DIAG_LB_STAT, IOCMD_PHY_GET_ATTR, IOCMD_PHY_GET_STATS,
  IOCMD_PHY_UPDATE_FW, IOCMD_PHY_READ_FW, IOCMD_VHBA_QUERY, IOCMD_DEBUG_PORTLOG,
  IOCMD_DEBUG_FW_CORE, IOCMD_DEBUG_FW_STATE_CLR, IOCMD_DEBUG_PORTLOG_CLR, IOCMD_DEBUG_START_DTRC,
  IOCMD_DEBUG_STOP_DTRC, IOCMD_DEBUG_PORTLOG_CTL, IOCMD_FCPIM_PROFILE_ON, IOCMD_FCPIM_PROFILE_OFF,
  IOCMD_ITNIM_GET_IOPROFILE, IOCMD_FCPORT_GET_STATS, IOCMD_FCPORT_RESET_STATS, IOCMD_BOOT_CFG,
  IOCMD_BOOT_QUERY, IOCMD_PREBOOT_QUERY, IOCMD_ETHBOOT_CFG, IOCMD_ETHBOOT_QUERY,
  IOCMD_TRUNK_ENABLE, IOCMD_TRUNK_DISABLE, IOCMD_TRUNK_GET_ATTR, IOCMD_QOS_ENABLE,
  IOCMD_QOS_DISABLE, IOCMD_QOS_GET_ATTR, IOCMD_QOS_GET_VC_ATTR, IOCMD_QOS_GET_STATS,
  IOCMD_QOS_RESET_STATS, IOCMD_VF_GET_STATS, IOCMD_VF_RESET_STATS, IOCMD_FCPIM_LUNMASK_ENABLE,
  IOCMD_FCPIM_LUNMASK_DISABLE, IOCMD_FCPIM_LUNMASK_CLEAR, IOCMD_FCPIM_LUNMASK_QUERY, IOCMD_FCPIM_LUNMASK_ADD,
  IOCMD_FCPIM_LUNMASK_DELETE, IOCMD_DIAG_DPORT_ENABLE, IOCMD_DIAG_DPORT_DISABLE, IOCMD_DIAG_DPORT_GET_STATE,
  IOCMD_QOS_SET_BW, IOCMD_FCPIM_THROTTLE_QUERY, IOCMD_FCPIM_THROTTLE_SET, IOCMD_TFRU_READ,
  IOCMD_TFRU_WRITE, IOCMD_FRUVPD_READ, IOCMD_FRUVPD_UPDATE, IOCMD_FRUVPD_GET_MAX_SIZE
}
 

Macro Definition Documentation

#define bfa_bsg_fcpt_t   struct bfa_bsg_fcpt_s

Definition at line 796 of file bfad_bsg.h.

#define BFA_MAX_FRUVPD_TRANSFER_SIZE   0x1000

Definition at line 759 of file bfad_bsg.h.

#define BFA_TFRU_DATA_SIZE   64

Definition at line 758 of file bfad_bsg.h.

#define bfad_chk_iocmd_sz (   __payload_len,
  __hdrsz,
  __bufsz 
)
Value:
(((__payload_len) != ((__hdrsz) + (__bufsz))) ? \

Definition at line 803 of file bfad_bsg.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
IOCMD_IOC_ENABLE 
IOCMD_IOC_DISABLE 
IOCMD_IOC_GET_ATTR 
IOCMD_IOC_GET_INFO 
IOCMD_IOC_GET_STATS 
IOCMD_IOC_GET_FWSTATS 
IOCMD_IOC_RESET_STATS 
IOCMD_IOC_RESET_FWSTATS 
IOCMD_IOC_SET_ADAPTER_NAME 
IOCMD_IOC_SET_PORT_NAME 
IOCMD_IOCFC_GET_ATTR 
IOCMD_IOCFC_SET_INTR 
IOCMD_PORT_ENABLE 
IOCMD_PORT_DISABLE 
IOCMD_PORT_GET_ATTR 
IOCMD_PORT_GET_STATS 
IOCMD_PORT_RESET_STATS 
IOCMD_PORT_CFG_TOPO 
IOCMD_PORT_CFG_SPEED 
IOCMD_PORT_CFG_ALPA 
IOCMD_PORT_CFG_MAXFRSZ 
IOCMD_PORT_CLR_ALPA 
IOCMD_PORT_BBSC_ENABLE 
IOCMD_PORT_BBSC_DISABLE 
IOCMD_LPORT_GET_ATTR 
IOCMD_LPORT_GET_RPORTS 
IOCMD_LPORT_GET_STATS 
IOCMD_LPORT_RESET_STATS 
IOCMD_LPORT_GET_IOSTATS 
IOCMD_RPORT_GET_ATTR 
IOCMD_RPORT_GET_ADDR 
IOCMD_RPORT_GET_STATS 
IOCMD_RPORT_RESET_STATS 
IOCMD_RPORT_SET_SPEED 
IOCMD_VPORT_GET_ATTR 
IOCMD_VPORT_GET_STATS 
IOCMD_VPORT_RESET_STATS 
IOCMD_FABRIC_GET_LPORTS 
IOCMD_RATELIM_ENABLE 
IOCMD_RATELIM_DISABLE 
IOCMD_RATELIM_DEF_SPEED 
IOCMD_FCPIM_FAILOVER 
IOCMD_FCPIM_MODSTATS 
IOCMD_FCPIM_MODSTATSCLR 
IOCMD_FCPIM_DEL_ITN_STATS 
IOCMD_ITNIM_GET_ATTR 
IOCMD_ITNIM_GET_IOSTATS 
IOCMD_ITNIM_RESET_STATS 
IOCMD_ITNIM_GET_ITNSTATS 
IOCMD_IOC_PCIFN_CFG 
IOCMD_FCPORT_ENABLE 
IOCMD_FCPORT_DISABLE 
IOCMD_PCIFN_CREATE 
IOCMD_PCIFN_DELETE 
IOCMD_PCIFN_BW 
IOCMD_ADAPTER_CFG_MODE 
IOCMD_PORT_CFG_MODE 
IOCMD_FLASH_ENABLE_OPTROM 
IOCMD_FLASH_DISABLE_OPTROM 
IOCMD_FAA_QUERY 
IOCMD_CEE_GET_ATTR 
IOCMD_CEE_GET_STATS 
IOCMD_CEE_RESET_STATS 
IOCMD_SFP_MEDIA 
I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M_LUNMASK_ADD 
IOCMD_FCPIM_LUNMASK_DELETE 
IOCMD_DIAG_DPORT_ENABLE 
IOCMD_DIAG_DPORT_DISABLE 
IOCMD_DIAG_DPORT_GET_STATE 
IOCMD_QOS_SET_BW 
IOCMD_FCPIM_THROTTLE_QUERY 
IOCMD_FCPIM_THROTTLE_SET 
IOCMD_TFRU_READ 
IOCMD_TFRU_WRITE 
IOCMD_FRUVPD_READ 
IOCMD_FRUVPD_UPDATE 
IOCMD_FRUVPD_GET_MAX_SIZE 

Definition at line 26 of file bfad_bsg.h.