[PATCH v1 0/4] More code de-duplication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make the client and server use the same XDR utility functions for
encoding and decoding RPC/RDMA transport headers.

---

Chuck Lever (4):
      svcrdma: Remove declarations for functions long removed
      SUNRPC: Add helpers for decoding list discriminators symbolically
      svcrdma: Add common XDR decoders for RDMA and Read segments
      svcrdma: Add common XDR encoders for RDMA and Read segments


 include/linux/sunrpc/rpc_rdma.h          | 74 ++++++++++++++++++++++++
 include/linux/sunrpc/xdr.h               | 26 +++++++++
 net/sunrpc/xprtrdma/frwr_ops.c           |  1 -
 net/sunrpc/xprtrdma/rpc_rdma.c           | 31 ++++------
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c  | 21 +++----
 net/sunrpc/xprtrdma/svc_rdma_rw.c        | 37 +++++-------
 net/sunrpc/xprtrdma/svc_rdma_sendto.c    |  9 +--
 net/sunrpc/xprtrdma/svc_rdma_transport.c |  1 -
 8 files changed, 137 insertions(+), 63 deletions(-)

--
Chuck Lever




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux