Re: [PATCH 01/10] nvme.h: add RTD3R, RTD3E and OAES fields
From: Johannes Thumshirn <hidden>
Date: 2016-06-07 08:10:17
Also in:
linux-nvme, lkml
On Mon, Jun 06, 2016 at 11:20:43PM +0200, Christoph Hellwig wrote:
quoted hunk ↗ jump to hunk
These have been added in NVMe 1.2 and we'll need at least oaes for the NVMe target driver. Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Jay Freyensee <redacted> Signed-off-by: Christoph Hellwig <hch@lst.de> --- include/linux/nvme.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 7d51b29..ff5ebc3 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h@@ -107,7 +107,10 @@ struct nvme_id_ctrl { __u8 mdts; __le16 cntlid; __le32 ver; - __u8 rsvd84[172]; + __le32 rtd3r; + __le32 rtd3e; + __le32 oaes;
Just out of curiosity, why not CTRATT as well?
+ __u8 rsvd96[160]; __le16 oacs; __u8 acl; __u8 aerl; -- 2.1.4 _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme
-- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg GF: Felix Imend�rffer, Jane Smithard, Graham Norton HRB 21284 (AG N�rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850