]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Disable TSO for buffer overrun workaround
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Thu, 7 May 2020 14:21:07 +0000 (22:21 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 23 May 2020 01:21:52 +0000 (18:21 -0700)
commit6ed39afad32d97201d28e78b39f4aef7d2c6fbbe
tree97e41b08076095bb19d0a10c886507c481035eeb
parent764090106419124e839b4d5ff0812bf8f3843b19
e1000e: Disable TSO for buffer overrun workaround

Commit 886b3979a8c9 ("e1000e: fix buffer overrun while the I219 is
processing DMA transactions") imposes roughly 30% performance penalty.

The commit log states that "Disabling TSO eliminates performance loss
for TCP traffic without a noticeable impact on CPU performance", so
let's disable TSO by default to regain the loss.

CC: stable <stable@vger.kernel.org>
Fixes: 886b3979a8c9 ("e1000e: fix buffer overrun while the I219 is processing DMA transactions")
BugLink: https://bugs.launchpad.net/bugs/1802691
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c