mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 05:24:39 +01:00
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 <nj.shetty@samsung.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
5421681bc3
commit
c71fc0f457
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue