diff options
author | Ashok Raj <[email protected]> | 2020-03-27 14:16:15 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-05-14 18:26:53 -0500 |
commit | aa0ce96d72dd2e1b0dfd0fb868f82876e7790878 (patch) | |
tree | a405e395550788b5e68f4eb3b6f851b7ac76ae9f /drivers/fpga/fpga-bridge.c | |
parent | 9885440b16b8fc1dd7275800fd28f56a92f60896 (diff) |
PCI: Program MPS for RCiEP devices
Root Complex Integrated Endpoints (RCiEPs) do not have an upstream bridge,
so pci_configure_mps() previously ignored them, which may result in reduced
performance.
Instead, program the Max_Payload_Size of RCiEPs to the maximum supported
value (unless it is limited for the PCIE_BUS_PEER2PEER case). This also
affects the subsequent programming of Max_Read_Request_Size because Linux
programs MRRS based on the MPS value.
Fixes: 9dae3a97297f ("PCI: Move MPS configuration check to pci_configure_device()")
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Dave Jiang <[email protected]>
Signed-off-by: Ashok Raj <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions