Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ipath_srq.c File Reference
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "ipath_verbs.h"

Go to the source code of this file.

Functions

int ipath_post_srq_receive (struct ib_srq *ibsrq, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr)
 
struct ib_srqipath_create_srq (struct ib_pd *ibpd, struct ib_srq_init_attr *srq_init_attr, struct ib_udata *udata)
 
int ipath_modify_srq (struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata)
 
int ipath_query_srq (struct ib_srq *ibsrq, struct ib_srq_attr *attr)
 
int ipath_destroy_srq (struct ib_srq *ibsrq)
 

Function Documentation

struct ib_srq* ipath_create_srq ( struct ib_pd ibpd,
struct ib_srq_init_attr srq_init_attr,
struct ib_udata udata 
)
read

ipath_create_srq - create a shared receive queue : the protection domain of the SRQ to create : the attributes of the SRQ : data from libipathverbs when creating a user SRQ

Definition at line 101 of file ipath_srq.c.

int ipath_destroy_srq ( struct ib_srq ibsrq)

ipath_destroy_srq - destroy a shared receive queue : the SRQ to destroy

Definition at line 365 of file ipath_srq.c.

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

ipath_modify_srq - modify a shared receive queue : the SRQ to modify : the new attributes of the SRQ : indicates which attributes to modify : user data for ipathverbs.so

Definition at line 215 of file ipath_srq.c.

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

ipath_post_srq_receive - post a receive on a shared receive queue : the SRQ to post the receive on : the list of work requests to post : the first WR to cause a problem is put here

This may be called from interrupt context.

Definition at line 48 of file ipath_srq.c.

int ipath_query_srq ( struct ib_srq ibsrq,
struct ib_srq_attr attr 
)

Definition at line 351 of file ipath_srq.c.