Lines Matching defs:port
31 * Called by fcs/port to initialize N2N topology.
34 bfa_fcs_port_n2n_init(struct bfa_fcs_port_s *port)
39 * Called by fcs/port to notify transition to online state.
42 bfa_fcs_port_n2n_online(struct bfa_fcs_port_s *port)
44 struct bfa_fcs_port_n2n_s *n2n_port = &port->port_topo.pn2n;
45 struct bfa_port_cfg_s *pcfg = &port->port_cfg;
48 bfa_trc(port->fcs, pcfg->pwwn);
51 * If our PWWN is > than that of the r-port, we have to initiate PLOGI
54 * If our PWWN is < than that of the remote port, it will send a PLOGI
61 port->pid = N2N_LOCAL_PID;
65 rport = bfa_fcs_port_get_rport_by_pwwn(port,
68 bfa_trc(port->fcs, rport->pid);
69 bfa_trc(port->fcs, rport->pwwn);
79 if (port->num_rports > 0) {
80 rport = bfa_fcs_port_get_rport_by_pid(port, 0);
83 bfa_trc(port->fcs, rport->pwwn);
87 bfa_fcs_rport_create(port, N2N_REMOTE_PID);
92 * Called by fcs/port to notify transition to offline state.
95 bfa_fcs_port_n2n_offline(struct bfa_fcs_port_s *port)
97 struct bfa_fcs_port_n2n_s *n2n_port = &port->port_topo.pn2n;
99 bfa_trc(port->fcs, port->pid);
100 port->pid = 0;