Lines Matching refs:mthca_data_seg
921 max_data_size -= 2 * sizeof (struct mthca_data_seg); in mthca_max_data_size()
956 max_data_size / sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
960 sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
978 qp->rq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
987 size = qp->sq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
990 size += 2 * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1012 sizeof (struct mthca_data_seg)); in mthca_alloc_wqe_buf()
1193 struct mthca_data_seg *scatter; in mthca_alloc_qp_common()
1195 qp->rq.max_gs * sizeof (struct mthca_data_seg)) / 16; in mthca_alloc_qp_common()
1264 sizeof (struct mthca_data_seg)); in mthca_set_qp_size()
1481 struct mthca_data_seg *data) in build_mlx_header()
1724 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1725 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1738 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1739 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1744 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_tavor_post_send()
1747 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1748 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1863 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_receive()
1864 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_receive()
2065 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2066 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2079 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2080 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2085 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_arbel_post_send()
2088 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2089 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2199 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_receive()