[RFC v1 0/3] Unifying fabrics drivers
Daniel Wagner
dwagner at suse.de
Wed Mar 1 00:27:34 PST 2023
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
More information about the Linux-nvme
mailing list