All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] nvmet: Add support for FDP in fabrics passthru path
       [not found] <CGME20250716134010epcas5p1c7ca7bcc7addf12c4cab2e4aefb7e020@epcas5p1.samsung.com>
@ 2025-07-16 13:39 ` Nitesh Shetty
  2025-07-22  6:28   ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Nitesh Shetty @ 2025-07-16 13:39 UTC (permalink / raw)
  To: Christoph Hellwig, Sagi Grimberg, Chaitanya Kulkarni
  Cc: gost.dev, nitheshshetty, Nitesh Shetty, linux-nvme, linux-kernel

Add support for admin_get_feature FDP(0x1d) feature id, thus enabling
FDP at the initiator side for the target controller and namespaces
attached to it.

Signed-off-by: Nitesh Shetty <nj.shetty@samsung.com>
---
 drivers/nvme/target/passthru.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/nvme/target/passthru.c b/drivers/nvme/target/passthru.c
index b7515c53829b..0fd49f9f6542 100644
--- a/drivers/nvme/target/passthru.c
+++ b/drivers/nvme/target/passthru.c
@@ -533,6 +533,8 @@ u16 nvmet_parse_passthru_admin_cmd(struct nvmet_req *req)
 		case NVME_FEAT_HOST_ID:
 			req->execute = nvmet_execute_get_features;
 			return NVME_SC_SUCCESS;
+		case NVME_FEAT_FDP:
+			return nvmet_setup_passthru_command(req);
 		default:
 			return nvmet_passthru_get_set_features(req);
 		}

base-commit: 347e9f5043c89695b01e66b3ed111755afcf1911
-- 
2.43.0



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

* Re: [PATCH v2] nvmet: Add support for FDP in fabrics passthru path
  2025-07-16 13:39 ` [PATCH v2] nvmet: Add support for FDP in fabrics passthru path Nitesh Shetty
@ 2025-07-22  6:28   ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2025-07-22  6:28 UTC (permalink / raw)
  To: Nitesh Shetty
  Cc: Christoph Hellwig, Sagi Grimberg, Chaitanya Kulkarni, gost.dev,
	nitheshshetty, linux-nvme, linux-kernel

Thanks,

added to nvme-6.17.



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

end of thread, other threads:[~2025-07-22  6:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20250716134010epcas5p1c7ca7bcc7addf12c4cab2e4aefb7e020@epcas5p1.samsung.com>
2025-07-16 13:39 ` [PATCH v2] nvmet: Add support for FDP in fabrics passthru path Nitesh Shetty
2025-07-22  6:28   ` Christoph Hellwig

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.