4 comments:
File src/device/pciexp_device.c:
Patch Set #1, Line 430: /* Set max payload to smaller of the reported device capability. */
Perhaps somewhere comment or print why you're capping the field to 5. […]
Done
Patch Set #1, Line 445: endp_devctl |= max_payload << 5;
Oh dear :(
Patch Set #1, Line 448: PCIe: Max_Payload_Size adjusted to %d
The console output likely makes it obvious what B:D:F this is. […]
I'll see about the consistency of the logging separately.
Meh, the spec says you don't need to do this for each function in a multi-function device. […]
That's probably true for all the pciexp_xx() calls we make above. I could consider some followup work on this, if someone has suitable PCIe topology hardware to test on.
To view, visit change 37769. To unsubscribe, or for help writing mail filters, visit settings.