• Matt Carlson's avatar
    tg3: Scale back code that modifies MRRS · 2c55a3d0
    Matt Carlson authored
    Tg3 normally gets a performance boost by increasing the PCI Maximum Read
    Request Size (MRRS) to 4k.  Unfortunately, this is causing some problems
    on particular hardware platforms.  This patch removes all code that
    modifies the MRRS except for one case.
    
    As part of a solution to fix an internal FIFO problem on the 5719, the
    driver artificially capped the MRRS to 2k for the entire 5719, and later
    5720, ASIC revs.  This was overly aggressive and only really needed to
    be done for the 5719 A0.  In the spirit of the rest of this patch, the
    driver will only reprogram the MRRS for this device if the value exceeds
    the 2k cap.
    Signed-off-by: default avatarMatt Carlson <mcarlson@broadcom.com>
    Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2c55a3d0
tg3.c 416 KB