From: Nitesh Shetty Date: Wed, 16 Jul 2025 13:39:44 +0000 (+0530) Subject: nvmet: add support for FDP in fabrics passthru path X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c71fc0f457ca1c2cd4dff2d974df724beb14f67e;p=users%2Fjedix%2Flinux-maple.git nvmet: add support for FDP in fabrics passthru path 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 Signed-off-by: Christoph Hellwig --- diff --git a/drivers/nvme/target/passthru.c b/drivers/nvme/target/passthru.c index 3b4b0df8f8799..0c361b1e35665 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); }