Lines Matching refs:qedf

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