Home
last modified time | relevance | path

Searched refs:rx_buf (Results 1 – 4 of 4) sorted by relevance

/net/sunrpc/xprtrdma/
Dtransport.c240 rpcrdma_buffer_destroy(&r_xprt->rx_buf); in xprt_rdma_destroy()
369 rc = rpcrdma_buffer_create(&new_xprt->rx_buf, new_ep, &new_xprt->rx_ia, in xprt_setup_rdma()
454 int credits = atomic_read(&r_xprt->rx_buf.rb_credits); in xprt_rdma_reserve_xprt()
457 if (r_xprt->rx_buf.rb_cwndscale == 0UL) { in xprt_rdma_reserve_xprt()
458 r_xprt->rx_buf.rb_cwndscale = xprt->cwnd; in xprt_rdma_reserve_xprt()
460 r_xprt->rx_buf.rb_cwndscale); in xprt_rdma_reserve_xprt()
461 BUG_ON(r_xprt->rx_buf.rb_cwndscale <= 0); in xprt_rdma_reserve_xprt()
463 xprt->cwnd = credits * r_xprt->rx_buf.rb_cwndscale; in xprt_rdma_reserve_xprt()
481 req = rpcrdma_buffer_get(&rpcx_to_rdmax(xprt)->rx_buf); in xprt_rdma_allocate()
573 struct rpcrdma_xprt, rx_buf); in xprt_rdma_free()
[all …]
Dxprt_rdma.h219 #define rdmab_to_ia(b) (&container_of((b), struct rpcrdma_xprt, rx_buf)->rx_ia)
278 struct rpcrdma_buffer rx_buf; member
Drpc_rdma.c389 headerp->rm_credit = htonl(r_xprt->rx_buf.rb_max_requests); in rpcrdma_marshal_req()
Dverbs.c346 atomic_set(&rpcx_to_rdmax(ep->rep_xprt)->rx_buf.rb_credits, 1); in rpcrdma_conn_upcall()
369 xprt->rx_buf.rb_max_requests, in rpcrdma_conn_upcall()