Lines Matching refs:sge_index
3240 int sge_index; in fill_wqe_sg_send() local
3242 for (sge_index = 0; sge_index < ib_wr->num_sge; sge_index++) { in fill_wqe_sg_send()
3243 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_FRAG0_LOW_IDX+(sge_index*4), in fill_wqe_sg_send()
3244 ib_wr->sg_list[sge_index].addr); in fill_wqe_sg_send()
3245 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_LENGTH0_IDX + (sge_index*4), in fill_wqe_sg_send()
3246 ib_wr->sg_list[sge_index].length); in fill_wqe_sg_send()
3248 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_STAG0_IDX + (sge_index*4), in fill_wqe_sg_send()
3249 (ib_wr->sg_list[sge_index].lkey)); in fill_wqe_sg_send()
3251 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_STAG0_IDX + (sge_index*4), 0); in fill_wqe_sg_send()
3253 total_payload_length += ib_wr->sg_list[sge_index].length; in fill_wqe_sg_send()
3552 int sge_index; in nes_post_recv() local
3595 for (sge_index=0; sge_index < ib_wr->num_sge; sge_index++) { in nes_post_recv()
3596 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_RQ_WQE_FRAG0_LOW_IDX+(sge_index*4), in nes_post_recv()
3597 ib_wr->sg_list[sge_index].addr); in nes_post_recv()
3598 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_RQ_WQE_LENGTH0_IDX+(sge_index*4), in nes_post_recv()
3599 ib_wr->sg_list[sge_index].length); in nes_post_recv()
3600 set_wqe_32bit_value(wqe->wqe_words,NES_IWARP_RQ_WQE_STAG0_IDX+(sge_index*4), in nes_post_recv()
3601 ib_wr->sg_list[sge_index].lkey); in nes_post_recv()
3603 total_payload_length += ib_wr->sg_list[sge_index].length; in nes_post_recv()