Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
bfa_svc.c File Reference
#include "bfad_drv.h"
#include "bfad_im.h"
#include "bfa_plog.h"
#include "bfa_cs.h"
#include "bfa_modules.h"

Go to the source code of this file.

Macros

#define BFA_LPS_MIN_LPORTS   (1)
 
#define BFA_LPS_MAX_LPORTS   (256)
 
#define BFA_LPS_MAX_VPORTS_SUPP_CB   255
 
#define BFA_LPS_MAX_VPORTS_SUPP_CT   190
 
#define BFA_PORT_IS_DISABLED(bfa)
 
#define bfa_rport_offline_cb(__rp)
 
#define bfa_rport_online_cb(__rp)
 
#define FCPORT_STATS_DMA_SZ
 
#define BFA_FCPORT_STATS_TOV   1000
 
#define BFA_DIAG_QTEST_TOV   1000 /* msec */
 

Enumerations

enum  bfa_fcport_sm_event {
  BFA_FCPORT_SM_START = 1, BFA_FCPORT_SM_STOP = 2, BFA_FCPORT_SM_ENABLE = 3, BFA_FCPORT_SM_DISABLE = 4,
  BFA_FCPORT_SM_FWRSP = 5, BFA_FCPORT_SM_LINKUP = 6, BFA_FCPORT_SM_LINKDOWN = 7, BFA_FCPORT_SM_QRESUME = 8,
  BFA_FCPORT_SM_HWFAIL = 9, BFA_FCPORT_SM_DPORTENABLE = 10, BFA_FCPORT_SM_DPORTDISABLE = 11, BFA_FCPORT_SM_FAA_MISCONFIG = 12
}
 
enum  bfa_fcport_ln_sm_event { BFA_FCPORT_LN_SM_LINKUP = 1, BFA_FCPORT_LN_SM_LINKDOWN = 2, BFA_FCPORT_LN_SM_NOTIFICATION = 3 }
 
enum  bfa_dport_sm_event {
  BFA_DPORT_SM_ENABLE = 1, BFA_DPORT_SM_DISABLE = 2, BFA_DPORT_SM_FWRSP = 3, BFA_DPORT_SM_QRESUME = 4,
  BFA_DPORT_SM_HWFAIL = 5
}
 

Functions

 BFA_TRC_FILE (HAL, FCXP)
 
 BFA_MODULE (fcdiag)
 
 BFA_MODULE (fcxp)
 
 BFA_MODULE (sgpg)
 
 BFA_MODULE (lps)
 
 BFA_MODULE (fcport)
 
 BFA_MODULE (rport)
 
 BFA_MODULE (uf)
 
void bfa_plog_init (struct bfa_plog_s *plog)
 
void bfa_plog_str (struct bfa_plog_s *plog, enum bfa_plog_mid mid, enum bfa_plog_eid event, u16 misc, char *log_str)
 
void bfa_plog_intarr (struct bfa_plog_s *plog, enum bfa_plog_mid mid, enum bfa_plog_eid event, u16 misc, u32 *intarr, u32 num_ints)
 
void bfa_plog_fchdr (struct bfa_plog_s *plog, enum bfa_plog_mid mid, enum bfa_plog_eid event, u16 misc, struct fchs_s *fchdr)
 
void bfa_plog_fchdr_and_pl (struct bfa_plog_s *plog, enum bfa_plog_mid mid, enum bfa_plog_eid event, u16 misc, struct fchs_s *fchdr, u32 pld_w0)
 
struct bfa_fcxp_sbfa_fcxp_req_rsp_alloc (void *caller, struct bfa_s *bfa, int nreq_sgles, int nrsp_sgles, bfa_fcxp_get_sgaddr_t req_sga_cbfn, bfa_fcxp_get_sglen_t req_sglen_cbfn, bfa_fcxp_get_sgaddr_t rsp_sga_cbfn, bfa_fcxp_get_sglen_t rsp_sglen_cbfn, bfa_boolean_t req)
 
voidbfa_fcxp_get_reqbuf (struct bfa_fcxp_s *fcxp)
 
