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

Go to the source code of this file.

Data Structures

struct  fcoe_hdr
 
struct  fcoe_crc_eof
 
struct  fcoe_fc_els_lesb
 

Macros

#define FC_FCOE_OUI   0x0efc00 /* upper 24 bits of FCOE MAC */
 
#define FC_FCOE_FLOGI_MAC   { 0x0e, 0xfc, 0x00, 0xff, 0xff, 0xfe }
 
#define FC_FCOE_VER   0 /* version */
 
#define FC_FCOE_ENCAPS_ID(n)   (((u64) FC_FCOE_OUI << 24) | (n))
 
#define FC_FCOE_DECAPS_ID(n)   ((n) >> 24)
 
#define FC_FCOE_DECAPS_VER(hp)   ((hp)->fcoe_ver >> 4)
 
#define FC_FCOE_ENCAPS_VER(hp, ver)   ((hp)->fcoe_ver = (ver) << 4)
 
#define FCOE_HEADER_LEN   38
 
#define FCOE_MIN_FRAME   46
 

Functions

struct fcoe_crc_eof __attribute__ ((packed))
 

Variables

struct fcoe_hdr __attribute__
 
__le32 fcoe_crc32
 
__u8 fcoe_eof
 
__u8 fcoe_resvd [3]
 

Macro Definition Documentation

#define FC_FCOE_DECAPS_ID (   n)    ((n) >> 24)

Definition at line 45 of file fc_fcoe.h.

#define FC_FCOE_DECAPS_VER (   hp)    ((hp)->fcoe_ver >> 4)

Definition at line 57 of file fc_fcoe.h.

#define FC_FCOE_ENCAPS_ID (   n)    (((u64) FC_FCOE_OUI << 24) | (n))

Definition at line 44 of file fc_fcoe.h.

#define FC_FCOE_ENCAPS_VER (   hp,
  ver 
)    ((hp)->fcoe_ver = (ver) << 4)

Definition at line 58 of file fc_fcoe.h.

#define FC_FCOE_FLOGI_MAC   { 0x0e, 0xfc, 0x00, 0xff, 0xff, 0xfe }

Definition at line 36 of file fc_fcoe.h.

#define FC_FCOE_OUI   0x0efc00 /* upper 24 bits of FCOE MAC */

Definition at line 31 of file fc_fcoe.h.

#define FC_FCOE_VER   0 /* version */

Definition at line 38 of file fc_fcoe.h.

#define FCOE_HEADER_LEN   38

Definition at line 73 of file fc_fcoe.h.

#define FCOE_MIN_FRAME   46

Definition at line 79 of file fc_fcoe.h.

Function Documentation

struct fcoe_crc_eof __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__le32 fcoe_crc32

Definition at line 68 of file fc_fcoe.h.

__u8 fcoe_eof

Definition at line 69 of file fc_fcoe.h.

__u8 fcoe_resvd[3]

Definition at line 70 of file fc_fcoe.h.