Searched refs:cqp_wqe (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_mgt.c | 410 struct nes_hw_cqp_wqe *cqp_wqe; in forward_fpdus() local 426 cqp_wqe = &cqp_request->cqp_wqe; in forward_fpdus() 427 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in forward_fpdus() 428 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_DL_OPCODE_IDX, in forward_fpdus() 434 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_DL_LENGTH_0_TOTAL_IDX, in forward_fpdus() 438 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_NIC_SQ_WQE_LENGTH_2_1_IDX, in forward_fpdus() 442 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_NIC_SQ_WQE_LENGTH_4_3_IDX, in forward_fpdus() 446 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_NIC_SQ_WQE_FRAG0_LOW_IDX, in forward_fpdus() 448 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_NIC_SQ_WQE_FRAG0_HIGH_IDX, in forward_fpdus() 451 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_NIC_SQ_WQE_FRAG1_LOW_IDX, in forward_fpdus() [all …]
|
D | nes_hw.c | 971 struct nes_hw_cqp_wqe *cqp_wqe; in nes_init_cqp() local 1103 cqp_wqe = &nesdev->cqp.sq_vbase[cqp_head]; in nes_init_cqp() 1104 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_init_cqp() 1105 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, in nes_init_cqp() 1108 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_ID_IDX, in nes_init_cqp() 1112 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_CQ_WQE_PBL_LOW_IDX, u64temp); in nes_init_cqp() 1113 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX] = 0; in nes_init_cqp() 1115 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_LOW_IDX] = in nes_init_cqp() 1117 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX] = in nes_init_cqp() 1119 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_DOORBELL_INDEX_HIGH_IDX] = 0; in nes_init_cqp() [all …]
|
D | nes_verbs.c | 69 struct nes_hw_cqp_wqe *cqp_wqe; in nes_alloc_mw() local 116 cqp_wqe = &cqp_request->cqp_wqe; in nes_alloc_mw() 118 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] = in nes_alloc_mw() 123 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_alloc_mw() 124 …set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX, (nespd->pd_id & 0x00007f… in nes_alloc_mw() 125 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in nes_alloc_mw() 167 struct nes_hw_cqp_wqe *cqp_wqe; in nes_dealloc_mw() local 179 cqp_wqe = &cqp_request->cqp_wqe; in nes_dealloc_mw() 180 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_dealloc_mw() 181 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 | 322 nes_fill_init_cqp_wqe(struct nes_hw_cqp_wqe *cqp_wqe, struct nes_device *nesdev) in nes_fill_init_cqp_wqe() argument 324 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_CTX_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 325 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_CTX_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe() 326 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_SCRATCH_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 327 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_SCRATCH_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe() 328 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX] = 0; in nes_fill_init_cqp_wqe() 329 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PBL_LEN_IDX] = 0; in nes_fill_init_cqp_wqe() 330 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_LEN_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 331 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PA_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 332 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PA_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe()
|
D | nes_utils.c | 606 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_OPCODE_IDX]) & 0x3f); in nes_free_cqp_request() 631 struct nes_hw_cqp_wqe *cqp_wqe; in nes_post_cqp_request() local 645 cqp_wqe = &nesdev->cqp.sq_vbase[cqp_head]; in nes_post_cqp_request() 646 memcpy(cqp_wqe, &cqp_request->cqp_wqe, sizeof(*cqp_wqe)); in nes_post_cqp_request() 647 opcode = le32_to_cpu(cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX]); in nes_post_cqp_request() 652 set_wqe_64bit_value(cqp_wqe->wqe_words, ctx_index, u64temp); in nes_post_cqp_request() 657 le32_to_cpu(cqp_wqe->wqe_words[NES_CQP_WQE_ID_IDX]), cqp_request, in nes_post_cqp_request() 671 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_OPCODE_IDX])&0x3f, in nes_post_cqp_request() 672 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_ID_IDX])); in nes_post_cqp_request()
|
D | nes.c | 307 struct nes_hw_cqp_wqe *cqp_wqe; in nes_rem_ref() local 333 cqp_wqe = &cqp_request->cqp_wqe; in nes_rem_ref() 335 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_rem_ref() 342 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, opcode); in nes_rem_ref() 343 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_ID_IDX, nesqp->hwqp.qp_id); in nes_rem_ref() 345 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_QP_WQE_CONTEXT_LOW_IDX, u64temp); in nes_rem_ref()
|
D | nes_hw.h | 881 struct nes_hw_cqp_wqe cqp_wqe; member
|