linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC v1 0/3] Unifying fabrics drivers
@ 2023-03-01  8:27 Daniel Wagner
  2023-03-01  8:27 ` [RFC v1 1/3] nvme-rdma: stream line queue functions arguments Daniel Wagner
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Daniel Wagner @ 2023-03-01  8:27 UTC (permalink / raw)
  To: linux-nvme; +Cc: Daniel Wagner

The two fabrics rdma and tcp share a lot of common code. This here is my attempt
to consolidate the common code.

I've picked just one function (setup admin queue) for this RFC to get a feeling
and feedback if this is a valid approach or if people hate it. I've left out fc
for the time being because it differs too much two the other two drivers.

I've tested quickly tcp, rdma is only compile tested.

Daniel Wagner (3):
  nvme-rdma: stream line queue functions arguments
  nvme-rdma: factor rdma specific queue init code out
  nvme-fabrics: move configure admin queue code to fabrics.c

 drivers/nvme/host/fabrics.c |  52 ++++++++++++++
 drivers/nvme/host/fabrics.h |  12 ++++
 drivers/nvme/host/nvme.h    |   3 +
 drivers/nvme/host/rdma.c    | 132 +++++++++++++++++++-----------------
 drivers/nvme/host/tcp.c     |  94 ++++++++-----------------
 5 files changed, 165 insertions(+), 128 deletions(-)

-- 
2.39.2



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-03-08 15:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-01  8:27 [RFC v1 0/3] Unifying fabrics drivers Daniel Wagner
2023-03-01  8:27 ` [RFC v1 1/3] nvme-rdma: stream line queue functions arguments Daniel Wagner
2023-03-01  8:27 ` [RFC v1 2/3] nvme-rdma: factor rdma specific queue init code out Daniel Wagner
2023-03-01  8:27 ` [RFC v1 3/3] nvme-fabrics: move configure admin queue code to fabrics.c Daniel Wagner
2023-03-02  3:02 ` [RFC v1 0/3] Unifying fabrics drivers Chaitanya Kulkarni
2023-03-02  8:15   ` Daniel Wagner
2023-03-03 23:13 ` James Smart
2023-03-07 12:41   ` Daniel Wagner
2023-03-07 23:55     ` Chaitanya Kulkarni
2023-03-08  8:33       ` Daniel Wagner
2023-03-07  9:26 ` Sagi Grimberg
2023-03-07 12:28   ` Daniel Wagner
2023-03-07 12:34     ` Sagi Grimberg
2023-03-07 22:09       ` James Smart
2023-03-07 22:09     ` James Smart
2023-03-08 11:38       ` Sagi Grimberg
2023-03-08 15:13         ` James Smart

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).