Searched refs:cqp_wqe (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/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 | 984 struct nes_hw_cqp_wqe *cqp_wqe; in nes_init_cqp() local 1117 cqp_wqe = &nesdev->cqp.sq_vbase[cqp_head]; in nes_init_cqp() 1118 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_init_cqp() 1119 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, in nes_init_cqp() 1122 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_ID_IDX, in nes_init_cqp() 1126 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_CQ_WQE_PBL_LOW_IDX, u64temp); in nes_init_cqp() 1127 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX] = 0; in nes_init_cqp() 1129 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_LOW_IDX] = in nes_init_cqp() 1131 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_HIGH_IDX] = in nes_init_cqp() 1133 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_DOORBELL_INDEX_HIGH_IDX] = 0; in nes_init_cqp() [all …]
|
D | nes_verbs.c | 67 struct nes_hw_cqp_wqe *cqp_wqe; in nes_alloc_mw() local 114 cqp_wqe = &cqp_request->cqp_wqe; in nes_alloc_mw() 116 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] = in nes_alloc_mw() 121 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_alloc_mw() 122 …set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX, (nespd->pd_id & 0x00007f… in nes_alloc_mw() 123 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in nes_alloc_mw() 165 struct nes_hw_cqp_wqe *cqp_wqe; in nes_dealloc_mw() local 177 cqp_wqe = &cqp_request->cqp_wqe; in nes_dealloc_mw() 178 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_dealloc_mw() 179 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 | 321 nes_fill_init_cqp_wqe(struct nes_hw_cqp_wqe *cqp_wqe, struct nes_device *nesdev) in nes_fill_init_cqp_wqe() argument 323 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_CTX_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 324 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_CTX_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe() 325 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_SCRATCH_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 326 cqp_wqe->wqe_words[NES_CQP_WQE_COMP_SCRATCH_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe() 327 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX] = 0; in nes_fill_init_cqp_wqe() 328 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PBL_LEN_IDX] = 0; in nes_fill_init_cqp_wqe() 329 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_LEN_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 330 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PA_LOW_IDX] = 0; in nes_fill_init_cqp_wqe() 331 cqp_wqe->wqe_words[NES_CQP_STAG_WQE_PA_HIGH_IDX] = 0; in nes_fill_init_cqp_wqe()
|
D | nes_utils.c | 605 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_OPCODE_IDX]) & 0x3f); in nes_free_cqp_request() 630 struct nes_hw_cqp_wqe *cqp_wqe; in nes_post_cqp_request() local 644 cqp_wqe = &nesdev->cqp.sq_vbase[cqp_head]; in nes_post_cqp_request() 645 memcpy(cqp_wqe, &cqp_request->cqp_wqe, sizeof(*cqp_wqe)); in nes_post_cqp_request() 646 opcode = le32_to_cpu(cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX]); in nes_post_cqp_request() 651 set_wqe_64bit_value(cqp_wqe->wqe_words, ctx_index, u64temp); in nes_post_cqp_request() 656 le32_to_cpu(cqp_wqe->wqe_words[NES_CQP_WQE_ID_IDX]), cqp_request, in nes_post_cqp_request() 670 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_OPCODE_IDX])&0x3f, in nes_post_cqp_request() 671 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_ID_IDX])); in nes_post_cqp_request()
|
D | nes.c | 315 struct nes_hw_cqp_wqe *cqp_wqe; in nes_rem_ref() local 341 cqp_wqe = &cqp_request->cqp_wqe; in nes_rem_ref() 343 nes_fill_init_cqp_wqe(cqp_wqe, nesdev); in nes_rem_ref() 350 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, opcode); in nes_rem_ref() 351 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_ID_IDX, nesqp->hwqp.qp_id); in nes_rem_ref() 353 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_QP_WQE_CONTEXT_LOW_IDX, u64temp); in nes_rem_ref()
|
D | nes_hw.h | 883 struct nes_hw_cqp_wqe cqp_wqe; member
|