• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/bfa/

Lines Matching defs:port

61 static bfa_status_t bfa_fcs_port_loop_send_plogi(struct bfa_fcs_port_s *port,
72 * Called by port to initializar in provate LOOP topology.
75 bfa_fcs_port_loop_init(struct bfa_fcs_port_s *port)
80 * Called by port to notify transition to online state.
83 bfa_fcs_port_loop_online(struct bfa_fcs_port_s *port)
86 u8 num_alpa = port->port_topo.ploop.num_alpa;
87 u8 *alpa_pos_map = port->port_topo.ploop.alpa_pos_map;
92 * If the port role is Initiator Mode, create Rports.
94 if (port->port_cfg.roles == BFA_PORT_ROLE_FCP_IM) {
102 * ignore ALPA of bfa port
104 if (alpa_pos_map[ii] != port->pid) {
105 r_port = bfa_fcs_rport_create(port,
112 * ignore ALPA of bfa port
115 && (port_loop_alpa_map[ii] != port->pid))
116 bfa_fcs_port_loop_send_plogi(port,
130 * Called by port to notify transition to offline state.
133 bfa_fcs_port_loop_offline(struct bfa_fcs_port_s *port)
139 * Called by port to notify a LIP on the loop.
142 bfa_fcs_port_loop_lip(struct bfa_fcs_port_s *port)
150 bfa_fcs_port_loop_send_plogi(struct bfa_fcs_port_s *port, u8 alpa)
156 bfa_trc(port->fcs, alpa);
158 fcxp = bfa_fcxp_alloc(NULL, port->fcs->bfa, 0, 0, NULL, NULL, NULL,
163 bfa_fcs_port_get_fcid(port), 0,
164 port->port_cfg.pwwn, port->port_cfg.nwwn,
165 bfa_fcport_get_maxfrsize(port->fcs->bfa));
167 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE,
169 bfa_fcs_port_loop_plogi_response, (void *)port,
184 struct bfa_fcs_port_s *port = (struct bfa_fcs_port_s *) cbarg;
188 bfa_trc(port->fcs, req_status);
194 bfa_trc(port->fcs, req_status);
208 bfa_fcs_rport_start(port, rsp_fchs, plogi_resp);
210 bfa_trc(port->fcs, plogi_resp->els_cmd.els_code);