Home
last modified time | relevance | path

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

/Linux-v5.4/net/sunrpc/xprtrdma/
Drpc_rdma.c66 static unsigned int rpcrdma_max_call_header_size(unsigned int maxsegs) in rpcrdma_max_call_header_size() argument
74 size = maxsegs * rpcrdma_readchunk_maxsz * sizeof(__be32); in rpcrdma_max_call_header_size()
91 static unsigned int rpcrdma_max_reply_header_size(unsigned int maxsegs) in rpcrdma_max_reply_header_size() argument
100 size += maxsegs * rpcrdma_segment_maxsz * sizeof(__be32); in rpcrdma_max_reply_header_size()
118 unsigned int maxsegs = r_xprt->rx_ia.ri_max_segs; in rpcrdma_set_max_header_sizes() local
122 ep->rep_inline_send - rpcrdma_max_call_header_size(maxsegs); in rpcrdma_set_max_header_sizes()
124 ep->rep_inline_recv - rpcrdma_max_reply_header_size(maxsegs); in rpcrdma_set_max_header_sizes()