Lines Matching refs:qedf

14 	struct qedf_ctx *qedf;  in qedf_initiate_els()  local
33 qedf = fcport->qedf; in qedf_initiate_els()
34 lport = qedf->lport; in qedf_initiate_els()
36 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Sending ELS\n"); in qedf_initiate_els()
40 QEDF_ERR(&(qedf->dbg_ctx), "els 0x%x: rport not ready\n", op); in qedf_initiate_els()
45 QEDF_ERR(&(qedf->dbg_ctx), "els 0x%x: link is not ready\n", in qedf_initiate_els()
52 QEDF_ERR(&(qedf->dbg_ctx), "els 0x%x: fcport not ready\n", op); in qedf_initiate_els()
59 QEDF_INFO(&qedf->dbg_ctx, QEDF_LOG_ELS, in qedf_initiate_els()
65 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "initiate_els els_req = " in qedf_initiate_els()
83 QEDF_ERR(&(qedf->dbg_ctx), "ELS MP request init failed\n"); in qedf_initiate_els()
94 QEDF_ERR(&(qedf->dbg_ctx), "Invalid ELS op 0x%x\n", op); in qedf_initiate_els()
124 task = qedf_get_task_mem(&qedf->tasks, xid); in qedf_initiate_els()
129 qedf_cmd_timer_set(qedf, els_req, timer_msec); in qedf_initiate_els()
132 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Ringing doorbell for ELS " in qedf_initiate_els()
142 void qedf_process_els_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, in qedf_process_els_compl() argument
148 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Entered with xid = 0x%x" in qedf_process_els_compl()
154 QEDF_INFO(&qedf->dbg_ctx, QEDF_LOG_IO, in qedf_process_els_compl()
167 QEDF_INFO(&qedf->dbg_ctx, QEDF_LOG_IO, in qedf_process_els_compl()
195 struct qedf_ctx *qedf; in qedf_rrq_compl() local
199 qedf = rrq_req->fcport->qedf; in qedf_rrq_compl()
201 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Entered.\n"); in qedf_rrq_compl()
206 QEDF_ERR(&qedf->dbg_ctx, in qedf_rrq_compl()
212 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "rrq_compl: orig io = %p," in qedf_rrq_compl()
244 struct qedf_ctx *qedf; in qedf_send_rrq() local
272 if (!fcport->qedf) { in qedf_send_rrq()
277 qedf = fcport->qedf; in qedf_send_rrq()
285 QEDF_INFO(&qedf->dbg_ctx, QEDF_LOG_ELS, in qedf_send_rrq()
291 lport = qedf->lport; in qedf_send_rrq()
295 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Sending RRQ orig " in qedf_send_rrq()
302 QEDF_ERR(&(qedf->dbg_ctx), "Unable to allocate cb_arg for " in qedf_send_rrq()
321 QEDF_ERR(&(qedf->dbg_ctx), "RRQ failed - release orig io " in qedf_send_rrq()
333 struct fc_lport *lport = fcport->qedf->lport; in qedf_process_l2_frame_compl()
384 QEDF_ERR(&(fcport->qedf->dbg_ctx), "fcport %p already in reset or not offloaded.\n", in qedf_restart_rport()
401 lport = fcport->qedf->lport; in qedf_restart_rport()
403 QEDF_ERR(&(fcport->qedf->dbg_ctx), in qedf_restart_rport()
472 QEDF_ERR(&(fcport->qedf->dbg_ctx), "resp_len is " in qedf_l2_els_compl()
477 fp = fc_frame_alloc(fcport->qedf->lport, resp_len); in qedf_l2_els_compl()
479 QEDF_ERR(&(fcport->qedf->dbg_ctx), in qedf_l2_els_compl()
492 QEDF_INFO(&(fcport->qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_l2_els_compl()
504 struct fc_lport *lport = fcport->qedf->lport; in qedf_send_adisc()
506 struct qedf_ctx *qedf; in qedf_send_adisc() local
510 qedf = fcport->qedf; in qedf_send_adisc()
515 QEDF_ERR(&(qedf->dbg_ctx), "Unable to allocate cb_arg for " in qedf_send_adisc()
522 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_send_adisc()
532 QEDF_ERR(&(qedf->dbg_ctx), "ADISC failed.\n"); in qedf_send_adisc()
548 struct qedf_ctx *qedf; in qedf_srr_compl() local
553 qedf = srr_req->fcport->qedf; in qedf_srr_compl()
554 lport = qedf->lport; in qedf_srr_compl()
570 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Entered: orig_io=%p," in qedf_srr_compl()
576 QEDF_ERR(&qedf->dbg_ctx, in qedf_srr_compl()
589 QEDF_ERR(&(qedf->dbg_ctx), in qedf_srr_compl()
605 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_srr_compl()
609 QEDF_INFO(&qedf->dbg_ctx, QEDF_LOG_ELS, in qedf_srr_compl()
626 struct qedf_ctx *qedf; in qedf_send_srr() local
646 if (!fcport->qedf) { in qedf_send_srr()
654 qedf = fcport->qedf; in qedf_send_srr()
655 lport = qedf->lport; in qedf_send_srr()
658 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Sending SRR orig_io=%p, " in qedf_send_srr()
664 QEDF_ERR(&(qedf->dbg_ctx), "Unable to allocate cb_arg for " in qedf_send_srr()
683 QEDF_ERR(&(qedf->dbg_ctx), "SRR failed - release orig_io_req" in qedf_send_srr()
707 QEDF_INFO(&(fcport->qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_initiate_seq_cleanup()
713 QEDF_ERR(&(fcport->qedf->dbg_ctx), "Unable to allocate cb_arg " in qedf_initiate_seq_cleanup()
726 qedf_cmd_timer_set(fcport->qedf, orig_io_req, in qedf_initiate_seq_cleanup()
743 void qedf_process_seq_cleanup_compl(struct qedf_ctx *qedf, in qedf_process_seq_cleanup_compl() argument
753 QEDF_ERR(&qedf->dbg_ctx, in qedf_process_seq_cleanup_compl()
763 QEDF_ERR(&(qedf->dbg_ctx), "Unable to send SRR, I/O will " in qedf_process_seq_cleanup_compl()
784 QEDF_ERR(&(fcport->qedf->dbg_ctx), "sc_cmd is NULL for " in qedf_requeue_io_req()
791 QEDF_ERR(&(fcport->qedf->dbg_ctx), "Could not allocate new " in qedf_requeue_io_req()
811 QEDF_ERR(&(fcport->qedf->dbg_ctx), "Unable to post io_req\n"); in qedf_requeue_io_req()
815 QEDF_INFO(&(fcport->qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_requeue_io_req()
843 struct qedf_ctx *qedf; in qedf_rec_compl() local
854 qedf = rec_req->fcport->qedf; in qedf_rec_compl()
855 lport = qedf->lport; in qedf_rec_compl()
869 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Entered: orig_io=%p," in qedf_rec_compl()
875 QEDF_ERR(&qedf->dbg_ctx, in qedf_rec_compl()
889 QEDF_ERR(&(qedf->dbg_ctx), in qedf_rec_compl()
906 QEDF_ERR(&qedf->dbg_ctx, "payload get failed"); in qedf_rec_compl()
910 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
922 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
929 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
933 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
939 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
947 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
953 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
963 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
969 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, in qedf_rec_compl()
1003 struct qedf_ctx *qedf; in qedf_send_rec() local
1021 if (!fcport->qedf) { in qedf_send_rec()
1029 qedf = fcport->qedf; in qedf_send_rec()
1030 lport = qedf->lport; in qedf_send_rec()
1038 QEDF_ERR(&(qedf->dbg_ctx), "Unable to allocate cb_arg for " in qedf_send_rec()
1052 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Sending REC orig_io=%p, " in qedf_send_rec()
1060 QEDF_ERR(&(qedf->dbg_ctx), "REC failed - release orig_io_req" in qedf_send_rec()