Lines Matching defs:s_id
826 "Sending PLOGI ACK to wwn %8phC s_id %02x:%02x:%02x loop_id %#04x"
868 " s_id %02x:%02x:%02x, ref=%d pla %p link %d\n",
961 " s_id %02x:%02x:%02x logout %d keep %d els_logo %d\n",
1320 static int qla24xx_get_loop_id(struct scsi_qla_host *vha, be_id_t s_id,
1351 if (gid->al_pa == s_id.al_pa &&
1352 gid->area == s_id.area &&
1353 gid->domain == s_id.domain) {
1439 "s_id %x:%x:%x, confirmed completion %ssupported) added\n",
1813 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id;
1814 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id;
1886 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.s_id;
1888 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id;
1889 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id;
1956 ctio->initiator_id = entry->fcp_hdr_le.s_id;
1997 static void abort_cmds_for_lun(struct scsi_qla_host *vha, u64 lun, be_id_t s_id)
2004 key = sid_to_key(s_id);
2010 op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
2021 cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id);
2165 be_id_t s_id;
2188 "qla_target(%d): task abort (s_id=%x:%x:%x, "
2189 "tag=%d, param=%x)\n", vha->vp_idx, abts->fcp_hdr_le.s_id.domain,
2190 abts->fcp_hdr_le.s_id.area, abts->fcp_hdr_le.s_id.al_pa, tag,
2193 s_id = le_id_to_be(abts->fcp_hdr_le.s_id);
2196 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id);
2257 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
2314 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
2616 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
3142 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
3694 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
4380 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id);
4384 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, atio->u.isp24.fcp_hdr.s_id);
4388 /* Another WWN used to have our s_id. Our PLOGI scheduled its
4476 abort_cmds_for_lun(vha, lun, a->u.isp24.fcp_hdr.s_id);
4514 a->u.isp24.fcp_hdr.s_id);
4599 " port %8phC loop_id %#04x s_id %02x:%02x:%02x"
4647 * session that has the same s_id/loop_id combo
4654 * Another wwn used to have our s_id/loop_id
4676 /* Same loop_id but different s_id
4685 /* Abort any commands for this s_id waiting on qla_tgt_wq workqueue */
4686 static int abort_cmds_for_s_id(struct scsi_qla_host *vha, port_id_t *s_id)
4694 key = (((u32)s_id->b.domain << 16) |
4695 ((u32)s_id->b.area << 8) |
4696 ((u32)s_id->b.al_pa));
4700 uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
4709 uint32_t cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id);
5390 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id);
5418 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
5484 (vha, atio->u.isp24.fcp_hdr.s_id);
6192 be_id_t s_id)
6199 if (s_id.domain == 0xFF && s_id.area == 0xFC) {
6206 s_id.domain, s_id.area, s_id.al_pa);
6216 rc = qla24xx_get_loop_id(vha, s_id, &loop_id);
6223 vha->vp_idx, s_id.domain, s_id.area, s_id.al_pa);
6228 logo.id = be_to_port_id(s_id);
6267 be_id_t s_id;
6275 s_id = le_id_to_be(prm->abts.fcp_hdr_le.s_id);
6277 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id);
6281 sess = qlt_make_local_sess(vha, s_id);
6811 &pkt->u.isp24.fcp_hdr.s_id,