Searched refs:max_sg (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
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() 912 if (unlikely(wr->num_sge > qp->rq.max_sg || in pvrdma_post_recv()
|
D | pvrdma.h | 156 int max_sg; member
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.h | 154 int max_sg; member
|
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()
|
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()
|
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()
|
D | mthca_main.c | 207 mdev->limits.max_sg = min_t(int, dev_lim->max_sg, in mthca_dev_lim()
|
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()
|
D | mthca_dev.h | 142 int max_sg; member
|
/linux-6.1.9/drivers/scsi/ |
D | mvumi.c | 2390 unsigned int max_sg = (mhba->ib_max_size + 4 - in mvumi_io_attach() local 2396 host->sg_tablesize = mhba->max_sge > max_sg ? max_sg : mhba->max_sge; in mvumi_io_attach()
|
D | st.c | 3869 static struct st_buffer *new_tape_buffer(int max_sg) in new_tape_buffer() argument 3879 tb->use_sg = max_sg; in new_tape_buffer() 3882 tb->reserved_pages = kcalloc(max_sg, sizeof(struct page *), in new_tape_buffer()
|