Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/sunrpc/xprtrdma/
H A 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()
89 static unsigned int rpcrdma_max_reply_header_size(unsigned int maxsegs) in rpcrdma_max_reply_header_size() argument
98 size += maxsegs * rpcrdma_segment_maxsz * sizeof(__be32); in rpcrdma_max_reply_header_size()
114 unsigned int maxsegs = ep->re_max_rdma_segs; in rpcrdma_set_max_header_sizes() local
117 ep->re_inline_send - rpcrdma_max_call_header_size(maxsegs); in rpcrdma_set_max_header_sizes()
119 ep->re_inline_recv - rpcrdma_max_reply_header_size(maxsegs); in rpcrdma_set_max_header_sizes()