Lines Matching defs:sge_index
3238 int sge_index;
3240 for (sge_index = 0; sge_index < ib_wr->num_sge; sge_index++) {
3241 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_FRAG0_LOW_IDX+(sge_index*4),
3242 ib_wr->sg_list[sge_index].addr);
3243 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_LENGTH0_IDX + (sge_index*4),
3244 ib_wr->sg_list[sge_index].length);
3246 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_STAG0_IDX + (sge_index*4),
3247 (ib_wr->sg_list[sge_index].lkey));
3249 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_STAG0_IDX + (sge_index*4), 0);
3251 total_payload_length += ib_wr->sg_list[sge_index].length;
3550 int sge_index;
3593 for (sge_index=0; sge_index < ib_wr->num_sge; sge_index++) {
3594 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_RQ_WQE_FRAG0_LOW_IDX+(sge_index*4),
3595 ib_wr->sg_list[sge_index].addr);
3596 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_RQ_WQE_LENGTH0_IDX+(sge_index*4),
3597 ib_wr->sg_list[sge_index].length);
3598 set_wqe_32bit_value(wqe->wqe_words,NES_IWARP_RQ_WQE_STAG0_IDX+(sge_index*4),
3599 ib_wr->sg_list[sge_index].lkey);
3601 total_payload_length += ib_wr->sg_list[sge_index].length;