#include <linux/types.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/idr.h>
#include <linux/interrupt.h>
#include <linux/cdev.h>
#include <linux/fs.h>
#include <linux/delay.h>
#include <linux/vmalloc.h>
#include <linux/workqueue.h>
#include <linux/bitops.h>
#include <linux/aer.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_transport_fc.h>
#include <scsi/scsi_transport.h>
#include <scsi/scsi_bsg_fc.h>
#include <scsi/scsi_devinfo.h>
#include "bfa_modules.h"
#include "bfa_fcs.h"
#include "bfa_defs_fcs.h"
#include "bfa_plog.h"
#include "bfa_cs.h"
Go to the source code of this file.
|
enum | { BFA_TRC_LDRV_BFAD = 1,
BFA_TRC_LDRV_IM = 2,
BFA_TRC_LDRV_BSG = 3
} |
|
enum | bfad_port_pvb_type { BFAD_PORT_PHYS_BASE = 0,
BFAD_PORT_PHYS_VPORT = 1,
BFAD_PORT_VF_BASE = 2,
BFAD_PORT_VF_VPORT = 3
} |
|
enum | bfad_sm_event {
BFAD_E_CREATE = 1,
BFAD_E_KTHREAD_CREATE_FAILED = 2,
BFAD_E_INIT = 3,
BFAD_E_INIT_SUCCESS = 4,
BFAD_E_INIT_FAILED = 5,
BFAD_E_INTR_INIT_FAILED = 6,
BFAD_E_FCS_EXIT_COMP = 7,
BFAD_E_EXIT_COMP = 8,
BFAD_E_STOP = 9
} |
|
|
bfa_status_t | bfad_vport_create (struct bfad_s *bfad, u16 vf_id, struct bfa_lport_cfg_s *port_cfg, struct device *dev) |
|
bfa_status_t | bfad_vf_create (struct bfad_s *bfad, u16 vf_id, struct bfa_lport_cfg_s *port_cfg) |
|
bfa_status_t | bfad_cfg_pport (struct bfad_s *bfad, enum bfa_lport_role role) |
|
bfa_status_t | bfad_drv_init (struct bfad_s *bfad) |
|
bfa_status_t | bfad_start_ops (struct bfad_s *bfad) |
|
void | bfad_drv_start (struct bfad_s *bfad) |
|
void | bfad_uncfg_pport (struct bfad_s *bfad) |
|
void | bfad_stop (struct bfad_s *bfad) |
|
void | bfad_fcs_stop (struct bfad_s *bfad) |
|
void | bfad_remove_intr (struct bfad_s *bfad) |
|
void | bfad_hal_mem_release (struct bfad_s *bfad) |
|
void | bfad_hcb_comp (void *arg, bfa_status_t status) |
|
int | bfad_setup_intr (struct bfad_s *bfad) |
|
void | bfad_update_hal_cfg (struct bfa_iocfc_cfg_s *bfa_cfg) |
|
bfa_status_t | bfad_hal_mem_alloc (struct bfad_s *bfad) |
|
void | bfad_bfa_tmo (unsigned long data) |
|
void | bfad_init_timer (struct bfad_s *bfad) |
|
int | bfad_pci_init (struct pci_dev *pdev, struct bfad_s *bfad) |
|
void | bfad_pci_uninit (struct pci_dev *pdev, struct bfad_s *bfad) |
|
void | bfad_drv_uninit (struct bfad_s *bfad) |
|
int | bfad_worker (void *ptr) |
|
void | bfad_debugfs_init (struct bfad_port_s *port) |
|
void | bfad_debugfs_exit (struct bfad_port_s *port) |
|
void | bfad_pci_remove (struct pci_dev *pdev) |
|
int | bfad_pci_probe (struct pci_dev *pdev, const struct pci_device_id *pid) |
|
void | bfad_rport_online_wait (struct bfad_s *bfad) |
|
int | bfad_get_linkup_delay (struct bfad_s *bfad) |
|
int | bfad_install_msix_handler (struct bfad_s *bfad) |
|
#define BFAD_CFG_PPORT_DONE 0x00000008 |
#define BFAD_DRIVER_NAME "bfa" |
#define BFAD_DRIVER_VERSION "3.1.2.1" |
#define BFAD_DRV_INIT_DONE 0x00000004 |
#define BFAD_EEH_BUSY 0x00000800 |
#define BFAD_EEH_PCI_CHANNEL_IO_PERM_FAILURE 0x00001000 |
#define BFAD_FC4_PROBE_DONE 0x00000200 |
#define BFAD_FCS_INIT_DONE 0x00000080 |
#define BFAD_HAL_INIT_DONE 0x00000002 |
#define BFAD_HAL_INIT_FAIL 0x00000100 |
#define BFAD_HAL_START_DONE 0x00000010 |
#define BFAD_INTX_ON 0x00000400 |
#define BFAD_IO_MAX_SGE SG_ALL |
#define BFAD_LUN_QUEUE_DEPTH 32 |
#define BFAD_MAX_SECTORS 0xFFFF /* 32 MB */ |
#define BFAD_MIN_SECTORS 128 /* 64k */ |
#define BFAD_MSIX_ON 0x00000001 |
#define BFAD_PORT_DELETE 0x00000001 |
#define BFAD_PORT_ONLINE 0x00000020 |
#define BFAD_RPORT_ONLINE 0x00000040 |
#define BFAD_STOP_TIMEOUT 30 |
#define MAX_MSIX_ENTRY 22 |
#define SCSI_SCAN_DELAY HZ |
- Enumerator:
BFA_TRC_LDRV_BFAD |
|
BFA_TRC_LDRV_IM |
|
BFA_TRC_LDRV_BSG |
|
Definition at line 116 of file bfad_drv.h.
- Enumerator:
BFAD_PORT_PHYS_BASE |
|
BFAD_PORT_PHYS_VPORT |
|
BFAD_PORT_VF_BASE |
|
BFAD_PORT_VF_VPORT |
|
Definition at line 122 of file bfad_drv.h.
- Enumerator:
BFAD_E_CREATE |
|
BFAD_E_KTHREAD_CREATE_FAILED |
|
BFAD_E_INIT |
|
BFAD_E_INIT_SUCCESS |
|
BFAD_E_INIT_FAILED |
|
BFAD_E_INTR_INIT_FAILED |
|
BFAD_E_FCS_EXIT_COMP |
|
BFAD_E_EXIT_COMP |
|
BFAD_E_STOP |
|
Definition at line 238 of file bfad_drv.h.