r8169: handle tx before rx in napi poll
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 11 Feb 2021 20:20:08 +0000 (21:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2021 02:16:32 +0000 (18:16 -0800)
commit9fbb4a7ac463c9a7240787f6d9481ec6f8048a74
tree0295fc601aa52263c0c4d17e7f5e776c142382be
parent3b23a32a63219f51a5298bc55a65ecee866e79d0
r8169: handle tx before rx in napi poll

Cleaning up tx descriptors first increases the chance that
rtl_rx() can allocate new skb's from the cache.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c