Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
en_cq.c File Reference
#include <linux/mlx4/cq.h>
#include <linux/mlx4/qp.h>
#include <linux/mlx4/cmd.h>
#include "mlx4_en.h"

Go to the source code of this file.

Functions

int mlx4_en_create_cq (struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, int entries, int ring, enum cq_type mode)
 
int mlx4_en_activate_cq (struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, int cq_idx)
 
void mlx4_en_destroy_cq (struct mlx4_en_priv *priv, struct mlx4_en_cq *cq)
 
void mlx4_en_deactivate_cq (struct mlx4_en_priv *priv, struct mlx4_en_cq *cq)
 
int mlx4_en_set_cq_moder (struct mlx4_en_priv *priv, struct mlx4_en_cq *cq)
 
int mlx4_en_arm_cq (struct mlx4_en_priv *priv, struct mlx4_en_cq *cq)
 

Function Documentation

int mlx4_en_activate_cq ( struct mlx4_en_priv priv,
struct mlx4_en_cq cq,
int  cq_idx 
)

Definition at line 74 of file en_cq.c.

int mlx4_en_arm_cq ( struct mlx4_en_priv priv,
struct mlx4_en_cq cq 
)

Definition at line 172 of file en_cq.c.

int mlx4_en_create_cq ( struct mlx4_en_priv priv,
struct mlx4_en_cq cq,
int  entries,
int  ring,
enum cq_type  mode 
)

Definition at line 46 of file en_cq.c.

void mlx4_en_deactivate_cq ( struct mlx4_en_priv priv,
struct mlx4_en_cq cq 
)

Definition at line 155 of file en_cq.c.

void mlx4_en_destroy_cq ( struct mlx4_en_priv priv,
struct mlx4_en_cq cq 
)

Definition at line 142 of file en_cq.c.

int mlx4_en_set_cq_moder ( struct mlx4_en_priv priv,
struct mlx4_en_cq cq 
)

Definition at line 166 of file en_cq.c.