Lines Matching refs:entry
57 * rvt_cq_enter - add a new entry to the completion queue
59 * @entry: work completion entry to add
60 * @solicited: true if @entry is solicited
67 bool rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited)
120 trace_rvt_cq_enter(cq, entry, head);
122 uqueue[head].wr_id = entry->wr_id;
123 uqueue[head].status = entry->status;
124 uqueue[head].opcode = entry->opcode;
125 uqueue[head].vendor_err = entry->vendor_err;
126 uqueue[head].byte_len = entry->byte_len;
127 uqueue[head].ex.imm_data = entry->ex.imm_data;
128 uqueue[head].qp_num = entry->qp->qp_num;
129 uqueue[head].src_qp = entry->src_qp;
130 uqueue[head].wc_flags = entry->wc_flags;
131 uqueue[head].pkey_index = entry->pkey_index;
132 uqueue[head].slid = ib_lid_cpu16(entry->slid);
133 uqueue[head].sl = entry->sl;
134 uqueue[head].dlid_path_bits = entry->dlid_path_bits;
135 uqueue[head].port_num = entry->port_num;
136 /* Make sure entry is written before the head index. */
139 kqueue[head] = *entry;
145 (solicited || entry->status != IB_WC_SUCCESS))) {
167 * and poll for all pending entries. If a new completion entry
511 * @entry: pointer to array where work completions are placed
518 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry)
536 for (npolled = 0; npolled < num_entries; ++npolled, ++entry) {
541 *entry = wc->kqueue[tail];