Home
last modified time | relevance | path

Searched refs:i_send_ring (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_send.c175 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rdsv3_ib_send_init_ring()
189 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rdsv3_ib_send_clear_ring()
231 oldest = rdsv3_ib_ring_oldest(&ic->i_send_ring); in rdsv3_ib_send_cqe_handler()
233 completed = rdsv3_ib_ring_completed(&ic->i_send_ring, in rdsv3_ib_send_cqe_handler()
295 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rdsv3_ib_send_cqe_handler()
298 rdsv3_ib_ring_free(&ic->i_send_ring, completed); in rdsv3_ib_send_cqe_handler()
598 work_alloc = rdsv3_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rdsv3_ib_xmit()
600 rdsv3_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rdsv3_ib_xmit()
613 rdsv3_ib_ring_unalloc(&ic->i_send_ring, in rdsv3_ib_xmit()
619 rdsv3_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rdsv3_ib_xmit()
[all …]
H A Dib_cm.c510 if (rds_ibdev->max_wrs < ic->i_send_ring.w_nr + 1) in rdsv3_ib_setup_qp()
511 rdsv3_ib_ring_resize(&ic->i_send_ring, rds_ibdev->max_wrs - 1); in rdsv3_ib_setup_qp()
525 ic->i_recv_ring.w_nr + ic->i_send_ring.w_nr + 1, in rdsv3_ib_setup_qp()
536 rdsv3_ib_cq_event_handler, conn, ic->i_send_ring.w_nr + 1, in rdsv3_ib_setup_qp()
554 attr.cap.max_send_wr = ic->i_send_ring.w_nr + 1; in rdsv3_ib_setup_qp()
586 ic->i_sends = kmem_alloc(ic->i_send_ring.w_nr * in rdsv3_ib_setup_qp()
594 (void) memset(ic->i_sends, 0, ic->i_send_ring.w_nr * in rdsv3_ib_setup_qp()
598 kmem_alloc(ic->i_send_ring.w_nr * (sizeof (ibt_send_wr_t) + in rdsv3_ib_setup_qp()
607 (ic->i_send_ring.w_nr * sizeof (ibt_send_wr_t))); in rdsv3_ib_setup_qp()
608 for (i = 0; i < ic->i_send_ring.w_nr; i++) { in rdsv3_ib_setup_qp()
[all …]
H A Drdsv3_impl.c1252 size = (ic->i_send_ring.w_nr + ic->i_recv_ring.w_nr + 1) * in rdsv3_ib_alloc_hdrs()
1283 (ic->i_send_ring.w_nr * sizeof (struct rdsv3_header))); in rdsv3_ib_alloc_hdrs()
1285 (ic->i_send_ring.w_nr * sizeof (struct rdsv3_header))); in rdsv3_ib_alloc_hdrs()
1288 ((ic->i_send_ring.w_nr + ic->i_recv_ring.w_nr) * in rdsv3_ib_alloc_hdrs()
1291 ((ic->i_send_ring.w_nr + ic->i_recv_ring.w_nr) * in rdsv3_ib_alloc_hdrs()
H A Dib.c304 iinfo->max_send_wr = ic->i_send_ring.w_nr; in rds_ib_conn_info_visitor()
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dib.h126 struct rdsv3_ib_work_ring i_send_ring; member