From: Heiner Kallweit <hkallwe...@gmail.com> Date: Fri, 28 Sep 2018 23:51:54 +0200
> Some of the chip-specific hw_start functions set bit TXCFG_AUTO_FIFO > in register TxConfig. The original patch changed the order of some > calls resulting in these changes being overwritten by > rtl_set_tx_config_registers() in rtl_hw_start(). This eventually > resulted in network stalls especially under high load. > > Analyzing the chip-specific hw_start functions all chip version from > 34, with the exception of version 39, need this bit set. > This patch moves setting this bit to rtl_set_tx_config_registers(). > > Fixes: 4fd48c4ac0a0 ("r8169: move common initializations to tp->hw_start") > Reported-by: Ortwin Glück <o...@odi.ch> > Reported-by: David Arendt <ad...@prnet.org> > Root-caused-by: Maciej S. Szmigiero <m...@maciej.szmigiero.name> > Tested-by: Tony Atkinson <tatkin...@linux.com> > Tested-by: David Arendt <ad...@prnet.org> > Tested-by: Ortwin Glück <o...@odi.ch> > Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com> > --- > Hint for applying this change to stable: > It may collide with 05212ba8132b ("r8169: set RxConfig after tx/rx is > enabled for RTL8169sb/8110sb devices") which renamed > rtl_set_rx_tx_config_registers() to rtl_set_tx_config_registers(). > --- > v2: > - added Maciej as root-caused-by Applied and queued up for -stable, thanks for the backporting hints.