Lines Matching refs:mthca_data_seg
933 max_data_size -= 2 * sizeof (struct mthca_data_seg); in mthca_max_data_size()
968 max_data_size / sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
972 sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
990 qp->rq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
999 size = qp->sq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1002 size += 2 * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1024 sizeof (struct mthca_data_seg)); in mthca_alloc_wqe_buf()
1205 struct mthca_data_seg *scatter; in mthca_alloc_qp_common()
1207 qp->rq.max_gs * sizeof (struct mthca_data_seg)) / 16; in mthca_alloc_qp_common()
1276 sizeof (struct mthca_data_seg)); in mthca_set_qp_size()
1493 struct mthca_data_seg *data) in build_mlx_header()
1736 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1737 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1750 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1751 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1756 ((struct mthca_data_seg *) wqe)->byte_count = 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()
1875 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_receive()
1876 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_receive()
2077 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2078 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2091 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2092 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2097 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_arbel_post_send()
2100 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2101 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2211 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_receive()