3 void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...)
8 if (likely(!(bnx2fc_debug_level & LOG_IO)))
16 if (io_req && io_req->port && io_req->port->lport &&
17 io_req->port->lport->host)
18 shost_printk(KERN_INFO, io_req->port->lport->host,
22 pr_info("NULL %pV", &vaf);
27 void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...)
32 if (likely(!(bnx2fc_debug_level & LOG_TGT)))
40 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host &&
42 shost_printk(KERN_INFO, tgt->port->lport->host,
44 tgt->rport->port_id, &vaf);
46 pr_info("NULL %pV", &vaf);
51 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...)
56 if (likely(!(bnx2fc_debug_level & LOG_HBA)))
64 if (lport && lport->host)
65 shost_printk(KERN_INFO, lport->host, PFX "%pV", &vaf);
67 pr_info("NULL %pV", &vaf);