Home
last modified time | relevance | path

Searched refs:wqe_words (Results 1 – 9 of 9) sorted by relevance

/drivers/infiniband/hw/nes/
Dnes_mgt.c86 nic_rqe->wqe_words[NES_NIC_RQ_WQE_LENGTH_1_0_IDX] = in nes_replenish_mgt_rq()
88 nic_rqe->wqe_words[NES_NIC_RQ_WQE_LENGTH_3_2_IDX] = 0; in nes_replenish_mgt_rq()
89 nic_rqe->wqe_words[NES_NIC_RQ_WQE_FRAG0_LOW_IDX] = in nes_replenish_mgt_rq()
91 nic_rqe->wqe_words[NES_NIC_RQ_WQE_FRAG0_HIGH_IDX] = in nes_replenish_mgt_rq()
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()
[all …]
Dnes.h308 set_wqe_64bit_value(__le32 *wqe_words, u32 index, u64 value) in set_wqe_64bit_value() argument
310 wqe_words[index] = cpu_to_le32((u32) value); in set_wqe_64bit_value()
311 wqe_words[index + 1] = cpu_to_le32(upper_32_bits(value)); in set_wqe_64bit_value()
315 set_wqe_32bit_value(__le32 *wqe_words, u32 index, u32 value) in set_wqe_32bit_value() argument
317 wqe_words[index] = cpu_to_le32(value); in set_wqe_32bit_value()
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()
[all …]
Dnes_verbs.c117 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] = in nes_alloc_mw()
123 …set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX, (nespd->pd_id & 0x00007f… in nes_alloc_mw()
124 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, stag); in nes_alloc_mw()
180 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, NES_CQP_DEALLOCATE_STAG); in nes_dealloc_mw()
181 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, ibmw->rkey); in nes_dealloc_mw()
244 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_SCRATCH_LOW_IDX, u64temp); in nes_bind_mw()
257 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_MISC_IDX, wqe_misc); in nes_bind_mw()
258 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_MR_IDX, in nes_bind_mw()
260 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_MW_IDX, ibmw->rkey); in nes_bind_mw()
261 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_LENGTH_LOW_IDX, in nes_bind_mw()
[all …]
Dnes_hw.c1119 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()
1139 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_WQE_OPCODE_IDX, in nes_init_cqp()
1141 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_CEQ_WQE_ELEMENT_COUNT_IDX, ceq->ceq_size); in nes_init_cqp()
1143 set_wqe_64bit_value(cqp_wqe->wqe_words, NES_CQP_CQ_WQE_PBL_LOW_IDX, u64temp); in nes_init_cqp()
[all …]
Dnes_nic.c373 wqe_fragment_length = (__le16 *)&nic_sqe->wqe_words[NES_NIC_SQ_WQE_LENGTH_0_TAG_IDX]; in nes_nic_send()
395 set_wqe_32bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_LSO_INFO_IDX, in nes_nic_send()
403 set_wqe_32bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_TOTAL_LENGTH_IDX, in nes_nic_send()
424 set_wqe_64bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_FRAG1_LOW_IDX, in nes_nic_send()
431 nic_sqe->wqe_words[NES_NIC_SQ_WQE_LENGTH_2_1_IDX] = 0; in nes_nic_send()
446 set_wqe_64bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_FRAG0_LOW_IDX+(2*wqe_fragment_index), in nes_nic_send()
454 set_wqe_32bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_MISC_IDX, wqe_misc); in nes_nic_send()
577 (__le16 *)&nic_sqe->wqe_words[NES_NIC_SQ_WQE_LENGTH_0_TAG_IDX]; in nes_netdev_start_xmit()
629 set_wqe_64bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_FRAG1_LOW_IDX, in nes_netdev_start_xmit()
637 set_wqe_64bit_value(nic_sqe->wqe_words, NES_NIC_SQ_WQE_FRAG0_LOW_IDX+(2*wqe_fragment_index), in nes_netdev_start_xmit()
[all …]
Dnes_utils.c605 le32_to_cpu(cqp_request->cqp_wqe.wqe_words[NES_CQP_WQE_OPCODE_IDX]) & 0x3f); in nes_free_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()
Dnes_cm.c781 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_CTX_LOW_IDX, u64temp); in build_rdma0_msg()
783 wqe->wqe_words[NES_IWARP_SQ_WQE_FRAG0_LOW_IDX] = 0; in build_rdma0_msg()
784 wqe->wqe_words[NES_IWARP_SQ_WQE_FRAG0_HIGH_IDX] = 0; in build_rdma0_msg()
789 wqe->wqe_words[NES_IWARP_SQ_WQE_MISC_IDX] = in build_rdma0_msg()
791 wqe->wqe_words[NES_IWARP_SQ_WQE_TOTAL_PAYLOAD_IDX] = 0; in build_rdma0_msg()
792 wqe->wqe_words[NES_IWARP_SQ_WQE_LENGTH0_IDX] = 0; in build_rdma0_msg()
793 wqe->wqe_words[NES_IWARP_SQ_WQE_STAG0_IDX] = 0; in build_rdma0_msg()
802 wqe->wqe_words[NES_IWARP_SQ_WQE_MISC_IDX] = in build_rdma0_msg()
804 wqe->wqe_words[NES_IWARP_SQ_WQE_RDMA_TO_LOW_IDX] = 1; in build_rdma0_msg()
805 wqe->wqe_words[NES_IWARP_SQ_WQE_RDMA_TO_HIGH_IDX] = 0; in build_rdma0_msg()
[all …]
Dnes_hw.h842 __le32 wqe_words[16]; member
846 __le32 wqe_words[16]; member
858 __le32 wqe_words[16]; member
862 __le32 wqe_words[32]; member
Dnes.c350 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()