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

Go to the source code of this file.

Data Structures

struct  bfa_fcs_mod_s
 

Macros

#define BFA_FCS_MODULE(_mod)   { _mod ## _modinit, _mod ## _modexit }
 
#define BFA_FCS_FABRIC_RETRY_DELAY   (2000) /* Milliseconds */
 
#define BFA_FCS_FABRIC_CLEANUP_DELAY   (10000) /* Milliseconds */
 
#define bfa_fcs_fabric_set_opertype(__fabric)
 

Functions

 BFA_TRC_FILE (FCS, FCS)
 
void bfa_fcs_attach (struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad, bfa_boolean_t min_cfg)
 
void bfa_fcs_init (struct bfa_fcs_s *fcs)
 
void bfa_fcs_update_cfg (struct bfa_fcs_s *fcs)
 
void bfa_fcs_stop (struct bfa_fcs_s *fcs)
 
void bfa_fcs_pbc_vport_init (struct bfa_fcs_s *fcs)
 
void bfa_fcs_driver_info_init (struct bfa_fcs_s *fcs, struct bfa_fcs_driver_info_s *driver_info)
 
void bfa_fcs_exit (struct bfa_fcs_s *fcs)
 
void bfa_fcs_fabric_sm_auth_failed (struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event)
 
void bfa_fcs_fabric_sm_loopback (struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event)
 
void bfa_fcs_fabric_sm_online (struct bfa_fcs_fabric_s *fabric, enum bfa_fcs_fabric_event event)
 
void bfa_fcs_fabric_psymb_init (struct bfa_fcs_fabric_s *fabric)
 
void bfa_fcs_fabric_nsymb_init (struct bfa_fcs_fabric_s *fabric)
 
void bfa_cb_lps_flogi_comp (void *bfad, void *uarg, bfa_status_t status)
 
void bfa_fcs_fabric_attach (struct bfa_fcs_s *fcs)
 
void bfa_fcs_fabric_modinit (struct bfa_fcs_s *fcs)
 
void bfa_fcs_fabric_modexit (struct bfa_fcs_s *fcs)
 
void bfa_fcs_fabric_modstop (struct bfa_fcs_s *fcs)
 
void bfa_fcs_fabric_modstart (struct bfa_fcs_s *fcs)
 
void bfa_fcs_fabric_link_up (struct bfa_fcs_fabric_s *fabric)
 
void bfa_fcs_fabric_link_down (struct bfa_fcs_fabric_s *fabric)
 
void bfa_fcs_fabric_addvport (struct bfa_fcs_fabric_s *fabric, struct bfa_fcs_vport_s *vport)
 
void bfa_fcs_fabric_delvport (struct bfa_fcs_fabric_s *fabric, struct bfa_fcs_vport_s *vport)
 
struct bfa_fcs_vport_sbfa_fcs_fabric_vport_lookup (struct bfa_fcs_fabric_s *fabric, wwn_t pwwn)
 
u16 bfa_fcs_fabric_get_switch_oui (struct bfa_fcs_fabric_s *fabric)
 
void bfa_fcs_fabric_uf_recv (struct bfa_fcs_fabric_s *fabric, struct fchs_s *fchs, u16 len)
 
void bfa_fcs_fabric_set_fabric_name (struct bfa_fcs_fabric_s *fabric, wwn_t fabric_name)
 
void bfa_cb_lps_flogo_comp (void *bfad, void *uarg)
 
bfa_fcs_vf_tbfa_fcs_vf_lookup (struct bfa_fcs_s *fcs, u16 vf_id)
 
void bfa_fcs_vf_get_ports (bfa_fcs_vf_t *vf, wwn_t lpwwn[], int *nlports)
 
void bfa_fcs_port_attach (struct bfa_fcs_s *fcs)
 
void bfa_fcs_uf_attach (struct bfa_fcs_s *fcs)
 

Macro Definition Documentation

#define BFA_FCS_FABRIC_CLEANUP_DELAY   (10000) /* Milliseconds */

Definition at line 207 of file bfa_fcs.c.

#define BFA_FCS_FABRIC_RETRY_DELAY   (2000) /* Milliseconds */

Definition at line 206 of file bfa_fcs.c.

#define bfa_fcs_fabric_set_opertype (   __fabric)
Value:
do { \
if (bfa_fcport_get_topology((__fabric)->fcs->bfa) \
if (fabric->fab_type == BFA_FCS_FABRIC_SWITCHED) \
(__fabric)->oper_type = BFA_PORT_TYPE_NPORT; \
else \
(__fabric)->oper_type = BFA_PORT_TYPE_P2P; \
} else \
} while (0)

Definition at line 209 of file bfa_fcs.c.

#define BFA_FCS_MODULE (   _mod)    { _mod ## _modinit, _mod ## _modexit }

Definition at line 38 of file bfa_fcs.c.

Function Documentation

void bfa_cb_lps_flogi_comp ( void bfad,
void uarg,
bfa_status_t  status 
)

Definition at line 930 of file bfa_fcs.c.

