Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
qib_ud.c File Reference
#include <rdma/ib_smi.h>
#include "qib.h"
#include "qib_mad.h"

Go to the source code of this file.


int qib_make_ud_req (struct qib_qp *qp)
void qib_ud_rcv (struct qib_ibport *ibp, struct qib_ib_header *hdr, int has_grh, void *data, u32 tlen, struct qib_qp *qp)

Function Documentation

int qib_make_ud_req ( struct qib_qp qp)

qib_make_ud_req - construct a UD request packet : the QP

Return 1 if constructed; otherwise, return 0.

Definition at line 228 of file qib_ud.c.

void qib_ud_rcv ( struct qib_ibport ibp,
struct qib_ib_header hdr,
int  has_grh,
void data,
u32  tlen,
struct qib_qp qp 

qib_ud_rcv - receive an incoming UD packet : the port 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 qib_qp_rcv() to process an incoming UD packet for the given QP. Called at interrupt level.

Definition at line 421 of file qib_ud.c.