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

Go to the source code of this file.

Data Structures

struct  fcoe_capabilities
 
struct  glob_ncsi_oem_data
 
struct  eth_stats_info
 
struct  fcoe_stats_info
 
struct  iscsi_stats_info
 
union  drv_info_to_mcp
 

Macros

#define PORT_0   0
 
#define PORT_1   1
 
#define PORT_MAX   2
 
#define NVM_PATH_MAX   2
 
#define FCOE_IOS_PER_CONNECTION_MASK   0x0000ffff
 
#define FCOE_IOS_PER_CONNECTION_SHIFT   0
 
#define FCOE_LOGINS_PER_PORT_MASK   0xffff0000
 
#define FCOE_LOGINS_PER_PORT_SHIFT   16
 
#define FCOE_NUMBER_OF_EXCHANGES_MASK   0x0000ffff
 
#define FCOE_NUMBER_OF_EXCHANGES_SHIFT   0
 
#define FCOE_NPIV_WWN_PER_PORT_MASK   0xffff0000
 
#define FCOE_NPIV_WWN_PER_PORT_SHIFT   16
 
#define FCOE_TARGETS_SUPPORTED_MASK   0x0000ffff
 
#define FCOE_TARGETS_SUPPORTED_SHIFT   0
 
#define FCOE_OUTSTANDING_COMMANDS_MASK   0xffff0000
 
#define FCOE_OUTSTANDING_COMMANDS_SHIFT   16
 
#define FCOE_CAPABILITY4_STATEFUL   0x00000001
 
#define FCOE_CAPABILITY4_STATELESS   0x00000002
 
#define FCOE_CAPABILITY4_CAPABILITIES_REPORTED_VALID   0x00000004
 
#define DRV_INFO_CUR_VER   2
 
#define ETH_STAT_INFO_VERSION_LEN   12
 
#define FEATURE_ETH_CHKSUM_OFFLOAD_MASK   0x01
 
#define FEATURE_ETH_LSO_MASK   0x02
 
#define FEATURE_ETH_BOOTMODE_MASK   0x1C
 
#define FEATURE_ETH_BOOTMODE_SHIFT   2
 
#define FEATURE_ETH_BOOTMODE_NONE   (0x0 << 2)
 
#define FEATURE_ETH_BOOTMODE_PXE   (0x1 << 2)
 
#define FEATURE_ETH_BOOTMODE_ISCSI   (0x2 << 2)
 
#define FEATURE_ETH_BOOTMODE_FCOE   (0x3 << 2)
 
#define FEATURE_ETH_TOE_MASK   0x20
 

Enumerations

enum  drv_info_opcode { ETH_STATS_OPCODE, FCOE_STATS_OPCODE, ISCSI_STATS_OPCODE }
 

Macro Definition Documentation

#define DRV_INFO_CUR_VER   2

Definition at line 57 of file bnx2x_mfw_req.h.

#define ETH_STAT_INFO_VERSION_LEN   12

Definition at line 66 of file bnx2x_mfw_req.h.

#define FCOE_CAPABILITY4_CAPABILITIES_REPORTED_VALID   0x00000004

Definition at line 47 of file bnx2x_mfw_req.h.

#define FCOE_CAPABILITY4_STATEFUL   0x00000001

Definition at line 45 of file bnx2x_mfw_req.h.

#define FCOE_CAPABILITY4_STATELESS   0x00000002

Definition at line 46 of file bnx2x_mfw_req.h.

#define FCOE_IOS_PER_CONNECTION_MASK   0x0000ffff

Definition at line 22 of file bnx2x_mfw_req.h.

#define FCOE_IOS_PER_CONNECTION_SHIFT   0

Definition at line 23 of file bnx2x_mfw_req.h.

#define FCOE_LOGINS_PER_PORT_MASK   0xffff0000

Definition at line 25 of file bnx2x_mfw_req.h.

#define FCOE_LOGINS_PER_PORT_SHIFT   16

Definition at line 26 of file bnx2x_mfw_req.h.

#define FCOE_NPIV_WWN_PER_PORT_MASK   0xffff0000

Definition at line 33 of file bnx2x_mfw_req.h.

#define FCOE_NPIV_WWN_PER_PORT_SHIFT   16

Definition at line 34 of file bnx2x_mfw_req.h.

#define FCOE_NUMBER_OF_EXCHANGES_MASK   0x0000ffff

Definition at line 30 of file bnx2x_mfw_req.h.

#define FCOE_NUMBER_OF_EXCHANGES_SHIFT   0

Definition at line 31 of file bnx2x_mfw_req.h.

#define FCOE_OUTSTANDING_COMMANDS_MASK   0xffff0000

Definition at line 41 of file bnx2x_mfw_req.h.

#define FCOE_OUTSTANDING_COMMANDS_SHIFT   16

Definition at line 42 of file bnx2x_mfw_req.h.

#define FCOE_TARGETS_SUPPORTED_MASK   0x0000ffff

Definition at line 38 of file bnx2x_mfw_req.h.

#define FCOE_TARGETS_SUPPORTED_SHIFT   0

Definition at line 39 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_BOOTMODE_FCOE   (0x3 << 2)

Definition at line 84 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_BOOTMODE_ISCSI   (0x2 << 2)

Definition at line 83 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_BOOTMODE_MASK   0x1C

Definition at line 79 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_BOOTMODE_NONE   (0x0 << 2)

Definition at line 81 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_BOOTMODE_PXE   (0x1 << 2)

Definition at line 82 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_BOOTMODE_SHIFT   2

Definition at line 80 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_CHKSUM_OFFLOAD_MASK   0x01

Definition at line 77 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_LSO_MASK   0x02

Definition at line 78 of file bnx2x_mfw_req.h.

#define FEATURE_ETH_TOE_MASK   0x20

Definition at line 85 of file bnx2x_mfw_req.h.

#define NVM_PATH_MAX   2

Definition at line 16 of file bnx2x_mfw_req.h.

#define PORT_0   0

Definition at line 13 of file bnx2x_mfw_req.h.

#define PORT_1   1

Definition at line 14 of file bnx2x_mfw_req.h.

#define PORT_MAX   2

Definition at line 15 of file bnx2x_mfw_req.h.

Enumeration Type Documentation

Enumerator:
ETH_STATS_OPCODE 
FCOE_STATS_OPCODE 
ISCSI_STATS_OPCODE 

Definition at line 60 of file bnx2x_mfw_req.h.