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

Go to the source code of this file.

Data Structures

struct  mlx4_set_vlan_fltr_mbox
 
struct  mlx4_en_query_port_context
 
struct  mlx4_en_stat_out_mbox
 

Macros

#define SET_PORT_GEN_ALL_VALID   0x7
 
#define SET_PORT_PROMISC_SHIFT   31
 
#define SET_PORT_MC_PROMISC_SHIFT   30
 
#define MLX4_EN_NUM_TC   8
 
#define VLAN_FLTR_SIZE   128
 
#define MLX4_EN_LINK_UP_MASK   0x80
 
#define MLX4_EN_SPEED_MASK   0x43
 

Enumerations

enum  { MLX4_MCAST_CONFIG = 0, MLX4_MCAST_DISABLE = 1, MLX4_MCAST_ENABLE = 2 }
 
enum  {
  MLX4_EN_1G_SPEED = 0x02, MLX4_EN_10G_SPEED_XFI = 0x01, MLX4_EN_10G_SPEED_XAUI = 0x00, MLX4_EN_40G_SPEED = 0x40,
  MLX4_EN_OTHER_SPEED = 0x0f
}
 

Macro Definition Documentation

#define MLX4_EN_LINK_UP_MASK   0x80

Definition at line 66 of file en_port.h.

#define MLX4_EN_NUM_TC   8

Definition at line 42 of file en_port.h.

#define MLX4_EN_SPEED_MASK   0x43

Definition at line 71 of file en_port.h.

#define SET_PORT_GEN_ALL_VALID   0x7

Definition at line 38 of file en_port.h.

#define SET_PORT_MC_PROMISC_SHIFT   30

Definition at line 40 of file en_port.h.

#define SET_PORT_PROMISC_SHIFT   31

Definition at line 39 of file en_port.h.

#define VLAN_FLTR_SIZE   128

Definition at line 44 of file en_port.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
MLX4_MCAST_CONFIG 
MLX4_MCAST_DISABLE 
MLX4_MCAST_ENABLE 

Definition at line 50 of file en_port.h.

anonymous enum
Enumerator:
MLX4_EN_1G_SPEED 
MLX4_EN_10G_SPEED_XFI 
MLX4_EN_10G_SPEED_XAUI 
MLX4_EN_40G_SPEED 
MLX4_EN_OTHER_SPEED 

Definition at line 56 of file en_port.h.