Lines Matching refs:mthca_data_seg
920 max_data_size -= 2 * sizeof (struct mthca_data_seg); in mthca_max_data_size()
955 max_data_size / sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
959 sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
977 qp->rq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
986 size = qp->sq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
989 size += 2 * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1011 sizeof (struct mthca_data_seg)); in mthca_alloc_wqe_buf()
1191 struct mthca_data_seg *scatter; in mthca_alloc_qp_common()
1193 qp->rq.max_gs * sizeof (struct mthca_data_seg)) / 16; in mthca_alloc_qp_common()
1261 sizeof (struct mthca_data_seg)); in mthca_set_qp_size()
1478 struct mthca_data_seg *data) in build_mlx_header()
1721 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1722 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1735 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1736 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1741 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_tavor_post_send()
1744 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1745 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1860 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_receive()
1861 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_receive()
2062 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2063 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2076 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2077 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2082 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_arbel_post_send()
2085 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2086 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2196 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_receive()