Re: [PATCH v1 04/16] xprtrdma: Add a max_payload op for each memreg mode

2015-03-16 Thread Sagi Grimberg
On 3/13/2015 11:27 PM, Chuck Lever wrote: The max_payload computation is generalized to ensure that the payload maximum is the lesser of RPC_MAX_DATA_SEGS and the number of data segments that can be transmitted in an inline buffer. Signed-off-by: Chuck Lever chuck.le...@oracle.com ---

[PATCH v1 04/16] xprtrdma: Add a max_payload op for each memreg mode

2015-03-13 Thread Chuck Lever
The max_payload computation is generalized to ensure that the payload maximum is the lesser of RPC_MAX_DATA_SEGS and the number of data segments that can be transmitted in an inline buffer. Signed-off-by: Chuck Lever chuck.le...@oracle.com --- net/sunrpc/xprtrdma/fmr_ops.c | 13 ++