lpfc_sli.c (4d68c05ce11f4cdf6a6392f3a18dc6a985b4d0c4) lpfc_sli.c (3ef6d24cd9f473518dd7941e86cc2a5f8992eed0)
1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for *
3 * Fibre Channel Host Bus Adapters. *
4 * Copyright (C) 2004-2011 Emulex. All rights reserved. *
5 * EMULEX and SLI are trademarks of Emulex. *
6 * www.emulex.com *
7 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
8 * *

--- 7749 unchanged lines hidden (view full) ---

7758 *pcmd == ELS_CMD_SCR ||
7759 *pcmd == ELS_CMD_PLOGI)) {
7760 bf_set(els_req64_sp, &wqe->els_req, 1);
7761 bf_set(els_req64_sid, &wqe->els_req,
7762 iocbq->vport->fc_myDID);
7763 bf_set(wqe_ct, &wqe->els_req.wqe_com, 1);
7764 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com,
7765 phba->vpi_ids[phba->pport->vpi]);
1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for *
3 * Fibre Channel Host Bus Adapters. *
4 * Copyright (C) 2004-2011 Emulex. All rights reserved. *
5 * EMULEX and SLI are trademarks of Emulex. *
6 * www.emulex.com *
7 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
8 * *

--- 7749 unchanged lines hidden (view full) ---

7758 *pcmd == ELS_CMD_SCR ||
7759 *pcmd == ELS_CMD_PLOGI)) {
7760 bf_set(els_req64_sp, &wqe->els_req, 1);
7761 bf_set(els_req64_sid, &wqe->els_req,
7762 iocbq->vport->fc_myDID);
7763 bf_set(wqe_ct, &wqe->els_req.wqe_com, 1);
7764 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com,
7765 phba->vpi_ids[phba->pport->vpi]);
7766 } else if (iocbq->context1) {
7766 } else if (pcmd && iocbq->context1) {
7767 bf_set(wqe_ct, &wqe->els_req.wqe_com, 0);
7768 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com,
7769 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]);
7770 }
7771 }
7772 bf_set(wqe_temp_rpi, &wqe->els_req.wqe_com,
7773 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]);
7774 bf_set(wqe_els_id, &wqe->els_req.wqe_com, els_id);

--- 8194 unchanged lines hidden ---
7767 bf_set(wqe_ct, &wqe->els_req.wqe_com, 0);
7768 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com,
7769 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]);
7770 }
7771 }
7772 bf_set(wqe_temp_rpi, &wqe->els_req.wqe_com,
7773 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]);
7774 bf_set(wqe_els_id, &wqe->els_req.wqe_com, els_id);

--- 8194 unchanged lines hidden ---