]> 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)
commit8458013c81bfaebbaa96f596ab7e5baf5d7012ea
tree7c28eda4d3eca756689cc2cda42dd374d678969e
parent08dcf37a6e1aa8c6c71f087a4fe4db2980222b8a
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