HomeFreeBSD

Set PCIe device's Max_Payload_Size to match PCIe root's.

Description

Set PCIe device's Max_Payload_Size to match PCIe root's.

Usually on boot the MPS is already configured by BIOS. But we've
found that on hot-plug it is not true at least for our Supermicro
X11 boards. As result, mismatch between root's configuration of
256 bytes and device's default of 128 bytes cause problems for some
devices, while others seem to work fine.

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

(cherry picked from commit 5a898b2b78ce04d608bbaaa0813424b11f921ae7)

Details

Provenance
mavAuthored on Apr 5 2021, 2:34 PM
Parents
rGdbe42afd0a95: pf tests: Test using '<ifgroup>:network' in tables
Branches
Unknown
Tags
Unknown