Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
main.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/rtnetlink.h>
#include <linux/if_vlan.h>
#include <rdma/ib_smi.h>
#include <rdma/ib_user_verbs.h>
#include <rdma/ib_addr.h>
#include <linux/mlx4/driver.h>
#include <linux/mlx4/cmd.h>
#include "mlx4_ib.h"
#include "user.h"

Go to the source code of this file.

Data Structures

struct  update_gid_work
 
struct  mlx4_ib_steering
 

Macros

#define DRV_NAME   MLX4_IB_DRV_NAME
 
#define DRV_VERSION   "1.0"
 
#define DRV_RELDATE   "April 4, 2008"
 

Functions

 MODULE_AUTHOR ("Roland Dreier")
 
 MODULE_DESCRIPTION ("Mellanox ConnectX HCA InfiniBand driver")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 module_param_named (sm_guid_assign, mlx4_ib_sm_guid_assign, int, 0444)
 
 MODULE_PARM_DESC (sm_guid_assign,"Enable SM alias_GUID assignment if sm_guid_assign > 0 (Default: 1)")
 
int __mlx4_ib_query_port (struct ib_device *ibdev, u8 port, struct ib_port_attr *props, int netw_view)
 
int __mlx4_ib_query_gid (struct ib_device *ibdev, u8 port, int index, union ib_gid *gid, int netw_view)
 
int __mlx4_ib_query_pkey (struct ib_device *ibdev, u8 port, u16 index, u16 *pkey, int netw_view)
 
int mlx4_ib_add_mc (struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, union ib_gid *gid)
 
 module_init (mlx4_ib_init)
 
 module_exit (mlx4_ib_cleanup)
 

Variables

int mlx4_ib_sm_guid_assign = 1
 

Macro Definition Documentation

#define DRV_NAME   MLX4_IB_DRV_NAME

Definition at line 53 of file main.c.

#define DRV_RELDATE   "April 4, 2008"

Definition at line 55 of file main.c.

#define DRV_VERSION   "1.0"

Definition at line 54 of file main.c.

Function Documentation

int __mlx4_ib_query_gid ( struct ib_device ibdev,
u8  port,
int  index,
union ib_gid gid,
int  netw_view 
)

Definition at line 358 of file main.c.

int __mlx4_ib_query_pkey ( struct ib_device ibdev,
u8  port,
u16  index,
u16 pkey,
int  netw_view 
)

Definition at line 433 of file main.c.

int __mlx4_ib_query_port ( struct ib_device ibdev,
u8  port,
struct ib_port_attr props,
int  netw_view 
)

Definition at line 337 of file main.c.

int mlx4_ib_add_mc ( struct mlx4_ib_dev mdev,
struct mlx4_ib_qp mqp,
union ib_gid gid 
)

Definition at line 746 of file main.c.

MODULE_AUTHOR ( "Roland Dreier"  )
MODULE_DESCRIPTION ( "Mellanox ConnectX HCA InfiniBand driver )
module_exit ( mlx4_ib_cleanup  )
module_init ( mlx4_ib_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
module_param_named ( sm_guid_assign  ,
mlx4_ib_sm_guid_assign  ,
int  ,
0444   
)
MODULE_PARM_DESC ( sm_guid_assign  ,
"Enable SM alias_GUID assignment if  sm_guid_assign,
0(Default:1)"   
)
MODULE_VERSION ( DRV_VERSION  )

Variable Documentation

int mlx4_ib_sm_guid_assign = 1

Definition at line 62 of file main.c.