void bfa_cb_lps_flogo_comp ( void bfad,
void uarg 
)

Definition at line 1598 of file bfa_fcs.c.

void bfa_fcs_attach ( struct bfa_fcs_s fcs,
struct bfa_s bfa,
struct bfad_s bfad,
bfa_boolean_t  min_cfg 
)

Definition at line 70 of file bfa_fcs.c.

void bfa_fcs_driver_info_init ( struct bfa_fcs_s fcs,
struct bfa_fcs_driver_info_s driver_info 
)

Definition at line 162 of file bfa_fcs.c.

void bfa_fcs_exit ( struct bfa_fcs_s fcs)

Definition at line 180 of file bfa_fcs.c.

void bfa_fcs_fabric_addvport ( struct bfa_fcs_fabric_s fabric,
struct bfa_fcs_vport_s vport 
)

Definition at line 1292 of file bfa_fcs.c.

void bfa_fcs_fabric_attach ( struct bfa_fcs_s fcs)

Definition at line 1180 of file bfa_fcs.c.

void bfa_fcs_fabric_delvport ( struct bfa_fcs_fabric_s fabric,
struct bfa_fcs_vport_s vport 
)

Definition at line 1311 of file bfa_fcs.c.

u16 bfa_fcs_fabric_get_switch_oui ( struct bfa_fcs_fabric_s fabric)

Definition at line 1351 of file bfa_fcs.c.

void bfa_fcs_fabric_link_down ( struct bfa_fcs_fabric_s fabric)

Definition at line 1273 of file bfa_fcs.c.

void bfa_fcs_fabric_link_up ( struct bfa_fcs_fabric_s fabric)

Definition at line 1263 of file bfa_fcs.c.

void bfa_fcs_fabric_modexit ( struct bfa_fcs_s fcs)

Definition at line 1218 of file bfa_fcs.c.

void bfa_fcs_fabric_modinit ( struct bfa_fcs_s fcs)

Definition at line 1208 of file bfa_fcs.c.

void bfa_fcs_fabric_modstart ( struct bfa_fcs_s fcs)

Definition at line 1249 of file bfa_fcs.c.

void bfa_fcs_fabric_modstop ( struct bfa_fcs_s fcs)

Definition at line 1236 of file bfa_fcs.c.

void bfa_fcs_fabric_nsymb_init ( struct bfa_fcs_fabric_s fabric)

Definition at line 892 of file bfa_fcs.c.

void bfa_fcs_fabric_psymb_init ( struct bfa_fcs_fabric_s fabric)

Definition at line 831 of file bfa_fcs.c.

void bfa_fcs_fabric_set_fabric_name ( struct bfa_fcs_fabric_s fabric,
wwn_t  fabric_name 
)

Definition at line 1569 of file bfa_fcs.c.

void bfa_fcs_fabric_sm_auth_failed ( struct bfa_fcs_fabric_s fabric,
enum bfa_fcs_fabric_event  event 
)

Definition at line 532 of file bfa_fcs.c.

void bfa_fcs_fabric_sm_loopback ( struct bfa_fcs_fabric_s fabric,
enum bfa_fcs_fabric_event  event 
)

Definition at line 558 of file bfa_fcs.c.

void bfa_fcs_fabric_sm_online ( struct bfa_fcs_fabric_s fabric,
enum bfa_fcs_fabric_event  event 
)

Definition at line 621 of file bfa_fcs.c.

void bfa_fcs_fabric_uf_recv ( struct bfa_fcs_fabric_s fabric,
struct fchs_s fchs,
u16  len 
)

Definition at line 1368 of file bfa_fcs.c.

struct bfa_fcs_vport_s* bfa_fcs_fabric_vport_lookup ( struct bfa_fcs_fabric_s fabric,
wwn_t  pwwn 
)
read

Definition at line 1324 of file bfa_fcs.c.

void bfa_fcs_init ( struct bfa_fcs_s fcs)

Definition at line 95 of file bfa_fcs.c.

void bfa_fcs_pbc_vport_init ( struct bfa_fcs_s fcs)

Definition at line 138 of file bfa_fcs.c.

void bfa_fcs_port_attach ( struct bfa_fcs_s fcs)

Definition at line 1686 of file bfa_fcs.c.

void bfa_fcs_stop ( struct bfa_fcs_s fcs)

Definition at line 126 of file bfa_fcs.c.

void bfa_fcs_uf_attach ( struct bfa_fcs_s fcs)

Definition at line 1759 of file bfa_fcs.c.

void bfa_fcs_update_cfg ( struct bfa_fcs_s fcs)

Definition at line 112 of file bfa_fcs.c.

void bfa_fcs_vf_get_ports ( bfa_fcs_vf_t vf,
wwn_t  lpwwn[],
int nlports 
)

Definition at line 1632 of file bfa_fcs.c.

bfa_fcs_vf_t* bfa_fcs_vf_lookup ( struct bfa_fcs_s fcs,
u16  vf_id 
)

Definition at line 1613 of file bfa_fcs.c.

BFA_TRC_FILE ( FCS  ,
FCS   
)