| 834 | |
| 835 | |
| 836 | int nccl_net_ofi_rdma_ep_t::decrease_rx_buff_cnt(nccl_net_ofi_rdma_ep_rail_t *rail) |
| 837 | { |
| 838 | nccl_net_ofi_mutex_lock(&rail->rx_buff_mutex); |
| 839 | |
| 840 | assert(rail->num_rx_buff_posted > 0); |
| 841 | rail->num_rx_buff_posted--; |
| 842 | |
| 843 | nccl_net_ofi_mutex_unlock(&rail->rx_buff_mutex); |
| 844 | |
| 845 | return this->check_post_rx_buffers_rail(rail); |
| 846 | } |
| 847 | |
| 848 | static inline int free_eager_copy_req(nccl_net_ofi_rdma_req *req, bool dec_inflight_reqs) |
| 849 | { |
no test coverage detected