#include <rdma/uverbs_ioctl.h>
#include "iw_cxgb4.h"
static void destroy_cq(struct c4iw_rdev *rdev, struct t4_cq *cq,
struct c4iw_dev_ucontext *uctx, struct sk_buff *skb,
struct c4iw_wr_wait *wr_waitp)
{ … }
static int create_cq(struct c4iw_rdev *rdev, struct t4_cq *cq,
struct c4iw_dev_ucontext *uctx,
struct c4iw_wr_wait *wr_waitp)
{ … }
static void insert_recv_cqe(struct t4_wq *wq, struct t4_cq *cq, u32 srqidx)
{ … }
int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count)
{ … }
static void insert_sq_cqe(struct t4_wq *wq, struct t4_cq *cq,
struct t4_swsqe *swcqe)
{ … }
static void advance_oldest_read(struct t4_wq *wq);
int c4iw_flush_sq(struct c4iw_qp *qhp)
{ … }
static void flush_completed_wrs(struct t4_wq *wq, struct t4_cq *cq)
{ … }
static void create_read_req_cqe(struct t4_wq *wq, struct t4_cqe *hw_cqe,
struct t4_cqe *read_cqe)
{ … }
static void advance_oldest_read(struct t4_wq *wq)
{ … }
void c4iw_flush_hw_cq(struct c4iw_cq *chp, struct c4iw_qp *flush_qhp)
{ … }
static int cqe_completes_wr(struct t4_cqe *cqe, struct t4_wq *wq)
{ … }
void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count)
{ … }
static void post_pending_srq_wrs(struct t4_srq *srq)
{ … }
static u64 reap_srq_cqe(struct t4_cqe *hw_cqe, struct t4_srq *srq)
{ … }
static int poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe,
u8 *cqe_flushed, u64 *cookie, u32 *credit,
struct t4_srq *srq)
{ … }
static int __c4iw_poll_cq_one(struct c4iw_cq *chp, struct c4iw_qp *qhp,
struct ib_wc *wc, struct c4iw_srq *srq)
{ … }
static int c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc)
{ … }
int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc)
{ … }
void c4iw_cq_rem_ref(struct c4iw_cq *chp)
{ … }
int c4iw_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata)
{ … }
int c4iw_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
struct uverbs_attr_bundle *attrs)
{ … }
int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags)
{ … }
void c4iw_flush_srqidx(struct c4iw_qp *qhp, u32 srqidx)
{ … }