Re: [PATCH net-next] r8169: improve rtl_tx

2020-11-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 11 Nov 2020 22:56:29 +0100 you wrote: > We can simplify the for() condition and eliminate variable tx_left. > The change also considers that tp->cur_tx may be incremented by a > racing rtl8169_start_xmit(). > In add

[PATCH net-next] r8169: improve rtl_tx

2020-11-11 Thread Heiner Kallweit
We can simplify the for() condition and eliminate variable tx_left. The change also considers that tp->cur_tx may be incremented by a racing rtl8169_start_xmit(). In addition replace the write to tp->dirty_tx and the following smp_mb() with an equivalent call to smp_store_mb(). This implicitly adds