u32 bfa_fcxp_get_reqbufsz (struct bfa_fcxp_s *fcxp)
 
voidbfa_fcxp_get_rspbuf (struct bfa_fcxp_s *fcxp)
 
void bfa_fcxp_free (struct bfa_fcxp_s *fcxp)
 
void bfa_fcxp_send (struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport, u16 vf_id, u8 lp_tag, bfa_boolean_t cts, enum fc_cos cos, u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, void *cbarg, u32 rsp_maxlen, u8 rsp_timeout)
 
bfa_status_t bfa_fcxp_abort (struct bfa_fcxp_s *fcxp)
 
void bfa_fcxp_req_rsp_alloc_wait (struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe, bfa_fcxp_alloc_cbfn_t alloc_cbfn, void *alloc_cbarg, void *caller, int nreq_sgles, int nrsp_sgles, bfa_fcxp_get_sgaddr_t req_sga_cbfn, bfa_fcxp_get_sglen_t req_sglen_cbfn, bfa_fcxp_get_sgaddr_t rsp_sga_cbfn, bfa_fcxp_get_sglen_t rsp_sglen_cbfn, bfa_boolean_t req)
 
void bfa_fcxp_walloc_cancel (struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe)
 
void bfa_fcxp_discard (struct bfa_fcxp_s *fcxp)
 
void bfa_fcxp_isr (struct bfa_s *bfa, struct bfi_msg_s *msg)
 
u32 bfa_fcxp_get_maxrsp (struct bfa_s *bfa)
 
void bfa_fcxp_res_recfg (struct bfa_s *bfa, u16 num_fcxp_fw)
 
u32 bfa_lps_get_max_vport (struct bfa_s *bfa)
 
struct bfa_lps_sbfa_lps_alloc (struct bfa_s *bfa)
 
void bfa_lps_delete (struct bfa_lps_s *lps)
 
void bfa_lps_flogi (struct bfa_lps_s *lps, void *uarg, u8 alpa, u16 pdusz, wwn_t pwwn, wwn_t nwwn, bfa_boolean_t auth_en, uint8_t bb_scn)
 
void bfa_lps_fdisc (struct bfa_lps_s *lps, void *uarg, u16 pdusz, wwn_t pwwn, wwn_t nwwn)
 
void bfa_lps_fdisclogo (struct bfa_lps_s *lps)
 
u8 bfa_lps_get_fwtag (struct bfa_s *bfa, u8 lp_tag)
 
u8 bfa_lps_get_tag_from_pid (struct bfa_s *bfa, u32 pid)
 
u32 bfa_lps_get_base_pid (struct bfa_s *bfa)
 
void bfa_lps_set_n2n_pid (struct bfa_lps_s *lps, uint32_t n2n_pid)
 
void bfa_lps_isr (struct bfa_s *bfa, struct bfi_msg_s *m)
 
void bfa_fcport_init (struct bfa_s *bfa)
 
void bfa_fcport_isr (struct bfa_s *bfa, struct bfi_msg_s *msg)
 
void bfa_fcport_event_register (struct bfa_s *bfa, void(*cbfn)(void *cbarg, enum bfa_port_linkstate event), void *cbarg)
 
bfa_status_t bfa_fcport_enable (struct bfa_s *bfa)
 
bfa_status_t bfa_fcport_disable (struct bfa_s *bfa)
 
bfa_status_t bfa_fcport_is_pbcdisabled (struct bfa_s *bfa)
 
bfa_status_t bfa_fcport_cfg_speed (struct bfa_s *bfa, enum bfa_port_speed speed)
 
enum bfa_port_speed bfa_fcport_get_speed (struct bfa_s *bfa)
 
bfa_status_t bfa_fcport_cfg_topology (struct bfa_s *bfa, enum bfa_port_topology topology)
 
enum bfa_port_topology bfa_fcport_get_topology (struct bfa_s *bfa)
 
enum bfa_port_topology bfa_fcport_get_cfg_topology (struct bfa_s *bfa)
 
bfa_status_t bfa_fcport_cfg_hardalpa (struct bfa_s *bfa, u8 alpa)
 
