Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ipath_uc.c File Reference
#include "ipath_verbs.h"
#include "ipath_kernel.h"

Go to the source code of this file.

Macros

#define OP(x)   IB_OPCODE_UC_##x
 

Functions

int ipath_make_uc_req (struct ipath_qp *qp)
 
void ipath_uc_rcv (struct ipath_ibdev *dev, struct ipath_ib_header *hdr, int has_grh, void *data, u32 tlen, struct ipath_qp *qp)
 

Macro Definition Documentation

#define OP (   x)    IB_OPCODE_UC_##x

Definition at line 38 of file ipath_uc.c.

Function Documentation

int ipath_make_uc_req ( struct ipath_qp qp)

ipath_make_uc_req - construct a request packet (SEND, RDMA write) : a pointer to the QP

Return 1 if constructed; otherwise, return 0.

Definition at line 46 of file ipath_uc.c.

void ipath_uc_rcv ( struct ipath_ibdev dev,
struct ipath_ib_header hdr,
int  has_grh,
void data,
u32  tlen,
struct ipath_qp qp 
)

ipath_uc_rcv - handle an incoming UC packet : the device the packet came in on : the header of the packet : true if the packet has a GRH : the packet data : the length of the packet : the QP for this packet.

This is called from ipath_qp_rcv() to process an incoming UC packet for the given QP. Called at interrupt level.

Definition at line 240 of file ipath_uc.c.