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

Go to the source code of this file.

Functions

struct qib_mcastqib_mcast_find (struct qib_ibport *ibp, union ib_gid *mgid)
 
int qib_multicast_attach (struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
 
int qib_multicast_detach (struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
 
int qib_mcast_tree_empty (struct qib_ibport *ibp)
 

Function Documentation

struct qib_mcast* qib_mcast_find ( struct qib_ibport ibp,
union ib_gid mgid 
)
read

qib_mcast_find - search the global table for the given multicast GID : the IB port structure : the multicast GID to search for

Returns NULL if not found.

The caller is responsible for decrementing the reference count if found.

Definition at line 111 of file qib_verbs_mcast.c.

int qib_mcast_tree_empty ( struct qib_ibport ibp)

Definition at line 365 of file qib_verbs_mcast.c.

int qib_multicast_attach ( struct ib_qp ibqp,
union ib_gid gid,
u16  lid 
)

Definition at line 225 of file qib_verbs_mcast.c.

int qib_multicast_detach ( struct ib_qp ibqp,
union ib_gid gid,
u16  lid 
)

Definition at line 283 of file qib_verbs_mcast.c.