Home
last modified time | relevance | path

Searched refs:max_wrs (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/net/rds/
Dib_cm.c453 unsigned long max_wrs; in rds_ib_setup_qp() local
473 max_wrs = rds_ibdev->max_wrs < rds_ib_sysctl_max_send_wr + 1 ? in rds_ib_setup_qp()
474 rds_ibdev->max_wrs - 1 : rds_ib_sysctl_max_send_wr; in rds_ib_setup_qp()
475 if (ic->i_send_ring.w_nr != max_wrs) in rds_ib_setup_qp()
476 rds_ib_ring_resize(&ic->i_send_ring, max_wrs); in rds_ib_setup_qp()
478 max_wrs = rds_ibdev->max_wrs < rds_ib_sysctl_max_recv_wr + 1 ? in rds_ib_setup_qp()
479 rds_ibdev->max_wrs - 1 : rds_ib_sysctl_max_recv_wr; in rds_ib_setup_qp()
480 if (ic->i_recv_ring.w_nr != max_wrs) in rds_ib_setup_qp()
481 rds_ib_ring_resize(&ic->i_recv_ring, max_wrs); in rds_ib_setup_qp()
Dib.c149 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
201 device->attrs.max_fmr, rds_ibdev->max_wrs, rds_ibdev->max_sge, in rds_ib_add_one()
Dib.h258 unsigned int max_wrs; member
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch.h53 u32 max_wrs; /* Max for any SQ/RQ */ member
Diwch.c107 rnicp->attr.max_wrs = T3_MAX_QP_DEPTH; in rnic_init()
Diwch_provider.c975 props->max_qp_wr = dev->attr.max_wrs; in iwch_query_device()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.h191 unsigned int max_wrs; /* max in-flight WRs per connection */ member
Dcxgb3_offload.c1233 dev->ctl(dev, GET_MAX_OUTSTANDING_WR, &t->max_wrs) < 0 || in cxgb3_offload_activate()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c998 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1; in init_act_open()