Lines Matching refs:mthca_data_seg

941 		max_data_size -= 2 * sizeof (struct mthca_data_seg);  in mthca_max_data_size()
976 max_data_size / sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
980 sizeof (struct mthca_data_seg)); in mthca_adjust_qp_caps()
999 qp->rq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1008 size = qp->sq.max_gs * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1011 size += 2 * sizeof (struct mthca_data_seg); in mthca_alloc_wqe_buf()
1033 sizeof (struct mthca_data_seg)); in mthca_alloc_wqe_buf()
1215 struct mthca_data_seg *scatter; in mthca_alloc_qp_common()
1217 qp->rq.max_gs * sizeof (struct mthca_data_seg)) / 16; in mthca_alloc_qp_common()
1286 sizeof (struct mthca_data_seg)); in mthca_set_qp_size()
1503 struct mthca_data_seg *data) in build_mlx_header()
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()
1761 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1762 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1767 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_tavor_post_send()
1770 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1771 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1881 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_receive()
1882 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()
2205 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_receive()