Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
en_main.c File Reference
#include <linux/cpumask.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/mlx4/driver.h>
#include <linux/mlx4/device.h>
#include <linux/mlx4/cmd.h>
#include "mlx4_en.h"

Go to the source code of this file.

Macros

#define MLX4_EN_PARM_INT(X, def_val, desc)
 

Functions

 MODULE_AUTHOR ("Liran Liss, Yevgeny Petrilin")
 
 MODULE_DESCRIPTION ("Mellanox ConnectX HCA Ethernet driver")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 MODULE_VERSION (DRV_VERSION" ("DRV_RELDATE")")
 
 MLX4_EN_PARM_INT (udp_rss, 1,"Enable RSS for incomming UDP traffic or disabled (0)")
 
 MLX4_EN_PARM_INT (pfctx, 0,"Priority based Flow Control policy on TX[7:0]."" Per priority bit mask")
 
 MLX4_EN_PARM_INT (pfcrx, 0,"Priority based Flow Control policy on RX[7:0]."" Per priority bit mask")
 
int en_print (const char *level, const struct mlx4_en_priv *priv, const char *format,...)
 
 module_init (mlx4_en_init)
 
 module_exit (mlx4_en_cleanup)
 

Macro Definition Documentation

#define MLX4_EN_PARM_INT (   X,
  def_val,
  desc 
)
Value:
static unsigned int X = def_val;\
module_param(X , uint, 0444); \
MODULE_PARM_DESC(X, desc);

Definition at line 55 of file en_main.c.

Function Documentation

int en_print ( const char level,
const struct mlx4_en_priv priv,
const char format,
  ... 
)

Definition at line 75 of file en_main.c.

MLX4_EN_PARM_INT ( udp_rss  ,
,
"Enable RSS for incomming UDP traffic or disabled (0)"   
)
MLX4_EN_PARM_INT ( pfctx  ,
,
"Priority based Flow Control policy on TX."" Per priority bit mask [7:0] 
)
MLX4_EN_PARM_INT ( pfcrx  ,
,
"Priority based Flow Control policy on RX."" Per priority bit mask [7:0] 
)
MODULE_AUTHOR ( "Liran  Liss,
Yevgeny Petrilin"   
)
MODULE_DESCRIPTION ( "Mellanox ConnectX HCA Ethernet driver )
module_exit ( mlx4_en_cleanup  )
module_init ( mlx4_en_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
MODULE_VERSION ( DRV_VERSION" ("DRV_RELDATE")"  )