bfa_status_t bfa_fcport_clr_hardalpa (struct bfa_s *bfa)
 
bfa_boolean_t bfa_fcport_get_hardalpa (struct bfa_s *bfa, u8 *alpa)
 
u8 bfa_fcport_get_myalpa (struct bfa_s *bfa)
 
bfa_status_t bfa_fcport_cfg_maxfrsize (struct bfa_s *bfa, u16 maxfrsize)
 
u16 bfa_fcport_get_maxfrsize (struct bfa_s *bfa)
 
u8 bfa_fcport_get_rx_bbcredit (struct bfa_s *bfa)
 
void bfa_fcport_set_tx_bbcredit (struct bfa_s *bfa, u16 tx_bbcredit, u8 bb_scn)
 
wwn_t bfa_fcport_get_wwn (struct bfa_s *bfa, bfa_boolean_t node)
 
void bfa_fcport_get_attr (struct bfa_s *bfa, struct bfa_port_attr_s *attr)
 
bfa_status_t bfa_fcport_get_stats (struct bfa_s *bfa, struct bfa_cb_pending_q_s *cb)
 
bfa_status_t bfa_fcport_clear_stats (struct bfa_s *bfa, struct bfa_cb_pending_q_s *cb)
 
bfa_boolean_t bfa_fcport_is_disabled (struct bfa_s *bfa)
 
bfa_boolean_t bfa_fcport_is_dport (struct bfa_s *bfa)
 
bfa_status_t bfa_fcport_set_qos_bw (struct bfa_s *bfa, struct bfa_qos_bw_s *qos_bw)
 
bfa_boolean_t bfa_fcport_is_ratelim (struct bfa_s *bfa)
 
void bfa_fcport_cfg_faa (struct bfa_s *bfa, u8 state)
 
enum bfa_port_speed bfa_fcport_get_ratelim_speed (struct bfa_s *bfa)
 
void bfa_fcport_beacon (void *dev, bfa_boolean_t beacon, bfa_boolean_t link_e2e_beacon)
 
bfa_boolean_t bfa_fcport_is_linkup (struct bfa_s *bfa)
 
bfa_boolean_t bfa_fcport_is_qos_enabled (struct bfa_s *bfa)
 
bfa_boolean_t bfa_fcport_is_trunk_enabled (struct bfa_s *bfa)
 
void bfa_fcport_dportenable (struct bfa_s *bfa)
 
void bfa_fcport_dportdisable (struct bfa_s *bfa)
 
void bfa_rport_isr (struct bfa_s *bfa, struct bfi_msg_s *m)
 
void bfa_rport_res_recfg (struct bfa_s *bfa, u16 num_rport_fw)
 
struct bfa_rport_sbfa_rport_create (struct bfa_s *bfa, void *rport_drv)
 
void bfa_rport_online (struct bfa_rport_s *rport, struct bfa_rport_info_s *rport_info)
 
void bfa_rport_speed (struct bfa_rport_s *rport, enum bfa_port_speed speed)
 
void bfa_rport_set_lunmask (struct bfa_s *bfa, struct bfa_rport_s *rp)
 
void bfa_rport_unset_lunmask (struct bfa_s *bfa, struct bfa_rport_s *rp)
 
bfa_status_t bfa_sgpg_malloc (struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs)
 
void bfa_sgpg_mfree (struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg)
 
void bfa_sgpg_wait (struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe, int nsgpg)
 
void bfa_sgpg_wcancel (struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe)
 
void bfa_sgpg_winit (struct bfa_sgpg_wqe_s *wqe, void(*cbfn)(void *cbarg), void *cbarg)
 
void bfa_uf_recv_register (struct bfa_s *bfa, bfa_cb_uf_recv_t ufrecv, void *cbarg)
 
void bfa_uf_free (struct bfa_uf_s *uf)
 
void bfa_uf_isr (struct bfa_s *bfa, struct bfi_msg_s *msg)
 
void bfa_uf_res_recfg (struct bfa_s *bfa, u16 num_uf_fw)
 
void bfa_fcdiag_intr (struct bfa_s *bfa, struct bfi_msg_s *msg)
 
