Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
lpfc_logmsg.h File Reference

Go to the source code of this file.

Macros

#define LOG_ELS   0x00000001 /* ELS events */
 
#define LOG_DISCOVERY   0x00000002 /* Link discovery events */
 
#define LOG_MBOX   0x00000004 /* Mailbox events */
 
#define LOG_INIT   0x00000008 /* Initialization events */
 
#define LOG_LINK_EVENT   0x00000010 /* Link events */
 
#define LOG_IP   0x00000020 /* IP traffic history */
 
#define LOG_FCP   0x00000040 /* FCP traffic history */
 
#define LOG_NODE   0x00000080 /* Node table events */
 
#define LOG_TEMP   0x00000100 /* Temperature sensor events */
 
#define LOG_BG   0x00000200 /* BlockGuard events */
 
#define LOG_MISC   0x00000400 /* Miscellaneous events */
 
#define LOG_SLI   0x00000800 /* SLI events */
 
#define LOG_FCP_ERROR   0x00001000 /* log errors, not underruns */
 
#define LOG_LIBDFC   0x00002000 /* Libdfc events */
 
#define LOG_VPORT   0x00004000 /* NPIV events */
 
#define LOG_SECURITY   0x00008000 /* Security events */
 
#define LOG_EVENT   0x00010000 /* CT,TEMP,DUMP, logging */
 
#define LOG_FIP   0x00020000 /* FIP events */
 
#define LOG_FCP_UNDER   0x00040000 /* FCP underruns errors */
 
#define LOG_ALL_MSG   0xffffffff /* LOG all messages */
 
#define lpfc_printf_vlog(vport, level, mask, fmt, arg...)
 
#define lpfc_printf_log(phba, level, mask, fmt, arg...)
 

Macro Definition Documentation

#define LOG_ALL_MSG   0xffffffff /* LOG all messages */

Definition at line 40 of file lpfc_logmsg.h.

#define LOG_BG   0x00000200 /* BlockGuard events */

Definition at line 30 of file lpfc_logmsg.h.

#define LOG_DISCOVERY   0x00000002 /* Link discovery events */

Definition at line 22 of file lpfc_logmsg.h.

#define LOG_ELS   0x00000001 /* ELS events */

Definition at line 21 of file lpfc_logmsg.h.

#define LOG_EVENT   0x00010000 /* CT,TEMP,DUMP, logging */

Definition at line 37 of file lpfc_logmsg.h.

#define LOG_FCP   0x00000040 /* FCP traffic history */

Definition at line 27 of file lpfc_logmsg.h.

#define LOG_FCP_ERROR   0x00001000 /* log errors, not underruns */

Definition at line 33 of file lpfc_logmsg.h.

#define LOG_FCP_UNDER   0x00040000 /* FCP underruns errors */

Definition at line 39 of file lpfc_logmsg.h.

#define LOG_FIP   0x00020000 /* FIP events */

Definition at line 38 of file lpfc_logmsg.h.

#define LOG_INIT   0x00000008 /* Initialization events */

Definition at line 24 of file lpfc_logmsg.h.

#define LOG_IP   0x00000020 /* IP traffic history */

Definition at line 26 of file lpfc_logmsg.h.

#define LOG_LIBDFC   0x00002000 /* Libdfc events */

Definition at line 34 of file lpfc_logmsg.h.

#define LOG_LINK_EVENT   0x00000010 /* Link events */

Definition at line 25 of file lpfc_logmsg.h.

#define LOG_MBOX   0x00000004 /* Mailbox events */

Definition at line 23 of file lpfc_logmsg.h.

#define LOG_MISC   0x00000400 /* Miscellaneous events */

Definition at line 31 of file lpfc_logmsg.h.

#define LOG_NODE   0x00000080 /* Node table events */

Definition at line 28 of file lpfc_logmsg.h.

#define LOG_SECURITY   0x00008000 /* Security events */

Definition at line 36 of file lpfc_logmsg.h.

#define LOG_SLI   0x00000800 /* SLI events */

Definition at line 32 of file lpfc_logmsg.h.

#define LOG_TEMP   0x00000100 /* Temperature sensor events */

Definition at line 29 of file lpfc_logmsg.h.

#define LOG_VPORT   0x00004000 /* NPIV events */

Definition at line 35 of file lpfc_logmsg.h.

#define lpfc_printf_log (   phba,
  level,
  mask,
  fmt,
  arg... 
)
Value:
do { \
{ uint32_t log_verbose = (phba)->pport ? \
(phba)->pport->cfg_log_verbose : \
(phba)->cfg_log_verbose; \
if (((mask) & log_verbose) || (level[1] <= '3')) \
dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
fmt, phba->brd_no, ##arg); \
} \
} while (0)

Definition at line 49 of file lpfc_logmsg.h.

#define lpfc_printf_vlog (   vport,
  level,
  mask,
  fmt,
  arg... 
)
Value:
do { \
{ if (((mask) & (vport)->cfg_log_verbose) || (level[1] <= '3')) \
dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \
fmt, (vport)->phba->brd_no, vport->vpi, ##arg); } \
} while (0)

Definition at line 42 of file lpfc_logmsg.h.