HomeFreeBSD

mrsas(4): Report more correct maximum I/O size.

Description

mrsas(4): Report more correct maximum I/O size.

Subtract one SGE for the case of misaligned address. Also take into
account maximum number of sectors reported by firmware, that gives
nicer 256KB limit instead of 276KB calculated from the SGE limit.

While there, remove number of I/O size checks, duplicating what is
already checked by CAM and busdma(9).

MFC after: 1 month
Sponsored by: iXsystems, Inc.

(cherry picked from commit fa3d57c256104649217b5022947de9c1c59a326e)

Details

Provenance
mavAuthored on Jul 1 2021, 7:28 PM
Parents
rG60c9798db74d: net tests: basic test case for bpf(4)'s ability to set vlan pcp
Branches
Unknown
Tags
Unknown