]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/nvme/target/admin-cmd.c
nvmet: support for traffic based keep-alive
[linux.git] / drivers / nvme / target / admin-cmd.c
index 30778ffc46f528763de84ba95f933349072bd635..c9c6d25a3ec29f12800fabc5bb9585a09e88e6e8 100644 (file)
@@ -304,7 +304,8 @@ static void nvmet_execute_identify_ctrl(struct nvmet_req *req)
 
        /* XXX: figure out what to do about RTD3R/RTD3 */
        id->oaes = cpu_to_le32(NVMET_AEN_CFG_OPTIONAL);
-       id->ctratt = cpu_to_le32(NVME_CTRL_ATTR_HID_128_BIT);
+       id->ctratt = cpu_to_le32(NVME_CTRL_ATTR_HID_128_BIT |
+               NVME_CTRL_ATTR_TBKAS);
 
        id->oacs = 0;