Linux Kernel
3.7.1
|
#include "bfad_drv.h"
#include "bfad_im.h"
#include "bfa_fcs.h"
#include "bfa_fcbuild.h"
#include "bfa_fc.h"
Go to the source code of this file.
Macros | |
#define | BFA_FCS_FDMI_CMD_MAX_RETRIES 2 |
#define | BFA_FCS_MS_CMD_MAX_RETRIES 2 |
#define | FC_QOS_RSCN_EVENT 0x0c |
#define | FC_FABRIC_NAME_RSCN_EVENT 0x0d |
#define | __fc_pid_match(__c0, __c1, __fmt) |
#define | __vport_fcs(__vp) ((__vp)->lport.fcs) |
#define | __vport_pwwn(__vp) ((__vp)->lport.port_cfg.pwwn) |
#define | __vport_nwwn(__vp) ((__vp)->lport.port_cfg.nwwn) |
#define | __vport_bfa(__vp) ((__vp)->lport.fcs->bfa) |
#define | __vport_fcid(__vp) ((__vp)->lport.pid) |
#define | __vport_fabric(__vp) ((__vp)->lport.fabric) |
#define | __vport_vfid(__vp) ((__vp)->lport.fabric->vf_id) |
#define | BFA_FCS_VPORT_MAX_RETRIES 5 |
#define __fc_pid_match | ( | __c0, | |
__c1, | |||
__fmt | |||
) |
Definition at line 5381 of file bfa_fcs_lport.c.
#define __vport_bfa | ( | __vp | ) | ((__vp)->lport.fcs->bfa) |
Definition at line 5765 of file bfa_fcs_lport.c.
#define __vport_fabric | ( | __vp | ) | ((__vp)->lport.fabric) |
Definition at line 5767 of file bfa_fcs_lport.c.
#define __vport_fcid | ( | __vp | ) | ((__vp)->lport.pid) |
Definition at line 5766 of file bfa_fcs_lport.c.
#define __vport_fcs | ( | __vp | ) | ((__vp)->lport.fcs) |
Definition at line 5762 of file bfa_fcs_lport.c.
#define __vport_nwwn | ( | __vp | ) | ((__vp)->lport.port_cfg.nwwn) |
Definition at line 5764 of file bfa_fcs_lport.c.
#define __vport_pwwn | ( | __vp | ) | ((__vp)->lport.port_cfg.pwwn) |
Definition at line 5763 of file bfa_fcs_lport.c.
#define __vport_vfid | ( | __vp | ) | ((__vp)->lport.fabric->vf_id) |
Definition at line 5768 of file bfa_fcs_lport.c.
#define BFA_FCS_FDMI_CMD_MAX_RETRIES 2 |
Definition at line 1350 of file bfa_fcs_lport.c.
#define BFA_FCS_MS_CMD_MAX_RETRIES 2 |
Definition at line 2602 of file bfa_fcs_lport.c.
#define BFA_FCS_VPORT_MAX_RETRIES 5 |
Definition at line 5770 of file bfa_fcs_lport.c.
#define FC_FABRIC_NAME_RSCN_EVENT 0x0d |
Definition at line 5011 of file bfa_fcs_lport.c.
#define FC_QOS_RSCN_EVENT 0x0c |
Definition at line 5010 of file bfa_fcs_lport.c.
enum bfa_fcs_lport_event |
BFA_FCS_PORT_SM_CREATE | |
BFA_FCS_PORT_SM_ONLINE | |
BFA_FCS_PORT_SM_OFFLINE | |
BFA_FCS_PORT_SM_DELETE | |
BFA_FCS_PORT_SM_DELRPORT | |
BFA_FCS_PORT_SM_STOP |
Definition at line 106 of file bfa_fcs_lport.c.
enum bfa_fcs_vport_event |
Definition at line 5786 of file bfa_fcs_lport.c.
enum port_fdmi_event |
FDMISM_EVENT_PORT_ONLINE | |
FDMISM_EVENT_PORT_OFFLINE | |
FDMISM_EVENT_RSP_OK | |
FDMISM_EVENT_RSP_ERROR | |
FDMISM_EVENT_TIMEOUT | |
FDMISM_EVENT_RHBA_SENT | |
FDMISM_EVENT_RPRT_SENT | |
FDMISM_EVENT_RPA_SENT |
Definition at line 1404 of file bfa_fcs_lport.c.
enum port_ms_event |
MSSM_EVENT_PORT_ONLINE | |
MSSM_EVENT_PORT_OFFLINE | |
MSSM_EVENT_RSP_OK | |
MSSM_EVENT_RSP_ERROR | |
MSSM_EVENT_TIMEOUT | |
MSSM_EVENT_FCXP_SENT | |
MSSM_EVENT_PORT_FABRIC_RSCN |
Definition at line 2643 of file bfa_fcs_lport.c.
enum port_scn_event |
SCNSM_EVENT_PORT_ONLINE | |
SCNSM_EVENT_PORT_OFFLINE | |
SCNSM_EVENT_RSP_OK | |
SCNSM_EVENT_RSP_ERROR | |
SCNSM_EVENT_TIMEOUT | |
SCNSM_EVENT_SCR_SENT |
Definition at line 5036 of file bfa_fcs_lport.c.
enum vport_ns_event |
Definition at line 3424 of file bfa_fcs_lport.c.
Definition at line 6755 of file bfa_fcs_lport.c.
void bfa_cb_lps_fdisc_comp | ( | void * | bfad, |
void * | uarg, | ||
bfa_status_t | status | ||
) |
Definition at line 6689 of file bfa_fcs_lport.c.
Definition at line 6745 of file bfa_fcs_lport.c.
void bfa_fcport_get_loop_attr | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 1259 of file bfa_fcs_lport.c.
u32 bfa_fcs_fdmi_convert_speed | ( | enum bfa_port_speed | pport_speed | ) |
u32 bfa_fcs_fdmi_convert_speed | ( | bfa_port_speed_t | pport_speed | ) |
Definition at line 2540 of file bfa_fcs_lport.c.
|
read |
Definition at line 5505 of file bfa_fcs_lport.c.
bfa_boolean_t bfa_fcs_is_pbc_vport | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6577 of file bfa_fcs_lport.c.
Definition at line 5665 of file bfa_fcs_lport.c.
void bfa_fcs_lport_add_rport | ( | struct bfa_fcs_lport_s * | port, |
struct bfa_fcs_rport_s * | rport | ||
) |
Definition at line 979 of file bfa_fcs_lport.c.
void bfa_fcs_lport_attach | ( | struct bfa_fcs_lport_s * | lport, |
struct bfa_fcs_s * | fcs, | ||
u16 | vf_id, | ||
struct bfa_fcs_vport_s * | vport | ||
) |
Definition at line 1057 of file bfa_fcs_lport.c.
void bfa_fcs_lport_clear_stats | ( | struct bfa_fcs_lport_s * | fcs_port | ) |
Definition at line 5744 of file bfa_fcs_lport.c.
void bfa_fcs_lport_del_rport | ( | struct bfa_fcs_lport_s * | port, |
struct bfa_fcs_rport_s * | rport | ||
) |
Definition at line 991 of file bfa_fcs_lport.c.
void bfa_fcs_lport_delete | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 1039 of file bfa_fcs_lport.c.
void bfa_fcs_lport_fab_scn_online | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 5328 of file bfa_fcs_lport.c.
void bfa_fcs_lport_fdmi_init | ( | struct bfa_fcs_lport_ms_s * | ms | ) |
Definition at line 2573 of file bfa_fcs_lport.c.
void bfa_fcs_lport_fdmi_offline | ( | struct bfa_fcs_lport_ms_s * | ms | ) |
Definition at line 2585 of file bfa_fcs_lport.c.
void bfa_fcs_lport_fdmi_online | ( | struct bfa_fcs_lport_ms_s * | ms | ) |
Definition at line 2594 of file bfa_fcs_lport.c.
void bfa_fcs_lport_get_attr | ( | struct bfa_fcs_lport_s * | port, |
struct bfa_lport_attr_s * | port_attr | ||
) |
Definition at line 1105 of file bfa_fcs_lport.c.
void bfa_fcs_lport_get_info | ( | struct bfa_fcs_lport_s * | port, |
struct bfa_lport_info_s * | port_info | ||
) |
Definition at line 5692 of file bfa_fcs_lport.c.
wwn_t bfa_fcs_lport_get_rport | ( | struct bfa_fcs_lport_s * | port, |
wwn_t | wwn, | ||
int | index, | ||
int | nrports, | ||
bfa_boolean_t | bwwn | ||
) |
Definition at line 5511 of file bfa_fcs_lport.c.
|
read |
Definition at line 940 of file bfa_fcs_lport.c.
|
read |
Definition at line 902 of file bfa_fcs_lport.c.
|
read |
Definition at line 883 of file bfa_fcs_lport.c.
|
read |
Definition at line 921 of file bfa_fcs_lport.c.
|
read |
Definition at line 959 of file bfa_fcs_lport.c.
bfa_port_speed_t bfa_fcs_lport_get_rport_max_speed | ( | bfa_fcs_lport_t * | port | ) |
Definition at line 5610 of file bfa_fcs_lport.c.
void bfa_fcs_lport_get_rport_quals | ( | struct bfa_fcs_lport_s * | port, |
struct bfa_rport_qualifier_s | rports[], | ||
int * | nrports | ||
) |
Definition at line 5559 of file bfa_fcs_lport.c.
void bfa_fcs_lport_get_stats | ( | struct bfa_fcs_lport_s * | fcs_port, |
struct bfa_lport_stats_s * | port_stats | ||
) |
Definition at line 5737 of file bfa_fcs_lport.c.
void bfa_fcs_lport_init | ( | struct bfa_fcs_lport_s * | lport, |
struct bfa_lport_cfg_s * | port_cfg | ||
) |
Definition at line 1076 of file bfa_fcs_lport.c.
bfa_boolean_t bfa_fcs_lport_is_online | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 1048 of file bfa_fcs_lport.c.
void bfa_fcs_lport_lip_scn_online | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 5753 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ms_fabric_rscn | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 3327 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ms_init | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 3295 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ms_offline | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 3309 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ms_online | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 3319 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ns_init | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 4889 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ns_offline | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 4898 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ns_online | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 4907 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ns_query | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 4916 of file bfa_fcs_lport.c.
void bfa_fcs_lport_ns_util_send_rspn_id | ( | void * | cbarg, |
struct bfa_fcxp_s * | fcxp_alloced | ||
) |
Definition at line 4943 of file bfa_fcs_lport.c.
void bfa_fcs_lport_offline | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 1017 of file bfa_fcs_lport.c.
void bfa_fcs_lport_online | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 1007 of file bfa_fcs_lport.c.
void bfa_fcs_lport_scn_init | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 5310 of file bfa_fcs_lport.c.
void bfa_fcs_lport_scn_offline | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 5319 of file bfa_fcs_lport.c.
void bfa_fcs_lport_scn_process_rscn | ( | struct bfa_fcs_lport_s * | port, |
struct fchs_s * | fchs, | ||
u32 | len | ||
) |
Definition at line 5413 of file bfa_fcs_lport.c.
void bfa_fcs_lport_stop | ( | struct bfa_fcs_lport_s * | port | ) |
Definition at line 1027 of file bfa_fcs_lport.c.
Definition at line 765 of file bfa_fcs_lport.c.
bfa_status_t bfa_fcs_pbc_vport_create | ( | struct bfa_fcs_vport_s * | vport, |
struct bfa_fcs_s * | fcs, | ||
u16 | vf_id, | ||
struct bfa_lport_cfg_s * | vport_cfg, | ||
struct bfad_vport_s * | vport_drv | ||
) |
Definition at line 6557 of file bfa_fcs_lport.c.
void bfa_fcs_vport_cleanup | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6442 of file bfa_fcs_lport.c.
bfa_status_t bfa_fcs_vport_create | ( | struct bfa_fcs_vport_s * | vport, |
struct bfa_fcs_s * | fcs, | ||
u16 | vf_id, | ||
struct bfa_lport_cfg_s * | vport_cfg, | ||
struct bfad_vport_s * | vport_drv | ||
) |
Definition at line 6507 of file bfa_fcs_lport.c.
bfa_status_t bfa_fcs_vport_delete | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6630 of file bfa_fcs_lport.c.
void bfa_fcs_vport_delete_comp | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6478 of file bfa_fcs_lport.c.
void bfa_fcs_vport_fcs_delete | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6460 of file bfa_fcs_lport.c.
void bfa_fcs_vport_fcs_stop | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6451 of file bfa_fcs_lport.c.
void bfa_fcs_vport_get_attr | ( | struct bfa_fcs_vport_s * | vport, |
struct bfa_vport_attr_s * | attr | ||
) |
Definition at line 6650 of file bfa_fcs_lport.c.
|
read |
Definition at line 6667 of file bfa_fcs_lport.c.
void bfa_fcs_vport_offline | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6432 of file bfa_fcs_lport.c.
void bfa_fcs_vport_online | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6419 of file bfa_fcs_lport.c.
bfa_status_t bfa_fcs_vport_start | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6595 of file bfa_fcs_lport.c.
bfa_status_t bfa_fcs_vport_stop | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6612 of file bfa_fcs_lport.c.
void bfa_fcs_vport_stop_comp | ( | struct bfa_fcs_vport_s * | vport | ) |
Definition at line 6469 of file bfa_fcs_lport.c.
void(* init)(struct bfa_fcs_lport_s *port) |
Definition at line 87 of file bfa_fcs_lport.c.
void(* offline)(struct bfa_fcs_lport_s *port) |
Definition at line 89 of file bfa_fcs_lport.c.
void(* online)(struct bfa_fcs_lport_s *port) |
Definition at line 88 of file bfa_fcs_lport.c.