[RFC v2 0/6] Unifying fabrics drivers

Daniel Wagner dwagner at suse.de
Mon Mar 6 01:32:38 PST 2023


Second iteration of this idea. This time I moved all the state machien code to
ctrl. 

I've tested quickly tcp, rdma is only compile tested and coming up with good
names for function is difficult.

changes:
v2:
  - move the complete ctrl state machine to fabrics.c
v1:
  - https://lore.kernel.org/linux-nvme/20230301082737.10021-1-dwagner@suse.de/

Daniel Wagner (6):
  nvme-rdma: stream line queue functions arguments
  nvme-rdma: factor rdma specific queue init code out
  nvme-tcp: move error and connect work to nvme_ctrl
  nvme-rdma: use error and connect work from nvme_ctrl
  nvme-tcp: move nvme ctrl state machine code to fabrics.c
  nvme-rdma: use ctrl state machine from frabrics

 drivers/nvme/host/fabrics.c | 434 +++++++++++++++++++++++++++++
 drivers/nvme/host/fabrics.h |  21 ++
 drivers/nvme/host/nvme.h    |   6 +
 drivers/nvme/host/rdma.c    | 535 +++++++-----------------------------
 drivers/nvme/host/tcp.c     | 504 ++++-----------------------------
 5 files changed, 606 insertions(+), 894 deletions(-)

-- 
2.39.2




More information about the Linux-nvme mailing list