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)
commit6748b0caf82101f1f01208e48f5c4fd3ce76d562
tree3d4a42e2a3448db7d4e82eb1237540e8c5cd0712
parent28d9d56f4c7759e1f12e5b1bff60210082812edc
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