bfa_status_t bfa_fcdiag_loopback (struct bfa_s *bfa, enum bfa_port_opmode opmode, enum bfa_port_speed speed, u32 lpcnt, u32 pat, struct bfa_diag_loopback_result_s *result, bfa_cb_diag_t cbfn, void *cbarg)
 
bfa_status_t bfa_fcdiag_queuetest (struct bfa_s *bfa, u32 force, u32 queue, struct bfa_diag_qtest_result_s *result, bfa_cb_diag_t cbfn, void *cbarg)
 
bfa_status_t bfa_fcdiag_lb_is_running (struct bfa_s *bfa)
 
bfa_status_t bfa_dport_enable (struct bfa_s *bfa, bfa_cb_diag_t cbfn, void *cbarg)
 
bfa_status_t bfa_dport_disable (struct bfa_s *bfa, bfa_cb_diag_t cbfn, void *cbarg)
 
bfa_status_t bfa_dport_get_state (struct bfa_s *bfa, enum bfa_dport_state *state)
 

Macro Definition Documentation

#define BFA_DIAG_QTEST_TOV   1000 /* msec */

Definition at line 5655 of file bfa_svc.c.

#define BFA_FCPORT_STATS_TOV   1000

Definition at line 4040 of file bfa_svc.c.

#define BFA_LPS_MAX_LPORTS   (256)

Definition at line 37 of file bfa_svc.c.

#define BFA_LPS_MAX_VPORTS_SUPP_CB   255

Definition at line 42 of file bfa_svc.c.

#define BFA_LPS_MAX_VPORTS_SUPP_CT   190

Definition at line 43 of file bfa_svc.c.

#define BFA_LPS_MIN_LPORTS   (1)

Definition at line 36 of file bfa_svc.c.

#define BFA_PORT_IS_DISABLED (   bfa)
Value:

Definition at line 53 of file bfa_svc.c.

#define bfa_rport_offline_cb (   __rp)
Value:
do { \
if ((__rp)->bfa->fcs) \
bfa_cb_rport_offline((__rp)->rport_drv); \
else { \
bfa_cb_queue((__rp)->bfa, &(__rp)->hcb_qe, \
__bfa_cb_rport_offline, (__rp)); \
} \
} while (0)

Definition at line 88 of file bfa_svc.c.

#define bfa_rport_online_cb (   __rp)
Value:
do { \
if ((__rp)->bfa->fcs) \
bfa_cb_rport_online((__rp)->rport_drv); \
else { \
bfa_cb_queue((__rp)->bfa, &(__rp)->hcb_qe, \
__bfa_cb_rport_online, (__rp)); \
} \
} while (0)

Definition at line 97 of file bfa_svc.c.

#define FCPORT_STATS_DMA_SZ
Value:

Definition at line 3014 of file bfa_svc.c.

Enumeration Type Documentation

Enumerator:
BFA_DPORT_SM_ENABLE 
BFA_DPORT_SM_DISABLE 
BFA_DPORT_SM_FWRSP 
BFA_DPORT_SM_QRESUME 
BFA_DPORT_SM_HWFAIL 

Definition at line 5628 of file bfa_svc.c.

Enumerator:
BFA_FCPORT_LN_SM_LINKUP 
BFA_FCPORT_LN_SM_LINKDOWN 
BFA_FCPORT_LN_SM_NOTIFICATION 

Definition at line 79 of file bfa_svc.c.

Enumerator:
BFA_FCPORT_SM_START 
BFA_FCPORT_SM_STOP 
BFA_FCPORT_SM_ENABLE 
BFA_FCPORT_SM_DISABLE 
BFA_FCPORT_SM_FWRSP 
BFA_FCPORT_SM_LINKUP 
BFA_FCPORT_SM_LINKDOWN 
BFA_FCPORT_SM_QRESUME 
BFA_FCPORT_SM_HWFAIL 
BFA_FCPORT_SM_DPORTENABLE 
BFA_FCPORT_SM_DPORTDISABLE 
BFA_FCPORT_SM_FAA_MISCONFIG 

Definition at line 60 of file bfa_svc.c.

