Linux Kernel
3.7.1
|
#include <linux/string.h>
#include <linux/slab.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_cache.h>
#include "mthca_dev.h"
Go to the source code of this file.
Data Structures | |
struct | mthca_av |
Enumerations | |
enum | { MTHCA_RATE_TAVOR_FULL = 0, MTHCA_RATE_TAVOR_1X = 1, MTHCA_RATE_TAVOR_4X = 2, MTHCA_RATE_TAVOR_1X_DDR = 3 } |
enum | { MTHCA_RATE_MEMFREE_FULL = 0, MTHCA_RATE_MEMFREE_QUARTER = 1, MTHCA_RATE_MEMFREE_EIGHTH = 2, MTHCA_RATE_MEMFREE_HALF = 3 } |
Functions | |
enum ib_rate | mthca_rate_to_ib (struct mthca_dev *dev, u8 mthca_rate, u8 port) |
u8 | mthca_get_rate (struct mthca_dev *dev, int static_rate, u8 port) |
int | mthca_create_ah (struct mthca_dev *dev, struct mthca_pd *pd, struct ib_ah_attr *ah_attr, struct mthca_ah *ah) |
int | mthca_destroy_ah (struct mthca_dev *dev, struct mthca_ah *ah) |
int | mthca_ah_grh_present (struct mthca_ah *ah) |
int | mthca_read_ah (struct mthca_dev *dev, struct mthca_ah *ah, struct ib_ud_header *header) |
int | mthca_ah_query (struct ib_ah *ibah, struct ib_ah_attr *attr) |
int | mthca_init_av_table (struct mthca_dev *dev) |
void | mthca_cleanup_av_table (struct mthca_dev *dev) |
anonymous enum |
Definition at line 42 of file mthca_av.c.
anonymous enum |
MTHCA_RATE_MEMFREE_FULL | |
MTHCA_RATE_MEMFREE_QUARTER | |
MTHCA_RATE_MEMFREE_EIGHTH | |
MTHCA_RATE_MEMFREE_HALF |
Definition at line 49 of file mthca_av.c.
Definition at line 261 of file mthca_av.c.
int mthca_ah_query | ( | struct ib_ah * | ibah, |
struct ib_ah_attr * | attr | ||
) |
Definition at line 292 of file mthca_av.c.
Definition at line 365 of file mthca_av.c.
int mthca_create_ah | ( | struct mthca_dev * | dev, |
struct mthca_pd * | pd, | ||
struct ib_ah_attr * | ah_attr, | ||
struct mthca_ah * | ah | ||
) |
Definition at line 153 of file mthca_av.c.
Definition at line 240 of file mthca_av.c.
Definition at line 134 of file mthca_av.c.
Definition at line 324 of file mthca_av.c.
Definition at line 94 of file mthca_av.c.
Definition at line 266 of file mthca_av.c.