Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
fcoe.h File Reference
#include <linux/skbuff.h>
#include <linux/kthread.h>

Go to the source code of this file.

Data Structures

struct  fcoe_interface
 

Macros

#define FCOE_MAX_QUEUE_DEPTH   256
 
#define FCOE_MIN_QUEUE_DEPTH   32
 
#define FCOE_WORD_TO_BYTE   4
 
#define FCOE_VERSION   "0.1"
 
#define FCOE_NAME   "fcoe"
 
#define FCOE_VENDOR   "Open-FCoE.org"
 
#define FCOE_MAX_LUN   0xFFFF
 
#define FCOE_MAX_FCP_TARGET   256
 
#define FCOE_MAX_OUTSTANDING_COMMANDS   1024
 
#define FCOE_MIN_XID   0x0000 /* the min xid supported by fcoe_sw */
 
#define FCOE_MAX_XID   0x0FFF /* the max xid supported by fcoe_sw */
 
#define FCOE_LOGGING   0x01 /* General logging, not categorized */
 
#define FCOE_NETDEV_LOGGING   0x02 /* Netdevice logging */
 
#define FCOE_CHECK_LOGGING(LEVEL, CMD)
 
#define FCOE_DBG(fmt, args...)
 
#define FCOE_NETDEV_DBG(netdev, fmt, args...)
 
#define fcoe_to_ctlr(x)   (struct fcoe_ctlr *)(((struct fcoe_ctlr *)(x)) - 1)
 
#define fcoe_from_ctlr(x)   ((struct fcoe_interface *)((x) + 1))
 

Variables

unsigned int fcoe_debug_logging
 

Macro Definition Documentation

#define FCOE_CHECK_LOGGING (   LEVEL,
  CMD 
)
Value:
do { \
do { \
CMD; \
} while (0); \
} while (0)

Definition at line 48 of file fcoe.h.

#define FCOE_DBG (   fmt,
  args... 
)
Value:

Definition at line 56 of file fcoe.h.

#define fcoe_from_ctlr (   x)    ((struct fcoe_interface *)((x) + 1))

Definition at line 91 of file fcoe.h.

#define FCOE_LOGGING   0x01 /* General logging, not categorized */

Definition at line 45 of file fcoe.h.

#define FCOE_MAX_FCP_TARGET   256

Definition at line 36 of file fcoe.h.

#define FCOE_MAX_LUN   0xFFFF

Definition at line 35 of file fcoe.h.

#define FCOE_MAX_OUTSTANDING_COMMANDS   1024

Definition at line 38 of file fcoe.h.

#define FCOE_MAX_QUEUE_DEPTH   256

Definition at line 26 of file fcoe.h.

#define FCOE_MAX_XID   0x0FFF /* the max xid supported by fcoe_sw */

Definition at line 41 of file fcoe.h.

#define FCOE_MIN_QUEUE_DEPTH   32

Definition at line 27 of file fcoe.h.

#define FCOE_MIN_XID   0x0000 /* the min xid supported by fcoe_sw */

Definition at line 40 of file fcoe.h.

#define FCOE_NAME   "fcoe"

Definition at line 32 of file fcoe.h.

#define FCOE_NETDEV_DBG (   netdev,
  fmt,
  args... 
)
Value:
printk(KERN_INFO "fcoe: %s: " fmt, \
netdev->name, ##args);)

Definition at line 60 of file fcoe.h.

#define FCOE_NETDEV_LOGGING   0x02 /* Netdevice logging */

Definition at line 46 of file fcoe.h.

#define fcoe_to_ctlr (   x)    (struct fcoe_ctlr *)(((struct fcoe_ctlr *)(x)) - 1)

Definition at line 88 of file fcoe.h.

#define FCOE_VENDOR   "Open-FCoE.org"

Definition at line 33 of file fcoe.h.

#define FCOE_VERSION   "0.1"

Definition at line 31 of file fcoe.h.

#define FCOE_WORD_TO_BYTE   4

Definition at line 29 of file fcoe.h.

Variable Documentation

unsigned int fcoe_debug_logging

Definition at line 62 of file fcoe.c.