Function Documentation

bfa_status_t bfa_dport_disable ( struct bfa_s bfa,
bfa_cb_diag_t  cbfn,
void cbarg 
)

Definition at line 6390 of file bfa_svc.c.

bfa_status_t bfa_dport_enable ( struct bfa_s bfa,
bfa_cb_diag_t  cbfn,
void cbarg 
)

Definition at line 6300 of file bfa_svc.c.

bfa_status_t bfa_dport_get_state ( struct bfa_s bfa,
enum bfa_dport_state state 
)

Definition at line 6444 of file bfa_svc.c.

void bfa_fcdiag_intr ( struct bfa_s bfa,
struct bfi_msg_s msg 
)

Definition at line 5881 of file bfa_svc.c.

bfa_status_t bfa_fcdiag_lb_is_running ( struct bfa_s bfa)

Definition at line 6084 of file bfa_svc.c.

bfa_status_t bfa_fcdiag_loopback ( struct bfa_s bfa,
enum bfa_port_opmode  opmode,
enum bfa_port_speed  speed,
u32  lpcnt,
u32  pat,
struct bfa_diag_loopback_result_s result,
bfa_cb_diag_t  cbfn,
void cbarg 
)

Definition at line 5917 of file bfa_svc.c.

bfa_status_t bfa_fcdiag_queuetest ( struct bfa_s bfa,
u32  force,
u32  queue,
struct bfa_diag_qtest_result_s result,
bfa_cb_diag_t  cbfn,
void cbarg 
)

Definition at line 6025 of file bfa_svc.c.

void bfa_fcport_beacon ( void dev,
bfa_boolean_t  beacon,
bfa_boolean_t  link_e2e_beacon 
)

Definition at line 4178 of file bfa_svc.c.

void bfa_fcport_cfg_faa ( struct bfa_s bfa,
u8  state 
)

Definition at line 4156 of file bfa_svc.c.

bfa_status_t bfa_fcport_cfg_hardalpa ( struct bfa_s bfa,
u8  alpa 
)

Definition at line 3885 of file bfa_svc.c.

bfa_status_t bfa_fcport_cfg_maxfrsize ( struct bfa_s bfa,
u16  maxfrsize 
)

Definition at line 3929 of file bfa_svc.c.

bfa_status_t bfa_fcport_cfg_speed ( struct bfa_s bfa,
enum bfa_port_speed  speed 
)

Definition at line 3766 of file bfa_svc.c.

bfa_status_t bfa_fcport_cfg_topology ( struct bfa_s bfa,
enum bfa_port_topology  topology 
)

Definition at line 3822 of file bfa_svc.c.

bfa_status_t bfa_fcport_clear_stats ( struct bfa_s bfa,
struct bfa_cb_pending_q_s cb 
)

Definition at line 4073 of file bfa_svc.c.

bfa_status_t bfa_fcport_clr_hardalpa ( struct bfa_s bfa)

Definition at line 3900 of file bfa_svc.c.

bfa_status_t bfa_fcport_disable ( struct bfa_s bfa)

Definition at line 3735 of file bfa_svc.c.

void bfa_fcport_dportdisable ( struct bfa_s bfa)

Definition at line 4231 of file bfa_svc.c.

void bfa_fcport_dportenable ( struct bfa_s bfa)

Definition at line 4221 of file bfa_svc.c.

bfa_status_t bfa_fcport_enable ( struct bfa_s bfa)

Definition at line 3717 of file bfa_svc.c.

