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

Go to the source code of this file.

Data Structures

struct  mlx4_interface
 

Macros

#define MLX4_MAC_MASK   0xffffffffffffULL
 

Enumerations

enum  mlx4_dev_event {
  MLX4_DEV_EVENT_CATASTROPHIC_ERROR, MLX4_DEV_EVENT_PORT_UP, MLX4_DEV_EVENT_PORT_DOWN, MLX4_DEV_EVENT_PORT_REINIT,
  MLX4_DEV_EVENT_PORT_MGMT_CHANGE, MLX4_DEV_EVENT_SLAVE_INIT, MLX4_DEV_EVENT_SLAVE_SHUTDOWN
}
 

Functions

int mlx4_register_interface (struct mlx4_interface *intf)
 
void mlx4_unregister_interface (struct mlx4_interface *intf)
 
voidmlx4_get_protocol_dev (struct mlx4_dev *dev, enum mlx4_protocol proto, int port)
 

Macro Definition Documentation

#define MLX4_MAC_MASK   0xffffffffffffULL

Definition at line 40 of file driver.h.

Enumeration Type Documentation

Enumerator:
MLX4_DEV_EVENT_CATASTROPHIC_ERROR 
MLX4_DEV_EVENT_PORT_UP 
MLX4_DEV_EVENT_PORT_DOWN 
MLX4_DEV_EVENT_PORT_REINIT 
MLX4_DEV_EVENT_PORT_MGMT_CHANGE 
MLX4_DEV_EVENT_SLAVE_INIT 
MLX4_DEV_EVENT_SLAVE_SHUTDOWN 

Definition at line 42 of file driver.h.

Function Documentation

void* mlx4_get_protocol_dev ( struct mlx4_dev dev,
enum mlx4_protocol  proto,
int  port 
)

Definition at line 169 of file intf.c.

int mlx4_register_interface ( struct mlx4_interface intf)

Definition at line 84 of file intf.c.

void mlx4_unregister_interface ( struct mlx4_interface intf)

Definition at line 103 of file intf.c.