Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107495911
D34867.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
D34867.diff
View Options
diff --git a/sys/dev/nvme/nvme_ctrlr.c b/sys/dev/nvme/nvme_ctrlr.c
--- a/sys/dev/nvme/nvme_ctrlr.c
+++ b/sys/dev/nvme/nvme_ctrlr.c
@@ -474,7 +474,8 @@
*/
if (ctrlr->cdata.mdts > 0)
ctrlr->max_xfer_size = min(ctrlr->max_xfer_size,
- ctrlr->min_page_size * (1 << (ctrlr->cdata.mdts)));
+ 1 << (ctrlr->cdata.mdts + NVME_MPS_SHIFT +
+ NVME_CAP_HI_MPSMIN(ctrlr->cap_hi)));
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 16, 12:35 AM (18 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15817947
Default Alt Text
D34867.diff (408 B)
Attached To
Mode
D34867: nvme: Base maximum data transfer size directly on MPSMIN in cap_hi
Attached
Detach File
Event Timeline
Log In to Comment