Linux Kernel
3.7.1
|
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/log2.h>
#include <linux/dma-mapping.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_user_verbs.h>
#include <rdma/ib_addr.h>
#include "ocrdma.h"
#include "ocrdma_hw.h"
#include "ocrdma_verbs.h"
#include "ocrdma_ah.h"
Go to the source code of this file.
enum additional_status |
Definition at line 83 of file ocrdma_hw.c.
enum cqe_status |
Definition at line 87 of file ocrdma_hw.c.
enum mbx_status |
Definition at line 42 of file ocrdma_hw.c.
enum ib_qp_state get_ibqp_state | ( | enum ocrdma_qp_state | qps | ) |
Definition at line 140 of file ocrdma_hw.c.
int ocrdma_alloc_av | ( | struct ocrdma_dev * | dev, |
struct ocrdma_ah * | ah | ||
) |
Definition at line 2473 of file ocrdma_hw.c.
void ocrdma_cleanup_hw | ( | struct ocrdma_dev * | dev | ) |
Definition at line 2621 of file ocrdma_hw.c.
Definition at line 1678 of file ocrdma_hw.c.
int ocrdma_free_av | ( | struct ocrdma_dev * | dev, |
struct ocrdma_ah * | ah | ||
) |
Definition at line 2498 of file ocrdma_hw.c.
int ocrdma_init_hw | ( | struct ocrdma_dev * | dev | ) |
Definition at line 2583 of file ocrdma_hw.c.
Definition at line 1665 of file ocrdma_hw.c.
Definition at line 1652 of file ocrdma_hw.c.
int ocrdma_mbx_alloc_lkey | ( | struct ocrdma_dev * | dev, |
struct ocrdma_hw_mr * | hwmr, | ||
u32 | pdid, | ||
int | addr_check | ||
) |
Definition at line 1476 of file ocrdma_hw.c.
int ocrdma_mbx_alloc_pd | ( | struct ocrdma_dev * | dev, |
struct ocrdma_pd * | pd | ||
) |
Definition at line 1135 of file ocrdma_hw.c.
int ocrdma_mbx_create_cq | ( | struct ocrdma_dev * | dev, |
struct ocrdma_cq * | cq, | ||
int | entries, | ||
int | dpp_cq | ||
) |
Definition at line 1344 of file ocrdma_hw.c.
int ocrdma_mbx_create_qp | ( | struct ocrdma_qp * | qp, |
struct ib_qp_init_attr * | attrs, | ||
u8 | enable_dpp_cq, | ||
u16 | dpp_cq_id, | ||
u16 * | dpp_offset, | ||
u16 * | dpp_credit_lmt | ||
) |
Definition at line 2000 of file ocrdma_hw.c.
int ocrdma_mbx_create_srq | ( | struct ocrdma_srq * | srq, |
struct ib_srq_init_attr * | srq_attr, | ||
struct ocrdma_pd * | pd | ||
) |
Definition at line 2341 of file ocrdma_hw.c.
int ocrdma_mbx_dealloc_lkey | ( | struct ocrdma_dev * | dev, |
int | fr_mr, | ||
u32 | lkey | ||
) |
Definition at line 1510 of file ocrdma_hw.c.
int ocrdma_mbx_dealloc_pd | ( | struct ocrdma_dev * | dev, |
struct ocrdma_pd * | pd | ||
) |
Definition at line 1164 of file ocrdma_hw.c.
int ocrdma_mbx_destroy_cq | ( | struct ocrdma_dev * | dev, |
struct ocrdma_cq * | cq | ||
) |
Definition at line 1451 of file ocrdma_hw.c.
int ocrdma_mbx_destroy_qp | ( | struct ocrdma_dev * | dev, |
struct ocrdma_qp * | qp | ||
) |
Definition at line 2316 of file ocrdma_hw.c.
int ocrdma_mbx_destroy_srq | ( | struct ocrdma_dev * | dev, |
struct ocrdma_srq * | srq | ||
) |
Definition at line 2456 of file ocrdma_hw.c.
int ocrdma_mbx_modify_qp | ( | struct ocrdma_dev * | dev, |
struct ocrdma_qp * | qp, | ||
struct ib_qp_attr * | attrs, | ||
int | attr_mask, | ||
enum ib_qp_state | old_qps | ||
) |
Definition at line 2281 of file ocrdma_hw.c.
int ocrdma_mbx_modify_srq | ( | struct ocrdma_srq * | srq, |
struct ib_srq_attr * | srq_attr | ||
) |
Definition at line 2417 of file ocrdma_hw.c.
int ocrdma_mbx_query_qp | ( | struct ocrdma_dev * | dev, |
struct ocrdma_qp * | qp, | ||
struct ocrdma_qp_params * | param | ||
) |
Definition at line 2098 of file ocrdma_hw.c.
int ocrdma_mbx_query_srq | ( | struct ocrdma_srq * | srq, |
struct ib_srq_attr * | srq_attr | ||
) |
Definition at line 2432 of file ocrdma_hw.c.
int ocrdma_qp_state_machine | ( | struct ocrdma_qp * | qp, |
enum ib_qp_state | new_ib_state, | ||
enum ib_qp_state * | old_ib_state | ||
) |
Definition at line 1695 of file ocrdma_hw.c.
int ocrdma_reg_mr | ( | struct ocrdma_dev * | dev, |
struct ocrdma_hw_mr * | hwmr, | ||
u32 | pdid, | ||
int | acc | ||
) |
Definition at line 1608 of file ocrdma_hw.c.
int ocrdma_resolve_dgid | ( | struct ocrdma_dev * | dev, |
union ib_gid * | dgid, | ||
u8 * | mac_addr | ||
) |
Definition at line 2119 of file ocrdma_hw.c.
void ocrdma_ring_cq_db | ( | struct ocrdma_dev * | dev, |
u16 | cq_id, | ||
bool | armed, | ||
bool | solicited, | ||
u16 | cqe_popped | ||
) |
Definition at line 273 of file ocrdma_hw.c.