Searched refs:num_wqes (Results 1 – 6 of 6) sorted by relevance
199 qp->send.num_wqes = num_send_wqes; in ib_create_qp()205 qp->recv.num_wqes = num_recv_wqes; in ib_create_qp()295 for ( i = 0 ; i < qp->send.num_wqes ; i++ ) { in ib_destroy_qp()299 for ( i = 0 ; i < qp->recv.num_wqes ; i++ ) { in ib_destroy_qp()391 if ( qp->send.fill >= qp->send.num_wqes ) { in ib_post_send()442 if ( qp->recv.fill >= qp->recv.num_wqes ) { in ib_post_recv()510 while ( qp->recv.fill < qp->recv.num_wqes ) { in ib_refill_recv()
698 unsigned int num_wqes ) { in arbel_create_send_wq() argument705 arbel_send_wq->wqe_size = ( num_wqes * in arbel_create_send_wq()714 wqe_idx_mask = ( num_wqes - 1 ); in arbel_create_send_wq()715 for ( i = 0 ; i < num_wqes ; i++ ) { in arbel_create_send_wq()733 unsigned int num_wqes ) { in arbel_create_recv_wq() argument742 arbel_recv_wq->wqe_size = ( num_wqes * in arbel_create_recv_wq()751 wqe_idx_mask = ( num_wqes - 1 ); in arbel_create_recv_wq()754 for ( i = 0 ; i < num_wqes ; i++ ) { in arbel_create_recv_wq()807 qp->send.num_wqes ) ) != 0 ) in arbel_create_qp()810 qp->recv.num_wqes ) ) != 0 ) in arbel_create_qp()[all …]
476 if ( ( linda->reserved_send_bufs + qp->send.num_wqes ) > in linda_create_send_wq()480 linda->reserved_send_bufs, qp->send.num_wqes ); in linda_create_send_wq()484 linda->reserved_send_bufs += qp->send.num_wqes; in linda_create_send_wq()491 linda_wq->send_buf = zalloc ( qp->send.num_wqes * in linda_create_send_wq()502 linda->reserved_send_bufs -= qp->send.num_wqes; in linda_create_send_wq()519 linda->reserved_send_bufs -= qp->send.num_wqes; in linda_destroy_send_wq()1007 linda_wq->prod = ( ( linda_wq->prod + 1 ) & ( wq->num_wqes - 1 ) ); in linda_post_send()1069 ( wq->num_wqes - 1 ) ); in linda_poll_send_wq()1110 wqe_idx = ( linda_wq->eager_prod & ( wq->num_wqes - 1 ) ); in linda_post_recv()1276 wqe_idx = ( linda_wq->eager_cons & ( wq->num_wqes - 1 ) ); in linda_complete_recv()
977 hermon_qp->send.num_wqes = ( qp->send.num_wqes /* headroom */ + 1 + in hermon_create_qp()979 hermon_qp->send.num_wqes = in hermon_create_qp()980 ( 1 << fls ( hermon_qp->send.num_wqes - 1 ) ); /* round up */ in hermon_create_qp()981 hermon_qp->send.wqe_size = ( hermon_qp->send.num_wqes * in hermon_create_qp()983 hermon_qp->recv.wqe_size = ( qp->recv.num_wqes * in hermon_create_qp()1012 qpc_eec_data.log_rq_size, fls ( qp->recv.num_wqes - 1 ), in hermon_create_qp()1016 fls ( hermon_qp->send.num_wqes - 1 ), in hermon_create_qp()1332 wqe_idx_mask = ( wq->num_wqes - 1 ); in hermon_post_send()1339 ( hermon_send_wq->num_wqes - 1 ) ]; in hermon_post_send()1352 ( ( wq->next_idx & hermon_send_wq->num_wqes ) ? 1 : 0 ) ); in hermon_post_send()[all …]
386 unsigned int num_wqes; member
106 unsigned int num_wqes; member