]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: remove fiddling with the PCIe max read request size
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 21 Oct 2019 19:22:07 +0000 (21:22 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 Oct 2019 18:27:00 +0000 (11:27 -0700)
commitd4bb8c4bef7a8608720707d353a0e1c41a435e09
tree7c28eda4d3eca756689cc2cda42dd374d678969e
parentb097e0ee335db3b0ccc01905275a469157870cfa
r8169: remove fiddling with the PCIe max read request size

The attempt to improve performance by changing the PCIe max read request
size was added in the vendor driver more than 10 years back and copied
to r8169 driver. In the vendor driver this has been removed long ago.
Obviously it had no effect, also in my tests I didn't see any
difference. Typically the max payload size is less than 512 bytes
anyway, and the PCI core takes care that the maximum supported value
is set. So let's remove fiddling with PCIe max read request size from
r8169 too.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/realtek/r8169_main.c