]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Remove imul instructions from chunk list encoders
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Aug 2017 19:38:30 +0000 (15:38 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 15 Aug 2017 18:01:50 +0000 (14:01 -0400)
commitce33d7426a43574a759587032606432a21b507b5
tree3d4a42e2a3448db7d4e82eb1237540e8c5cd0712
parent355291397c1ecd95ace52edaaa2a79e11e9e9370
xprtrdma: Remove imul instructions from chunk list encoders

Re-arrange the pointer arithmetic in the chunk list encoders to
eliminate several more integer multiplication instructions during
Transport Header encoding.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/fmr_ops.c
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/xprt_rdma.h