Home
last modified time | relevance | path

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

/openbmc/linux/net/sunrpc/xprtrdma/
H A Drpc_rdma.c62 static unsigned int rpcrdma_max_call_header_size(unsigned int maxsegs) in rpcrdma_max_call_header_size() argument
70 size += maxsegs * rpcrdma_readchunk_maxsz * sizeof(__be32); in rpcrdma_max_call_header_size()
85 static unsigned int rpcrdma_max_reply_header_size(unsigned int maxsegs) in rpcrdma_max_reply_header_size() argument
94 size += maxsegs * rpcrdma_segment_maxsz * sizeof(__be32); in rpcrdma_max_reply_header_size()
110 unsigned int maxsegs = ep->re_max_rdma_segs; in rpcrdma_set_max_header_sizes() local
113 ep->re_inline_send - rpcrdma_max_call_header_size(maxsegs); in rpcrdma_set_max_header_sizes()
115 ep->re_inline_recv - rpcrdma_max_reply_header_size(maxsegs); in rpcrdma_set_max_header_sizes()