Searched refs:cqp_wqe (Results 1 – 6 of 6) sorted by relevance
/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 927 struct nes_hw_cqp_wqe *cqp_wqe; in nes_init_cqp() local 1060 cqp_wqe = &nesdev->cqp.sq_vbase[cqp_head]; in nes_init_cqp() 1061 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_init_cqp() 1062 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, in nes_init_cqp() 1065 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_ID_IDX, in nes_init_cqp() 1069 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_CQ_WQE_PBL_LOW_IDX, u64temp); in nes_init_cqp() 1070 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX] = 0; in nes_init_cqp() 1072 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_LOW_IDX] = in nes_init_cqp() 1074 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX] = in nes_init_cqp() 1076 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_DOORBELL_INDEX_HIGH_IDX] = 0; in nes_init_cqp() [all …]
|
D | nes_verbs.c | 65 struct nes_hw_cqp_wqe *cqp_wqe; in nes_alloc_mw() local 109 cqp_wqe = &cqp_request->cqp_wqe; in nes_alloc_mw() 111 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] = in nes_alloc_mw() 116 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_alloc_mw() 117 …set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX, (nespd->pd_id & 0x00007f… in nes_alloc_mw() 118 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in nes_alloc_mw() 160 struct nes_hw_cqp_wqe *cqp_wqe; in nes_dealloc_mw() local 172 cqp_wqe = &cqp_request->cqp_wqe; in nes_dealloc_mw() 173 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_dealloc_mw() 174 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, NES_CQP_DEALLOCATE_STAG); in nes_dealloc_mw() [all …]
|
D | nes.h | 303 nes_fill_init_cqp_wqe(struct nes_hw_cqp_wqe *cqp_wqe, struct nes_device *nesdev) in nes_fill_init_cqp_wqe() argument 305 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_COMP_CTX_LOW_IDX, in nes_fill_init_cqp_wqe() 307 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_SCRATCH_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 308 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_SCRATCH_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe() 309 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX] = 0; in nes_fill_init_cqp_wqe() 310 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PBL_LEN_IDX] = 0; in nes_fill_init_cqp_wqe() 311 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_LEN_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 312 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PA_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 313 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PA_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe()
|
D | nes_utils.c | 580 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_OPCODE_IDX]) & 0x3f); in nes_free_cqp_request() 604 struct nes_hw_cqp_wqe *cqp_wqe; in nes_post_cqp_request() local 616 cqp_wqe = &nesdev->cqp.sq_vbase[cqp_head]; in nes_post_cqp_request() 617 memcpy(cqp_wqe, &cqp_request->cqp_wqe, sizeof(*cqp_wqe)); in nes_post_cqp_request() 620 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_COMP_SCRATCH_LOW_IDX, in nes_post_cqp_request() 625 le32_to_cpu(cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX])&0x3f, in nes_post_cqp_request() 626 le32_to_cpu(cqp_wqe->wqe_words[NES_CQP_WQE_ID_IDX]), cqp_request, in nes_post_cqp_request() 639 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_OPCODE_IDX])&0x3f, in nes_post_cqp_request() 640 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_ID_IDX])); in nes_post_cqp_request()
|
D | nes.c | 296 struct nes_hw_cqp_wqe *cqp_wqe; in nes_rem_ref() local 319 cqp_wqe = &cqp_request->cqp_wqe; in nes_rem_ref() 321 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_rem_ref() 328 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, opcode); in nes_rem_ref() 329 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_ID_IDX, nesqp->hwqp.qp_id); in nes_rem_ref() 331 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_QP_WQE_CONTEXT_LOW_IDX, u64temp); in nes_rem_ref()
|
D | nes_hw.h | 829 struct nes_hw_cqp_wqe cqp_wqe; member
|