HomeFreeBSD

isci: use maxphys rather than 128KB to size s/g list

Description

isci: use maxphys rather than 128KB to size s/g list

In the conversion into a tunable, we converted the
size of the s/g list used by the driver to be based
off of a hardcoded size of 128k rather than maxphys,
this caused performance problems for us. Revert this
to use the maxphys tunable.

Note that this constant is used to size dynamically allocated
things, and not static data structs, so this is safe.

Reviewed By: imp, kib, mav
Tested By:i dhw
Differential Revision: https://reviews.freebsd.org/D28023
Sponsored by: Netflix

Details

Provenance
gallatinAuthored on Jan 7 2021, 5:45 PM
Reviewer
imp
Differential Revision
D28023: isci: use maxphys rather than 128KB to size s/g list
Parents
rG4d64c7243d26: Fix the bug in committers-ports.dot with my mentor.
Branches
Unknown
Tags
Unknown