Searched refs:max_sg (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_qp.c | 141 qp->rq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_recv_sge)); in pvrdma_set_rq_size() 145 req_cap->max_recv_sge = qp->rq.max_sg; in pvrdma_set_rq_size() 149 qp->rq.max_sg); in pvrdma_set_rq_size() 166 qp->sq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_send_sge)); in pvrdma_set_sq_size() 170 req_cap->max_send_sge = qp->sq.max_sg; in pvrdma_set_sq_size() 174 qp->sq.max_sg); in pvrdma_set_sq_size() 704 if (unlikely(wr->num_sge > qp->sq.max_sg || wr->num_sge < 0)) { in pvrdma_post_send() 904 if (unlikely(wr->num_sge > qp->rq.max_sg || in pvrdma_post_recv()
|
H A D | pvrdma.h | 156 int max_sg; member
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 645 return dev->limits.max_sg; in mthca_max_srq_sge() 661 return min_t(int, dev->limits.max_sg, in mthca_max_srq_sge()
|
H A D | mthca_cmd.h | 154 int max_sg; member
|
H A D | mthca_provider.c | 92 props->max_send_sge = mdev->limits.max_sg; in mthca_query_device() 93 props->max_recv_sge = mdev->limits.max_sg; in mthca_query_device() 94 props->max_sge_rd = mdev->limits.max_sg; in mthca_query_device()
|
H A D | mthca_qp.c | 975 qp->sq.max_gs = min_t(int, dev->limits.max_sg, in mthca_adjust_qp_caps() 977 qp->rq.max_gs = min_t(int, dev->limits.max_sg, in mthca_adjust_qp_caps() 1260 cap->max_send_sge > dev->limits.max_sg || in mthca_set_qp_size() 1261 cap->max_recv_sge > dev->limits.max_sg || in mthca_set_qp_size() 1269 if (qp->transport == MLX && cap->max_send_sge + 2 > dev->limits.max_sg) in mthca_set_qp_size()
|
H A D | mthca_main.c | 207 mdev->limits.max_sg = min_t(int, dev_lim->max_sg, in mthca_dev_lim()
|
H A D | mthca_cmd.c | 1134 dev_lim->max_sg = field; in mthca_QUERY_DEV_LIM() 1179 dev_lim->max_sg = min_t(int, field, dev_lim->max_sg); in mthca_QUERY_DEV_LIM()
|
H A D | mthca_dev.h | 142 int max_sg; member
|
/linux/drivers/scsi/ |
H A D | mvumi.c | 2390 unsigned int max_sg = (mhba->ib_max_size - in mvumi_io_attach() local 2396 host->sg_tablesize = mhba->max_sge > max_sg ? max_sg : mhba->max_sge; in mvumi_io_attach()
|
H A D | st.c | 3871 static struct st_buffer *new_tape_buffer(int max_sg) in new_tape_buffer() argument 3881 tb->use_sg = max_sg; in new_tape_buffer() 3884 tb->reserved_pages = kcalloc(max_sg, sizeof(struct page *), in new_tape_buffer()
|