void bfa_fcport_event_register ( struct bfa_s bfa,
void(*)(void *cbarg, enum bfa_port_linkstate event cbfn,
void cbarg 
)

Definition at line 3705 of file bfa_svc.c.

void bfa_fcport_get_attr ( struct bfa_s bfa,
struct bfa_port_attr_s attr 
)

Definition at line 3992 of file bfa_svc.c.

enum bfa_port_topology bfa_fcport_get_cfg_topology ( struct bfa_s bfa)

Get config topology.

Definition at line 3877 of file bfa_svc.c.

bfa_boolean_t bfa_fcport_get_hardalpa ( struct bfa_s bfa,
u8 alpa 
)

Definition at line 3912 of file bfa_svc.c.

u16 bfa_fcport_get_maxfrsize ( struct bfa_s bfa)

Definition at line 3949 of file bfa_svc.c.

u8 bfa_fcport_get_myalpa ( struct bfa_s bfa)

Definition at line 3921 of file bfa_svc.c.

enum bfa_port_speed bfa_fcport_get_ratelim_speed ( struct bfa_s bfa)

Definition at line 4168 of file bfa_svc.c.

u8 bfa_fcport_get_rx_bbcredit ( struct bfa_s bfa)

Definition at line 3957 of file bfa_svc.c.

enum bfa_port_speed bfa_fcport_get_speed ( struct bfa_s bfa)

Definition at line 3811 of file bfa_svc.c.

bfa_status_t bfa_fcport_get_stats ( struct bfa_s bfa,
struct bfa_cb_pending_q_s cb 
)

Definition at line 4046 of file bfa_svc.c.

enum bfa_port_topology bfa_fcport_get_topology ( struct bfa_s bfa)

Definition at line 3866 of file bfa_svc.c.

wwn_t bfa_fcport_get_wwn ( struct bfa_s bfa,
bfa_boolean_t  node 
)

Definition at line 3982 of file bfa_svc.c.

void bfa_fcport_init ( struct bfa_s bfa)

Definition at line 3563 of file bfa_svc.c.

bfa_boolean_t bfa_fcport_is_disabled ( struct bfa_s bfa)

Definition at line 4100 of file bfa_svc.c.

bfa_boolean_t bfa_fcport_is_dport ( struct bfa_s bfa)

Definition at line 4110 of file bfa_svc.c.

bfa_boolean_t bfa_fcport_is_linkup ( struct bfa_s bfa)

Definition at line 4194 of file bfa_svc.c.

bfa_status_t bfa_fcport_is_pbcdisabled ( struct bfa_s bfa)

Definition at line 3749 of file bfa_svc.c.

bfa_boolean_t bfa_fcport_is_qos_enabled ( struct bfa_s bfa)

Definition at line 4205 of file bfa_svc.c.

bfa_boolean_t bfa_fcport_is_ratelim ( struct bfa_s bfa)

Definition at line 4144 of file bfa_svc.c.

bfa_boolean_t bfa_fcport_is_trunk_enabled ( struct bfa_s bfa)

Definition at line 4213 of file bfa_svc.c.

void bfa_fcport_isr ( struct bfa_s bfa,
struct bfi_msg_s msg 
)

Definition at line 3588 of file bfa_svc.c.

bfa_status_t bfa_fcport_set_qos_bw ( struct bfa_s bfa,
struct bfa_qos_bw_s qos_bw 
)

Definition at line 4119 of file bfa_svc.c.

void bfa_fcport_set_tx_bbcredit ( struct bfa_s bfa,
u16  tx_bbcredit,
u8  bb_scn 
)

Definition at line 3967 of file bfa_svc.c.

bfa_status_t bfa_fcxp_abort ( struct bfa_fcxp_s fcxp)

Definition at line 1099 of file bfa_svc.c.

void bfa_fcxp_discard ( struct bfa_fcxp_s fcxp)

Definition at line 1150 of file bfa_svc.c.

void bfa_fcxp_free ( struct bfa_fcxp_s fcxp)

Definition at line 1019 of file bfa_svc.c.

u32 bfa_fcxp_get_maxrsp ( struct bfa_s bfa)

Definition at line 1181 of file bfa_svc.c.

void* bfa_fcxp_get_reqbuf ( struct bfa_fcxp_s fcxp)

Definition at line 970 of file bfa_svc.c.

u32 bfa_fcxp_get_reqbufsz ( struct bfa_fcxp_s fcxp)

Definition at line 982 of file bfa_svc.c.

void* bfa_fcxp_get_rspbuf ( struct bfa_fcxp_s fcxp)

Definition at line 997 of file bfa_svc.c.

void bfa_fcxp_isr ( struct bfa_s bfa,
struct bfi_msg_s msg 
)

Definition at line 1167 of file bfa_svc.c.

struct bfa_fcxp_s* bfa_fcxp_req_rsp_alloc ( void caller,
struct bfa_s bfa,
int  nreq_sgles,
int  nrsp_sgles,
bfa_fcxp_get_sgaddr_t  req_sga_cbfn,
bfa_fcxp_get_sglen_t  req_sglen_cbfn,
bfa_fcxp_get_sgaddr_t  rsp_sga_cbfn,
bfa_fcxp_get_sglen_t  rsp_sglen_cbfn,
bfa_boolean_t  req 
)
read

Definition at line 940 of file bfa_svc.c.

void bfa_fcxp_req_rsp_alloc_wait ( struct bfa_s bfa,
struct bfa_fcxp_wqe_s wqe,
bfa_fcxp_alloc_cbfn_t  alloc_cbfn,
void alloc_cbarg,
void caller,
int  nreq_sgles,
int  nrsp_sgles,
bfa_fcxp_get_sgaddr_t  req_sga_cbfn,
bfa_fcxp_get_sglen_t  req_sglen_cbfn,
bfa_fcxp_get_sgaddr_t  rsp_sga_cbfn,
bfa_fcxp_get_sglen_t  rsp_sglen_cbfn,
bfa_boolean_t  req 
)

Definition at line 1107 of file bfa_svc.c.

void bfa_fcxp_res_recfg ( struct bfa_s bfa,
u16  num_fcxp_fw 
)

Definition at line 1189 of file bfa_svc.c.

void bfa_fcxp_send ( struct bfa_fcxp_s fcxp,
struct bfa_rport_s rport,
u16  vf_id,
u8  lp_tag,
bfa_boolean_t  cts,
enum fc_cos  cos,
u32  reqlen,
struct fchs_s fchs,
bfa_cb_fcxp_send_t  cbfn,
void cbarg,
u32  rsp_maxlen,
u8  rsp_timeout 
)

Definition at line 1050 of file bfa_svc.c.

void bfa_fcxp_walloc_cancel ( struct bfa_s bfa,
struct bfa_fcxp_wqe_s wqe 
)

Definition at line 1140 of file bfa_svc.c.

struct bfa_lps_s* bfa_lps_alloc ( struct bfa_s bfa)
read

Definition at line 1912 of file bfa_svc.c.

void bfa_lps_delete ( struct bfa_lps_s lps)

Definition at line 1933 of file bfa_svc.c.

void bfa_lps_fdisc ( struct bfa_lps_s lps,
void uarg,
u16  pdusz,
wwn_t  pwwn,
wwn_t  nwwn 
)

Definition at line 1960 of file bfa_svc.c.

void bfa_lps_fdisclogo ( struct bfa_lps_s lps)

Definition at line 1978 of file bfa_svc.c.

void bfa_lps_flogi ( struct bfa_lps_s lps,
void uarg,
u8  alpa,
u16  pdusz,
wwn_t  pwwn,
wwn_t  nwwn,
bfa_boolean_t  auth_en,
uint8_t  bb_scn 
)

Definition at line 1942 of file bfa_svc.c.

u32 bfa_lps_get_base_pid ( struct bfa_s bfa)

Definition at line 2015 of file bfa_svc.c.

u8 bfa_lps_get_fwtag ( struct bfa_s bfa,
u8  lp_tag 
)

Definition at line 1984 of file bfa_svc.c.

u32 bfa_lps_get_max_vport ( struct bfa_s bfa)

Definition at line 1900 of file bfa_svc.c.

u8 bfa_lps_get_tag_from_pid ( struct bfa_s bfa,
u32  pid 
)

Definition at line 1995 of file bfa_svc.c.

void bfa_lps_isr ( struct bfa_s bfa,
struct bfi_msg_s m 
)

Definition at line 2039 of file bfa_svc.c.

void bfa_lps_set_n2n_pid ( struct bfa_lps_s lps,
uint32_t  n2n_pid 
)

Definition at line 2026 of file bfa_svc.c.

BFA_MODULE ( fcdiag  )
BFA_MODULE ( fcxp  )
BFA_MODULE ( sgpg  )
BFA_MODULE ( lps  )
BFA_MODULE ( fcport  )
BFA_MODULE ( rport  )
BFA_MODULE ( uf  )
void bfa_plog_fchdr ( struct bfa_plog_s plog,
enum bfa_plog_mid  mid,
enum bfa_plog_eid  event,
u16  misc,
struct fchs_s fchdr 
)

Definition at line 398 of file bfa_svc.c.

void bfa_plog_fchdr_and_pl ( struct bfa_plog_s plog,
enum bfa_plog_mid  mid,
enum bfa_plog_eid  event,
u16  misc,
struct fchs_s fchdr,
u32  pld_w0 
)

Definition at line 418 of file bfa_svc.c.

void bfa_plog_init ( struct bfa_plog_s plog)

Definition at line 341 of file bfa_svc.c.

void bfa_plog_intarr ( struct bfa_plog_s plog,
enum bfa_plog_mid  mid,
enum bfa_plog_eid  event,
u16  misc,
u32 intarr,
u32  num_ints 
)

Definition at line 371 of file bfa_svc.c.

void bfa_plog_str ( struct bfa_plog_s plog,
enum bfa_plog_mid  mid,
enum bfa_plog_eid  event,
u16  misc,
char log_str 
)

Definition at line 351 of file bfa_svc.c.

struct bfa_rport_s* bfa_rport_create ( struct bfa_s bfa,
void rport_drv 
)
read

Definition at line 5005 of file bfa_svc.c.

void bfa_rport_isr ( struct bfa_s bfa,
struct bfi_msg_s m 
)

Definition at line 4934 of file bfa_svc.c.

void bfa_rport_online ( struct bfa_rport_s rport,
struct bfa_rport_info_s rport_info 
)

Definition at line 5025 of file bfa_svc.c.

void bfa_rport_res_recfg ( struct bfa_s bfa,
u16  num_rport_fw 
)

Definition at line 4988 of file bfa_svc.c.

void bfa_rport_set_lunmask ( struct bfa_s bfa,
struct bfa_rport_s rp 
)

Definition at line 5056 of file bfa_svc.c.

void bfa_rport_speed ( struct bfa_rport_s rport,
enum bfa_port_speed  speed 
)

Definition at line 5043 of file bfa_svc.c.

void bfa_rport_unset_lunmask ( struct bfa_s bfa,
struct bfa_rport_s rp 
)

Definition at line 5072 of file bfa_svc.c.

bfa_status_t bfa_sgpg_malloc ( struct bfa_s bfa,
struct list_head sgpg_q,
int  nsgpgs 
)

Definition at line 5212 of file bfa_svc.c.

void bfa_sgpg_mfree ( struct bfa_s bfa,
struct list_head sgpg_q,
int  nsgpg 
)

Definition at line 5232 of file bfa_svc.c.

void bfa_sgpg_wait ( struct bfa_s bfa,
struct bfa_sgpg_wqe_s wqe,
int  nsgpg 
)

Definition at line 5264 of file bfa_svc.c.

void bfa_sgpg_wcancel ( struct bfa_s bfa,
struct bfa_sgpg_wqe_s wqe 
)

Definition at line 5290 of file bfa_svc.c.

void bfa_sgpg_winit ( struct bfa_sgpg_wqe_s wqe,
void(*)(void *cbarg)  cbfn,
void cbarg 
)

Definition at line 5303 of file bfa_svc.c.

BFA_TRC_FILE ( HAL  ,
FCXP   
)
void bfa_uf_free ( struct bfa_uf_s uf)

Definition at line 5581 of file bfa_svc.c.

void bfa_uf_isr ( struct bfa_s bfa,
struct bfi_msg_s msg 
)

Definition at line 5593 of file bfa_svc.c.

void bfa_uf_recv_register ( struct bfa_s bfa,
bfa_cb_uf_recv_t  ufrecv,
void cbarg 
)

Definition at line 5565 of file bfa_svc.c.

void bfa_uf_res_recfg ( struct bfa_s bfa,
u16  num_uf_fw 
)

Definition at line 5609 of file bfa_svc.c.