Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
mthca_mad.c File Reference
#include <linux/string.h>
#include <linux/slab.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_mad.h>
#include <rdma/ib_smi.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"

Go to the source code of this file.

Enumerations

enum  { MTHCA_VENDOR_CLASS1 = 0x9, MTHCA_VENDOR_CLASS2 = 0xa }
 

Functions

int mthca_process_mad (struct ib_device *ibdev, int mad_flags, u8 port_num, struct ib_wc *in_wc, struct ib_grh *in_grh, struct ib_mad *in_mad, struct ib_mad *out_mad)
 
int mthca_create_agents (struct mthca_dev *dev)
 
void mthca_free_agents (struct mthca_dev *dev)
 

Variables

enum { ... }  __attribute__
 

Enumeration Type Documentation

anonymous enum
Enumerator:
MTHCA_VENDOR_CLASS1 
MTHCA_VENDOR_CLASS2 

Definition at line 45 of file mthca_mad.c.

Function Documentation

int mthca_create_agents ( struct mthca_dev dev)

Definition at line 284 of file mthca_mad.c.

void mthca_free_agents ( struct mthca_dev dev)

Definition at line 326 of file mthca_mad.c.

int mthca_process_mad ( struct ib_device ibdev,
int  mad_flags,
u8  port_num,
struct ib_wc in_wc,
struct ib_grh in_grh,
struct ib_mad in_mad,
struct ib_mad out_mad 
)

Definition at line 195 of file mthca_mad.c.

Variable Documentation

enum { ... } __attribute__