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

Go to the source code of this file.

Macros

#define LOG_IO   0x01 /* scsi cmd error, cleanup */
 
#define LOG_TGT   0x02 /* Session setup, cleanup, etc' */
 
#define LOG_HBA   0x04 /* lport events, link, mtu, etc' */
 
#define LOG_ELS   0x08 /* ELS logs */
 
#define LOG_MISC   0x10 /* fcoe L2 frame related logs*/
 
#define LOG_ALL   0xff /* LOG all messages */
 
#define BNX2FC_ELS_DBG(fmt,...)
 
#define BNX2FC_MISC_DBG(fmt,...)
 

Functions

 __printf (2, 3) void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req
 

Variables

unsigned int bnx2fc_debug_level
 
const charfmt
 

Macro Definition Documentation

#define BNX2FC_ELS_DBG (   fmt,
  ... 
)
Value:
do { \
pr_info(fmt, ##__VA_ARGS__); \
} while (0)

Definition at line 14 of file bnx2fc_debug.h.

#define BNX2FC_MISC_DBG (   fmt,
  ... 
)
Value:
do { \
pr_info(fmt, ##__VA_ARGS__); \
} while (0)

Definition at line 20 of file bnx2fc_debug.h.

#define LOG_ALL   0xff /* LOG all messages */

Definition at line 10 of file bnx2fc_debug.h.

#define LOG_ELS   0x08 /* ELS logs */

Definition at line 8 of file bnx2fc_debug.h.

#define LOG_HBA   0x04 /* lport events, link, mtu, etc' */

Definition at line 7 of file bnx2fc_debug.h.

#define LOG_IO   0x01 /* scsi cmd error, cleanup */

Definition at line 5 of file bnx2fc_debug.h.

#define LOG_MISC   0x10 /* fcoe L2 frame related logs*/

Definition at line 9 of file bnx2fc_debug.h.

#define LOG_TGT   0x02 /* Session setup, cleanup, etc' */

Definition at line 6 of file bnx2fc_debug.h.

Function Documentation

__printf ( ,
 
) const

Variable Documentation

unsigned int bnx2fc_debug_level

Definition at line 94 of file bnx2fc_fcoe.c.

Definition at line 27 of file bnx2fc_debug.h.