rpcrdma: Add RPCRDMA_HDRLEN_ERR
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 Mar 2016 16:28:09 +0000 (11:28 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 14 Mar 2016 18:55:57 +0000 (14:55 -0400)
commitd8647f2d3c381a6f543358710eb07dafa7070854
tree941b51d3730120bf5c7a955cd746e32003086175
parentb892a699cecc36ca373def4bc5ddc5fa3d46ba3b
rpcrdma: Add RPCRDMA_HDRLEN_ERR

Error headers are shorter than either RDMA_MSG or RDMA_NOMSG.

Since HDRLEN_MIN is already used in several other places that would
be annoying to change, add RPCRDMA_HDRLEN_ERR for the one or two
spots where the shorter length is needed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/rpc_rdma.h