diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-03-30 20:34:30 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-03-31 15:52:52 +0200 |
commit | 1c9351ee0e346ec1b3c700a4bc8f881923e1808e (patch) | |
tree | 2ed88d5862cab405742db7e97efe6532c4e1e73f /lib/atomic64.c | |
parent | xprtrdma: Add vector of ops for each memory registration strategy (diff) | |
download | linux-1c9351ee0e346ec1b3c700a4bc8f881923e1808e.tar.xz linux-1c9351ee0e346ec1b3c700a4bc8f881923e1808e.zip |
xprtrdma: Add a "max_payload" op for each memreg mode
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.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Tested-by: Devesh Sharma <Devesh.Sharma@Emulex.Com>
Tested-by: Meghana Cheripady <Meghana.Cheripady@Emulex.Com>
Tested-by: Veeresh U. Kokatnur <veereshuk@chelsio.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions