Skip to content

Commit

Permalink
types: add Host Behavior Support field definitions
Browse files Browse the repository at this point in the history
Bytes 1 and 2 are now defined as fields ETDAS and LBAFEE,
so update the struct nvme_feat_host_behavior definition.

Signed-off-by: Caleb Sander <[email protected]>
  • Loading branch information
calebsander authored and igaw committed Nov 2, 2023
1 parent d5962d8 commit 06bc8b2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -4743,13 +4743,17 @@ struct nvme_plm_config {
/**
* struct nvme_feat_host_behavior - Host Behavior Support - Data Structure
* @acre: Advanced Command Retry Enable
* @rsvd1: Reserved
* @etdas: Extended Telemetry Data Area 4 Supported
* @lbafee: LBA Format Extension Enable
* @rsvd3: Reserved
* @cdfe: Copy Descriptor Formats Enable
* @rsvd6: Reserved
*/
struct nvme_feat_host_behavior {
__u8 acre;
__u8 rsvd1[3];
__u8 etdas;
__u8 lbafee;
__u8 rsvd3;
__u16 cdfe;
__u8 rsvd6[506];
};
Expand Down

0 comments on commit 06bc8b2

Please sign in to comment.