Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
srq.c File Reference
#include <linux/mlx4/qp.h>
#include <linux/mlx4/srq.h>
#include <linux/slab.h>
#include "mlx4_ib.h"
#include "user.h"

Go to the source code of this file.

Functions

struct ib_srqmlx4_ib_create_srq (struct ib_pd *pd, struct ib_srq_init_attr *init_attr, struct ib_udata *udata)
 
int mlx4_ib_modify_srq (struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata)
 
int mlx4_ib_query_srq (struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr)
 
int mlx4_ib_destroy_srq (struct ib_srq *srq)
 
void mlx4_ib_free_srq_wqe (struct mlx4_ib_srq *srq, int wqe_index)
 
int mlx4_ib_post_srq_recv (struct ib_srq *ibsrq, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr)
 

Function Documentation

struct ib_srq* mlx4_ib_create_srq ( struct ib_pd pd,
struct ib_srq_init_attr init_attr,
struct ib_udata udata 
)
read

Definition at line 71 of file srq.c.

int mlx4_ib_destroy_srq ( struct ib_srq srq)

Definition at line 271 of file srq.c.

void mlx4_ib_free_srq_wqe ( struct mlx4_ib_srq srq,
int  wqe_index 
)

Definition at line 294 of file srq.c.

int mlx4_ib_modify_srq ( struct ib_srq ibsrq,
struct ib_srq_attr attr,
enum ib_srq_attr_mask  attr_mask,
struct ib_udata udata 
)

Definition at line 227 of file srq.c.

int mlx4_ib_post_srq_recv ( struct ib_srq ibsrq,
struct ib_recv_wr wr,
struct ib_recv_wr **  bad_wr 
)

Definition at line 308 of file srq.c.

int mlx4_ib_query_srq ( struct ib_srq ibsrq,
struct ib_srq_attr srq_attr 
)

Definition at line 253 of file srq.c.