public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] nvme: add ctrl sgl supported helper
@ 2021-06-10  1:28 Chaitanya Kulkarni
  2021-06-10  1:28 ` [PATCH 1/4] nvme: add a helper to check ctrl sgl support Chaitanya Kulkarni
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Chaitanya Kulkarni @ 2021-06-10  1:28 UTC (permalink / raw)
  To: linux-nvme; +Cc: hch, Chaitanya Kulkarni

Hi,

For various transports such as fc/tcp/pci it is common to check if
NVMe SGLs are supported or not by the controller.

Instead of open coding that check add nvme_ctrl_sgl_supported()
helper and use it in the respective transports on the host side.

-ck

Chaitanya Kulkarni (4):
  nvme: add a helper to check ctrl sgl support
  nvme-fc: use ctrl sgl check helper
  nvm-pci: use ctrl sgl check helper
  nvme-tcp: use ctrl sgl check helper

 drivers/nvme/host/fc.c   | 2 +-
 drivers/nvme/host/nvme.h | 8 ++++++++
 drivers/nvme/host/pci.c  | 4 ++--
 drivers/nvme/host/tcp.c  | 2 +-
 4 files changed, 12 insertions(+), 4 deletions(-)

-- 
2.22.1


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

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

end of thread, other threads:[~2021-06-17  4:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-10  1:28 [PATCH 0/4] nvme: add ctrl sgl supported helper Chaitanya Kulkarni
2021-06-10  1:28 ` [PATCH 1/4] nvme: add a helper to check ctrl sgl support Chaitanya Kulkarni
2021-06-10  1:28 ` [PATCH 2/4] nvme-fc: use ctrl sgl check helper Chaitanya Kulkarni
2021-06-10  1:28 ` [PATCH 3/4] nvm-pci: " Chaitanya Kulkarni
2021-06-10  1:28 ` [PATCH 4/4] nvme-tcp: " Chaitanya Kulkarni
2021-06-17  1:36   ` Prabhakar Kushwaha
2021-06-17  4:59     ` Chaitanya Kulkarni
2021-06-15 16:18 ` [PATCH 0/4] nvme: add ctrl sgl supported helper Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox