linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: linux-nfs@vger.kernel.org, linux-rdma@vger.kernel.org
Subject: [PATCH v1 0/4] More code de-duplication
Date: Mon, 29 Jun 2020 10:53:27 -0400	[thread overview]
Message-ID: <20200629145150.15063.29447.stgit@klimt.1015granger.net> (raw)

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

             reply	other threads:[~2020-06-29 19:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29 14:53 Chuck Lever [this message]
2020-06-29 14:53 ` [PATCH v1 1/4] svcrdma: Remove declarations for functions long removed Chuck Lever
2020-06-29 14:53 ` [PATCH v1 2/4] SUNRPC: Add helpers for decoding list discriminators symbolically Chuck Lever
2020-06-29 14:53 ` [PATCH v1 3/4] svcrdma: Add common XDR decoders for RDMA and Read segments Chuck Lever
2020-06-29 14:53 ` [PATCH v1 4/4] svcrdma: Add common XDR encoders " Chuck Lever

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200629145150.15063.29447.stgit@klimt.1015granger.net \
    --to=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).