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()
1500 struct mthca_data_seg *data) in build_mlx_header()
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()
1758 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1759 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1764 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_tavor_post_send()
1767 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_send()
1768 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_send()
1878 wqe += sizeof (struct mthca_data_seg); in mthca_tavor_post_receive()
1879 size += sizeof (struct mthca_data_seg) / 16; in mthca_tavor_post_receive()
2074 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2075 size += sizeof (struct mthca_data_seg) / 16; 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()
2094 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_arbel_post_send()
2097 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_send()
2098 size += sizeof (struct mthca_data_seg) / 16; in mthca_arbel_post_send()
2202 wqe += sizeof (struct mthca_data_seg); in mthca_arbel_post_receive()