Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ib_send.c File Reference
#include <linux/kernel.h>
#include <linux/in.h>
#include <linux/device.h>
#include <linux/dmapool.h>
#include <linux/ratelimit.h>
#include "rds.h"
#include "ib.h"

Go to the source code of this file.

Macros

#define RDS_IB_WC_STATUS_STR(foo)   [IB_WC_##foo] = __stringify(IB_WC_##foo)
 

Functions

charrds_ib_wc_status_str (enum ib_wc_status status)
 
void rds_ib_send_init_ring (struct rds_ib_connection *ic)
 
void rds_ib_send_clear_ring (struct rds_ib_connection *ic)
 
void rds_ib_send_cq_comp_handler (struct ib_cq *cq, void *context)
 
int rds_ib_send_grab_credits (struct rds_ib_connection *ic, u32 wanted, u32 *adv_credits, int need_posted, int max_posted)
 
void rds_ib_send_add_credits (struct rds_connection *conn, unsigned int credits)
 
void rds_ib_advertise_credits (struct rds_connection *conn, unsigned int posted)
 
int rds_ib_xmit (struct rds_connection *conn, struct rds_message *rm, unsigned int hdr_off, unsigned int sg, unsigned int off)
 
int rds_ib_xmit_atomic (struct rds_connection *conn, struct rm_atomic_op *op)
 
int rds_ib_xmit_rdma (struct rds_connection *conn, struct rm_rdma_op *op)
 
void rds_ib_xmit_complete (struct rds_connection *conn)
 

Macro Definition Documentation

#define RDS_IB_WC_STATUS_STR (   foo)    [IB_WC_##foo] = __stringify(IB_WC_##foo)

Function Documentation

void rds_ib_advertise_credits ( struct rds_connection conn,
unsigned int  posted 
)

Definition at line 470 of file ib_send.c.

void rds_ib_send_add_credits ( struct rds_connection conn,
unsigned int  credits 
)

Definition at line 449 of file ib_send.c.

void rds_ib_send_clear_ring ( struct rds_ib_connection ic)

Definition at line 245 of file ib_send.c.

void rds_ib_send_cq_comp_handler ( struct ib_cq cq,
void context 
)

Definition at line 274 of file ib_send.c.

int rds_ib_send_grab_credits ( struct rds_ib_connection ic,
u32  wanted,
u32 adv_credits,
int  need_posted,
int  max_posted 
)

Definition at line 396 of file ib_send.c.

void rds_ib_send_init_ring ( struct rds_ib_connection ic)

Definition at line 222 of file ib_send.c.

char* rds_ib_wc_status_str ( enum ib_wc_status  status)

Definition at line 70 of file ib_send.c.

int rds_ib_xmit ( struct rds_connection conn,
struct rds_message rm,
unsigned int  hdr_off,
unsigned int  sg,
unsigned int  off 
)

Definition at line 525 of file ib_send.c.

int rds_ib_xmit_atomic ( struct rds_connection conn,
struct rm_atomic_op *  op 
)

Definition at line 787 of file ib_send.c.

void rds_ib_xmit_complete ( struct rds_connection conn)

Definition at line 1014 of file ib_send.c.

int rds_ib_xmit_rdma ( struct rds_connection conn,
struct rm_rdma_op *  op 
)

Definition at line 876 of file ib_send.c.