Lines Matching refs:mthca_data_seg
938 max_data_size -= 2 * sizeof (struct mthca_data_seg); in mthca_max_data_size()
973 max_data_size / sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
977 sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
996 qp->rq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1005 size = qp->sq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1008 size += 2 * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1030 sizeof (struct mthca_data_seg)); in mthca_alloc_wqe_buf()
1212 struct mthca_data_seg *scatter; in mthca_alloc_qp_common()
1214 qp->rq.max_gs * sizeof (struct mthca_data_seg)) / 16; in mthca_alloc_qp_common()
1283 sizeof (struct mthca_data_seg)); in mthca_set_qp_size()
1502 struct mthca_data_seg *data) in build_mlx_header()
1745 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1746 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1759 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1760 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1765 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_tavor_post_send()
1768 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1769 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1879 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_receive()
1880 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_receive()
2075 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2076 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2089 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2090 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2095 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_arbel_post_send()
2098 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2099 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2203 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_receive()