#include <rdma/ib_mad.h>
#include <rdma/ib_smi.h>
#include <rdma/ib_cache.h>
#include <rdma/ib_sa.h>
#include <linux/mlx4/cmd.h>
#include <linux/rbtree.h>
#include <linux/delay.h>
#include "mlx4_ib.h"
Go to the source code of this file.
|
#define | MAX_VFS 80 |
|
#define | MAX_PEND_REQS_PER_FUNC 4 |
|
#define | MAD_TIMEOUT_MS 2000 |
|
#define | mcg_warn(fmt, arg...) pr_warn("MCG WARNING: " fmt, ##arg) |
|
#define | mcg_error(fmt, arg...) pr_err(fmt, ##arg) |
|
#define | mcg_warn_group(group, format, arg...) |
|
#define | mcg_error_group(group, format, arg...) pr_err(" %16s: " format, (group)->name, ## arg) |
|
#define | safe_atomic_dec(ref) |
|
#define | MAD_STATUS_REQ_INVALID 0x0200 |
|
|
enum | mcast_state {
MCAST_JOINING,
MCAST_MEMBER,
MCAST_ERROR,
MCAST_NOT_MEMBER = 0,
MCAST_MEMBER
} |
|
enum | mcast_group_state {
MCAST_IDLE,
MCAST_BUSY,
MCAST_GROUP_ERROR,
MCAST_PKEY_EVENT,
MCAST_IDLE,
MCAST_JOIN_SENT,
MCAST_LEAVE_SENT,
MCAST_RESP_READY
} |
|
#define MAD_STATUS_REQ_INVALID 0x0200 |
#define MAD_TIMEOUT_MS 2000 |
Definition at line 46 of file mcg.c.
#define MAX_PEND_REQS_PER_FUNC 4 |
Definition at line 45 of file mcg.c.
Definition at line 44 of file mcg.c.
Definition at line 49 of file mcg.c.
#define mcg_error_group |
( |
|
group, |
|
|
|
format, |
|
|
|
arg... |
|
) |
| pr_err(" %16s: " format, (group)->name, ## arg) |
Definition at line 54 of file mcg.c.
#define mcg_warn |
( |
|
fmt, |
|
|
|
arg... |
|
) |
| pr_warn("MCG WARNING: " fmt, ##arg) |
Definition at line 48 of file mcg.c.
Value:pr_warn(
"%s-%d: %16s (port %d): WARNING: " format, __func__, __LINE__,\
Definition at line 50 of file mcg.c.
#define safe_atomic_dec |
( |
|
ref | ) |
|
Value:do {\
mcg_warn_group(
group,
"did not expect to reach zero\n"); \
} while (0)
Definition at line 137 of file mcg.c.
- Enumerator:
MCAST_IDLE |
|
MCAST_BUSY |
|
MCAST_GROUP_ERROR |
|
MCAST_PKEY_EVENT |
|
MCAST_IDLE |
|
MCAST_JOIN_SENT |
|
MCAST_LEAVE_SENT |
|
MCAST_RESP_READY |
|
Definition at line 67 of file mcg.c.
- Enumerator:
MCAST_JOINING |
|
MCAST_MEMBER |
|
MCAST_ERROR |
|
MCAST_NOT_MEMBER |
|
MCAST_MEMBER |
|
Definition at line 62 of file mcg.c.