Home
last modified time | relevance | path

Searched refs:nesqp (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/nes/
Dnes_verbs.c214 struct nes_qp *nesqp = to_nesqp(ibqp); in nes_bind_mw() local
221 if (nesqp->ibqp_state > IB_QPS_RTS) in nes_bind_mw()
224 spin_lock_irqsave(&nesqp->lock, flags); in nes_bind_mw()
226 head = nesqp->hwqp.sq_head; in nes_bind_mw()
227 qsize = nesqp->hwqp.sq_tail; in nes_bind_mw()
230 if (((head + (2 * qsize) - nesqp->hwqp.sq_tail) % qsize) == (qsize - 1)) { in nes_bind_mw()
231 spin_unlock_irqrestore(&nesqp->lock, flags); in nes_bind_mw()
235 wqe = &nesqp->hwqp.sq_vbase[head]; in nes_bind_mw()
237 nes_fill_init_qp_wqe(wqe, nesqp, head); in nes_bind_mw()
267 nesqp->hwqp.sq_head = head; in nes_bind_mw()
[all …]
Dnes_cm.c105 static int nes_disconnect(struct nes_qp *nesqp, int abrupt);
529 struct nes_qp *nesqp; in handle_recv_entry() local
534 nesqp = (struct nes_qp *)recv_entry->skb; in handle_recv_entry()
535 if (nesqp) { in handle_recv_entry()
536 spin_lock_irqsave(&nesqp->lock, qplockflags); in handle_recv_entry()
537 if (nesqp->cm_id) { in handle_recv_entry()
541 "to do!!!\n", nesqp->hwqp.qp_id, cm_id, in handle_recv_entry()
542 atomic_read(&nesqp->refcount)); in handle_recv_entry()
543 nesqp->hw_tcp_state = NES_AEQE_TCP_STATE_CLOSED; in handle_recv_entry()
544 nesqp->last_aeq = NES_AEQE_AEID_RESET_SENT; in handle_recv_entry()
[all …]
Dnes_hw.c79 static void nes_terminate_start_timer(struct nes_qp *nesqp);
3117 static u32 iwarp_opcode(struct nes_qp *nesqp, u32 aeq_info) in iwarp_opcode() argument
3124 pkt = nesqp->hwqp.q2_vbase + BAD_FRAME_OFFSET; in iwarp_opcode()
3133 static int nes_bld_terminate_hdr(struct nes_qp *nesqp, u16 async_event_id, u32 aeq_info) in nes_bld_terminate_hdr() argument
3135 u8 *pkt = nesqp->hwqp.q2_vbase + BAD_FRAME_OFFSET; in nes_bld_terminate_hdr()
3142 termhdr = (struct nes_terminate_hdr *)nesqp->hwqp.q2_vbase; in nes_bld_terminate_hdr()
3177 switch (iwarp_opcode(nesqp, aeq_info)) { in nes_bld_terminate_hdr()
3201 switch (iwarp_opcode(nesqp, aeq_info)) { in nes_bld_terminate_hdr()
3238 switch (iwarp_opcode(nesqp, aeq_info)) { in nes_bld_terminate_hdr()
3336 nesqp->term_sq_flush_code = flush_code; in nes_bld_terminate_hdr()
[all …]
Dnes.c264 struct nes_qp *nesqp; in nes_add_ref() local
266 nesqp = to_nesqp(ibqp); in nes_add_ref()
268 ibqp->qp_num, atomic_read(&nesqp->refcount)); in nes_add_ref()
269 atomic_inc(&nesqp->refcount); in nes_add_ref()
275 struct nes_qp *nesqp = cqp_request->cqp_callback_pointer; in nes_cqp_rem_ref_callback() local
282 if (nesqp->pbl_vbase) { in nes_cqp_rem_ref_callback()
283 pci_free_consistent(nesdev->pcidev, nesqp->qp_mem_size, in nes_cqp_rem_ref_callback()
284 nesqp->hwqp.q2_vbase, nesqp->hwqp.q2_pbase); in nes_cqp_rem_ref_callback()
288 pci_free_consistent(nesdev->pcidev, 256, nesqp->pbl_vbase, nesqp->pbl_pbase); in nes_cqp_rem_ref_callback()
289 nesqp->pbl_vbase = NULL; in nes_cqp_rem_ref_callback()
[all …]
Dnes.h320 nes_fill_init_qp_wqe(struct nes_hw_qp_wqe *wqe, struct nes_qp *nesqp, u32 head) in nes_fill_init_qp_wqe() argument
323 value = ((u32)((unsigned long) nesqp)) | head; in nes_fill_init_qp_wqe()
325 (u32)(upper_32_bits((unsigned long)(nesqp)))); in nes_fill_init_qp_wqe()
Dnes_verbs.h128 struct nes_qp *nesqp; member
Dnes_cm.h307 struct nes_qp *nesqp; member