- log s_id, d_id, type and command to the log message.

Signed-off-by: Saurav Kashyap <skash...@marvell.com>
---
 drivers/scsi/qedf/qedf_io.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/scsi/qedf/qedf_io.c b/drivers/scsi/qedf/qedf_io.c
index 7377a53..27989b3 100644
--- a/drivers/scsi/qedf/qedf_io.c
+++ b/drivers/scsi/qedf/qedf_io.c
@@ -2550,6 +2550,10 @@ void qedf_process_unsol_compl(struct qedf_ctx *qedf, 
uint16_t que_idx,
                QEDF_ERR(&(qedf->dbg_ctx), "Could not allocate fp.\n");
                goto increment_prod;
        }
+       QEDF_WARN(&qedf->dbg_ctx,
+                 "Processing Unsolicated frame, src=%06x dest=%06x r_ctl=0x%x 
type=0x%x cmd=%02x\n",
+                 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl,
+                 fh->fh_type, fc_frame_payload_op(fp));
 
        /* Copy data from BDQ buffer into fc_frame struct */
        fh = (struct fc_frame_header *)fc_frame_header_get(fp);
-- 
1.8.3.1

Reply via email to