• M
    IB/mthca: Disable tuning PCI read burst size · abf45dbb
    Michael S. Tsirkin 提交于
    The PCI spec recommends against drivers playing with a device's PCI
    read burst size, and says that systems software should configure it.
    And we actually have users that report that changing it from the
    default set by BIOS hurts performance and/or stability for them.  On
    the other hand, the Mellanox Programmer's Reference Manual recommends
    turning it up all the way to the maximum value.  Some tests conducted
    here in the lab do not show performance improvement from this tuning,
    but this might be just me.
    
    As a work-around, make this tuning an option, off by default (safe
    value), with an eye towards removing it completely one day if no one
    complains.
    Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
    Signed-off-by: NRoland Dreier <rolandd@cisco.com>
    abf45dbb
mthca_main.c 32.9 KB