Page MenuHomeFreeBSD

mpi3mr: configure larger max I/O size if the HBA firmware supports it
Needs ReviewPublic

Authored by chs on Fri, Feb 21, 12:35 AM.
Tags
None
Referenced Files
F110622295: D49090.id151277.diff
Fri, Feb 21, 1:12 AM
F110622164: D49090.id.diff
Fri, Feb 21, 1:09 AM
F110621356: D49090.diff
Fri, Feb 21, 12:53 AM
Subscribers

Details

Summary

The max I/O size that an mpi3mr HBA supports is reported in the IOCFacts
structure (with 0 representing the legacy max I/O size of 1 MB).
By default, set the max I/O size of devices attached to mpi3mr controllers
to the smaller of the HBA's max I/O size and the kernel's maxphys.
Allow this default to be overriden by a global tunable
"hw.mpi3mr.max_sgl_entries" or by a per-controller tunable
"dev.mpi3mr.N.max_sgl_entries".

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 62557
Build 59441: arc lint + arc unit