Linux Kernel
3.7.1
|
#include <rdma/ib_cm.h>
#include <net/dst.h>
#include <net/icmp.h>
#include <linux/icmpv6.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/moduleparam.h>
#include "ipoib.h"
Go to the source code of this file.
Macros | |
#define | IPOIB_CM_IETF_ID 0x1000000000000000ULL |
#define | IPOIB_CM_RX_UPDATE_TIME (256 * HZ) |
#define | IPOIB_CM_RX_TIMEOUT (2 * 256 * HZ) |
#define | IPOIB_CM_RX_DELAY (3 * 256 * HZ) |
#define | IPOIB_CM_RX_UPDATE_MASK (0x3) |
#define | IPOIB_CM_RX_DRAIN_WRID 0xffffffff |
Functions | |
module_param_named (max_nonsrq_conn_qp, ipoib_max_conn_qp, int, 0444) | |
MODULE_PARM_DESC (max_nonsrq_conn_qp,"Max number of connected-mode QPs per interface ""(applied only if shared receive queue is not available)") | |
void | ipoib_cm_handle_rx_wc (struct net_device *dev, struct ib_wc *wc) |
void | ipoib_cm_send (struct net_device *dev, struct sk_buff *skb, struct ipoib_cm_tx *tx) |
void | ipoib_cm_handle_tx_wc (struct net_device *dev, struct ib_wc *wc) |
int | ipoib_cm_dev_open (struct net_device *dev) |
void | ipoib_cm_dev_stop (struct net_device *dev) |
struct ipoib_cm_tx * | ipoib_cm_create_tx (struct net_device *dev, struct ipoib_path *path, struct ipoib_neigh *neigh) |
void | ipoib_cm_destroy_tx (struct ipoib_cm_tx *tx) |
void | ipoib_cm_skb_too_long (struct net_device *dev, struct sk_buff *skb, unsigned int mtu) |
int | ipoib_cm_add_mode_attr (struct net_device *dev) |
int | ipoib_cm_dev_init (struct net_device *dev) |
void | ipoib_cm_dev_cleanup (struct net_device *dev) |
Variables | |
int | ipoib_max_conn_qp = 128 |
#define IPOIB_CM_IETF_ID 0x1000000000000000ULL |
Definition at line 59 of file ipoib_cm.c.
#define IPOIB_CM_RX_DELAY (3 * 256 * HZ) |
Definition at line 63 of file ipoib_cm.c.
#define IPOIB_CM_RX_DRAIN_WRID 0xffffffff |
Definition at line 70 of file ipoib_cm.c.
#define IPOIB_CM_RX_TIMEOUT (2 * 256 * HZ) |
Definition at line 62 of file ipoib_cm.c.
#define IPOIB_CM_RX_UPDATE_MASK (0x3) |
Definition at line 64 of file ipoib_cm.c.
#define IPOIB_CM_RX_UPDATE_TIME (256 * HZ) |
Definition at line 61 of file ipoib_cm.c.
int ipoib_cm_add_mode_attr | ( | struct net_device * | dev | ) |
Definition at line 1472 of file ipoib_cm.c.
|
read |
Definition at line 1251 of file ipoib_cm.c.
void ipoib_cm_destroy_tx | ( | struct ipoib_cm_tx * | tx | ) |
Definition at line 1271 of file ipoib_cm.c.
void ipoib_cm_dev_cleanup | ( | struct net_device * | dev | ) |
Definition at line 1575 of file ipoib_cm.c.
int ipoib_cm_dev_init | ( | struct net_device * | dev | ) |
Definition at line 1508 of file ipoib_cm.c.
int ipoib_cm_dev_open | ( | struct net_device * | dev | ) |
Definition at line 832 of file ipoib_cm.c.
void ipoib_cm_dev_stop | ( | struct net_device * | dev | ) |
Definition at line 887 of file ipoib_cm.c.
void ipoib_cm_handle_rx_wc | ( | struct net_device * | dev, |
struct ib_wc * | wc | ||
) |
Definition at line 556 of file ipoib_cm.c.
void ipoib_cm_handle_tx_wc | ( | struct net_device * | dev, |
struct ib_wc * | wc | ||
) |
Definition at line 765 of file ipoib_cm.c.
void ipoib_cm_send | ( | struct net_device * | dev, |
struct sk_buff * | skb, | ||
struct ipoib_cm_tx * | tx | ||
) |
Definition at line 707 of file ipoib_cm.c.
Definition at line 1390 of file ipoib_cm.c.
module_param_named | ( | max_nonsrq_conn_qp | , |
ipoib_max_conn_qp | , | ||
int | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | max_nonsrq_conn_qp | , |
"Max number of connected-mode QPs per interface ""(applied only if shared receive queue is not available)" | |||
) |
int ipoib_max_conn_qp = 128 |
Definition at line 44 of file ipoib_cm.c.