|
Linux Kernel
3.7.1
|
#include <rdma/ib_mad.h>#include "ehca_classes.h"#include "ehca_tools.h"#include "ehca_iverbs.h"#include "hcp_if.h"Go to the source code of this file.
Data Structures | |
| struct | ib_perf |
| struct | tcslfl |
| struct | vertcfl |
Macros | |
| #define | IB_MAD_STATUS_REDIRECT cpu_to_be16(0x0002) |
| #define | IB_MAD_STATUS_UNSUP_VERSION cpu_to_be16(0x0004) |
| #define | IB_MAD_STATUS_UNSUP_METHOD cpu_to_be16(0x0008) |
| #define | IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001) |
Functions | |
| u64 | ehca_define_sqp (struct ehca_shca *shca, struct ehca_qp *ehca_qp, struct ib_qp_init_attr *qp_init_attr) |
| struct ib_perf | __attribute__ ((packed)) |
| int | ehca_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) |
Variables | |
| struct ib_mad_hdr | mad_hdr |
| u8 | reserved [40] |
| u8 | data [192] |
| u32 | tc |
| u32 | sl |
| u32 | fl |
| u32 | ver |
| #define IB_MAD_STATUS_REDIRECT cpu_to_be16(0x0002) |
Definition at line 49 of file ehca_sqp.c.
| #define IB_MAD_STATUS_UNSUP_METHOD cpu_to_be16(0x0008) |
Definition at line 51 of file ehca_sqp.c.
| #define IB_MAD_STATUS_UNSUP_VERSION cpu_to_be16(0x0004) |
Definition at line 50 of file ehca_sqp.c.
| #define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001) |
Definition at line 53 of file ehca_sqp.c.
|
read |
Definition at line 171 of file esd_usb2.c.
| u64 ehca_define_sqp | ( | struct ehca_shca * | shca, |
| struct ehca_qp * | ehca_qp, | ||
| struct ib_qp_init_attr * | qp_init_attr | ||
| ) |
ehca_define_sqp - Defines special queue pair 1 (GSI QP). When special queue pair is created successfully, the corresponding port gets active.
Define Special Queue pair 0 (SMI QP) is still not supported.
: Queue pair init attributes with port and queue pair type
Definition at line 64 of file ehca_sqp.c.
| int ehca_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 219 of file ehca_sqp.c.
Definition at line 129 of file ehca_sqp.c.
| u32 fl |
Definition at line 136 of file ehca_sqp.c.
| struct ib_mad_hdr mad_hdr |
Definition at line 127 of file ehca_sqp.c.
| u8 reserved[40] |
Definition at line 128 of file ehca_sqp.c.
Definition at line 135 of file ehca_sqp.c.
Definition at line 134 of file ehca_sqp.c.
| u32 ver |
Definition at line 141 of file ehca_sqp.c.
1.8.2