Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
#include <linux/printk.h> | #include <linux/printk.h> | ||||
#include "mlx4_ib.h" | #include "mlx4_ib.h" | ||||
#include "mlx4_exp.h" | #include "mlx4_exp.h" | ||||
#include "user.h" | #include "user.h" | ||||
#include "wc.h" | #include "wc.h" | ||||
#define DRV_NAME MLX4_IB_DRV_NAME | #define DRV_NAME MLX4_IB_DRV_NAME | ||||
#define DRV_VERSION "1.0" | #define DRV_VERSION "1.0" | ||||
#define DRV_RELDATE "Sep 30 2016" | |||||
#define MLX4_IB_DRIVER_PROC_DIR_NAME "driver/mlx4_ib" | #define MLX4_IB_DRIVER_PROC_DIR_NAME "driver/mlx4_ib" | ||||
#define MLX4_IB_MRS_PROC_DIR_NAME "mrs" | #define MLX4_IB_MRS_PROC_DIR_NAME "mrs" | ||||
#define MLX4_IB_FLOW_MAX_PRIO 0xFFF | #define MLX4_IB_FLOW_MAX_PRIO 0xFFF | ||||
#define MLX4_IB_FLOW_QPN_MASK 0xFFFFFF | #define MLX4_IB_FLOW_QPN_MASK 0xFFFFFF | ||||
MODULE_AUTHOR("Roland Dreier"); | MODULE_AUTHOR("Roland Dreier"); | ||||
MODULE_DESCRIPTION("Mellanox ConnectX HCA InfiniBand driver"); | MODULE_DESCRIPTION("Mellanox ConnectX HCA InfiniBand driver"); | ||||
Show All 26 Lines | MODULE_PARM_DESC(dev_assign_str, | ||||
"\t\tMax supported devices - 32"); | "\t\tMax supported devices - 32"); | ||||
static unsigned long *dev_num_str_bitmap; | static unsigned long *dev_num_str_bitmap; | ||||
static spinlock_t dev_num_str_lock; | static spinlock_t dev_num_str_lock; | ||||
static const char mlx4_ib_version[] = | static const char mlx4_ib_version[] = | ||||
DRV_NAME ": Mellanox ConnectX InfiniBand driver v" | DRV_NAME ": Mellanox ConnectX InfiniBand driver v" | ||||
DRV_VERSION " (" DRV_RELDATE ")\n"; | DRV_VERSION "\n"; | ||||
struct update_gid_work { | struct update_gid_work { | ||||
struct work_struct work; | struct work_struct work; | ||||
union ib_gid gids[128]; | union ib_gid gids[128]; | ||||
struct mlx4_ib_dev *dev; | struct mlx4_ib_dev *dev; | ||||
int port; | int port; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 2,783 Lines • Show Last 20 Lines |