Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ipath_ud.c File Reference
#include <linux/sched.h>
#include <rdma/ib_smi.h>
#include "ipath_verbs.h"
#include "ipath_kernel.h"

Go to the source code of this file.

Functions

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

Function Documentation

int ipath_make_ud_req ( struct ipath_qp qp)

ipath_make_ud_req - construct a UD request packet : the QP

Return 1 if constructed; otherwise, return 0.

Definition at line 241 of file ipath_ud.c.

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

ipath_ud_rcv - receive an incoming UD packet : the device the packet came in on : the packet header : true if the packet has a GRH : the packet data : the packet length : the QP the packet came on

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

Definition at line 409 of file ipath_ud.c.