Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102690313
D44448.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D44448.diff
View Options
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -1350,7 +1350,13 @@
uint8_t reserved8[768];
/* bytes 1792-2047: NVMe over Fabrics specification */
- uint8_t reserved9[256];
+ uint32_t ioccsz;
+ uint32_t iorcsz;
+ uint16_t icdoff;
+ uint8_t fcatt;
+ uint8_t msdbd;
+ uint16_t ofcs;
+ uint8_t reserved9[242];
/* bytes 2048-3071: power state descriptors */
struct nvme_power_state power_state[32];
@@ -2067,6 +2073,10 @@
s->acwu = le16toh(s->acwu);
s->sgls = le32toh(s->sgls);
s->mnan = le32toh(s->mnan);
+ s->ioccsz = le32toh(s->ioccsz);
+ s->iorcsz = le32toh(s->iorcsz);
+ s->icdoff = le16toh(s->icdoff);
+ s->ofcs = le16toh(s->ofcs);
for (i = 0; i < 32; i++)
nvme_power_state_swapbytes(&s->power_state[i]);
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 10:04 PM (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14665444
Default Alt Text
D44448.diff (815 B)
Attached To
Mode
D44448: nvme: Add NVMe over Fabrics fields to nvme_controller_data
Attached
Detach File
Event Timeline
Log In to Comment