All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/6] nvme: introduce a new flag NVME_ADMIN_QID
@ 2019-04-10  8:00 Yufen Yu
  2019-04-10  8:00 ` [PATCH RFC 1/6] nvme: add new flags NVME_ADMIN_QID for nvme admin queue Yufen Yu
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Yufen Yu @ 2019-04-10  8:00 UTC (permalink / raw)


Hi, all

This patchset introduces a new flag NVME_ADMIN_QID for admin queue.
Now that, all drivers in host or target are use index '0' as admin
queues. Thus, we can use a flag NVME_ADMIN_QID instead of using '0',
which can make code more easy to read and understand.

This patchset is RFC, and it just use NVME_ADMIN_QID for drivers in
nvme host. I am not sure whether this patchset actually make sense. 
Any suggestion is welcome and thanks in advance.

Yufen Yu (6):
  nvme: add new flags NVME_ADMIN_QID for nvme admin queue
  nvme-pci: use NVME_ADMIN_QID for admin queue
  nvme-rdma: use flag NVME_ADMIN_QID for admin queue
  nvme-tcp: use flag NVME_ADMIN_QID for admin queue
  nvme-fc: use flag NVME_ADMIN_QID for admin queue
  nvme-fabrics: use flag NVME_ADMIN_QID

 drivers/nvme/host/fabrics.c |  2 +-
 drivers/nvme/host/fc.c      | 16 ++++++++--------
 drivers/nvme/host/pci.c     | 18 +++++++++---------
 drivers/nvme/host/rdma.c    | 22 +++++++++++-----------
 drivers/nvme/host/tcp.c     | 24 ++++++++++++------------
 include/linux/nvme.h        |  3 +++
 6 files changed, 44 insertions(+), 41 deletions(-)

-- 
2.16.2.dirty

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

end of thread, other threads:[~2019-04-24 16:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-10  8:00 [PATCH RFC 0/6] nvme: introduce a new flag NVME_ADMIN_QID Yufen Yu
2019-04-10  8:00 ` [PATCH RFC 1/6] nvme: add new flags NVME_ADMIN_QID for nvme admin queue Yufen Yu
2019-04-10 16:54   ` Heitke, Kenneth
2019-04-10  8:00 ` [PATCH RFC 2/6] nvme-pci: use NVME_ADMIN_QID for " Yufen Yu
2019-04-10  8:00 ` [PATCH RFC 3/6] nvme-rdma: use flag " Yufen Yu
2019-04-10  8:00 ` [PATCH RFC 4/6] nvme-tcp: " Yufen Yu
2019-04-10  8:00 ` [PATCH RFC 5/6] nvme-fc: " Yufen Yu
2019-04-10 16:52   ` Heitke, Kenneth
2019-04-10  8:00 ` [PATCH RFC 6/6] nvme-fabrics: use flag NVME_ADMIN_QID Yufen Yu
2019-04-10 17:12 ` [PATCH RFC 0/6] nvme: introduce a new " Keith Busch
2019-04-10 18:39   ` Chaitanya Kulkarni
2019-04-24 16:41     ` Sagi Grimberg
2019-04-10 20:14 ` James Smart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.