Skip to content

Commit c71fc0f

Browse files
nj-shettyChristoph Hellwig
authored andcommitted
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 <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 5421681 commit c71fc0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/nvme/target/passthru.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ u16 nvmet_parse_passthru_admin_cmd(struct nvmet_req *req)
533533
case NVME_FEAT_HOST_ID:
534534
req->execute = nvmet_execute_get_features;
535535
return NVME_SC_SUCCESS;
536+
case NVME_FEAT_FDP:
537+
return nvmet_setup_passthru_command(req);
536538
default:
537539
return nvmet_passthru_get_set_features(req);
538540
}

0 commit comments

Comments
 (0)