Lines Matching defs:port
65 struct bfa_fcs_lport_s *port; /* parent port */
76 struct bfa_fcs_lport_s *port; /* parent port */
96 struct bfa_fcs_lport_s *port; /* parent port */
106 struct bfa_fcs_lport_ns_s ns; /* NS component of port */
107 struct bfa_fcs_lport_scn_s scn; /* scn component of port */
108 struct bfa_fcs_lport_ms_s ms; /* MS component of port */
117 struct bfa_fcs_lport_s *port; /* parent port */
124 wwn_t rem_port_wwn; /* Attached port's wwn */
136 struct list_head qe; /* used by port/vport */
139 struct bfa_lport_cfg_s port_cfg; /* port configuration */
154 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
155 #define BFA_FCS_GET_NS_FROM_PORT(port) (&port->port_topo.pfab.ns)
156 #define BFA_FCS_GET_SCN_FROM_PORT(port) (&port->port_topo.pfab.scn)
157 #define BFA_FCS_GET_MS_FROM_PORT(port) (&port->port_topo.pfab.ms)
158 #define BFA_FCS_GET_FDMI_FROM_PORT(port) (&port->port_topo.pfab.ms.fdmi)
159 #define BFA_FCS_VPORT_IS_INITIATOR_MODE(port) \
160 (port->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
179 struct bfa_fcs_lport_s bport; /* base logical port */
197 u16 swp_vfid;/* switch port VF id */
222 * Maximum Rports supported per port (physical/logical).
232 * For Vports, Vport's symbolic name is appended to the Physical port's
252 * Get FC port ID for a logical port.
265 bfa_fcs_lport_get_drvport(struct bfa_fcs_lport_s *port)
267 return port->bfad_port;
276 * bfa fcs port public functions
279 bfa_boolean_t bfa_fcs_lport_is_online(struct bfa_fcs_lport_s *port);
281 void bfa_fcs_lport_get_rport_quals(struct bfa_fcs_lport_s *port,
283 wwn_t bfa_fcs_lport_get_rport(struct bfa_fcs_lport_s *port, wwn_t wwn,
289 void bfa_fcs_lport_set_symname(struct bfa_fcs_lport_s *port, char *symname);
290 void bfa_fcs_lport_get_info(struct bfa_fcs_lport_s *port,
292 void bfa_fcs_lport_get_attr(struct bfa_fcs_lport_s *port,
298 struct bfa_fcs_lport_s *port);
301 void bfa_fcs_lport_ms_init(struct bfa_fcs_lport_s *port);
302 void bfa_fcs_lport_ms_offline(struct bfa_fcs_lport_s *port);
303 void bfa_fcs_lport_ms_online(struct bfa_fcs_lport_s *port);
304 void bfa_fcs_lport_ms_fabric_rscn(struct bfa_fcs_lport_s *port);
316 void bfa_fcs_lport_online(struct bfa_fcs_lport_s *port);
317 void bfa_fcs_lport_offline(struct bfa_fcs_lport_s *port);
318 void bfa_fcs_lport_delete(struct bfa_fcs_lport_s *port);
319 void bfa_fcs_lport_stop(struct bfa_fcs_lport_s *port);
321 struct bfa_fcs_lport_s *port, u32 pid);
323 struct bfa_fcs_lport_s *port, u32 pid);
325 struct bfa_fcs_lport_s *port, wwn_t pwwn);
327 struct bfa_fcs_lport_s *port, wwn_t nwwn);
329 struct bfa_fcs_lport_s *port, wwn_t pwwn, u32 pid);
330 void bfa_fcs_lport_add_rport(struct bfa_fcs_lport_s *port,
332 void bfa_fcs_lport_del_rport(struct bfa_fcs_lport_s *port,
337 void bfa_fcs_lport_ns_query(struct bfa_fcs_lport_s *port);
343 void bfa_fcs_lport_scn_process_rscn(struct bfa_fcs_lport_s *port,
345 void bfa_fcs_lport_lip_scn_online(bfa_fcs_lport_t *port);
350 bfa_fcs_lport_t lport; /* logical port */
359 ((struct bfa_fcs_lport_s *)(&vport->port))
418 struct list_head qe; /* used by port/vport */
419 struct bfa_fcs_lport_s *port; /* parent FCS port */
422 u32 pid; /* port ID of rport */
430 wwn_t pwwn; /* port wwn of rport */
432 struct bfa_rport_symname_s psym_name; /* port symbolic name */
460 struct bfa_fcs_rport_s *bfa_fcs_rport_lookup(struct bfa_fcs_lport_s *port,
463 struct bfa_fcs_lport_s *port, wwn_t rnwwn);
470 struct bfa_fcs_rport_s *bfa_fcs_rport_create(struct bfa_fcs_lport_s *port,
472 void bfa_fcs_rport_start(struct bfa_fcs_lport_s *port, struct fchs_s *rx_fchs,
474 void bfa_fcs_rport_plogi_create(struct bfa_fcs_lport_s *port,
485 struct bfa_fcs_lport_s *port, wwn_t wwn);
522 return itnim->rport->port->bfad_port;
529 return itnim->rport->port;
588 struct bfa_fcs_itnim_s *bfa_fcs_itnim_lookup(struct bfa_fcs_lport_s *port,
590 bfa_status_t bfa_fcs_itnim_attr_get(struct bfa_fcs_lport_s *port, wwn_t rpwwn,
592 bfa_status_t bfa_fcs_itnim_stats_get(struct bfa_fcs_lport_s *port, wwn_t rpwwn,
594 bfa_status_t bfa_fcs_itnim_stats_clear(struct bfa_fcs_lport_s *port,
692 u16 port_vfid; /* port default VF ID */
711 BFA_FCS_FABRIC_SM_LINK_DOWN = 3, /* link down from port */
712 BFA_FCS_FABRIC_SM_LINK_UP = 4, /* link up from port */
736 RPSM_EVENT_PLOGI_RCVD = 2, /* Inbound PLOGI from remote port */
842 struct bfa_fcs_lport_s *port,