]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: improve rtl8169_tso_csum_v2
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 18 Apr 2020 21:10:44 +0000 (23:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Apr 2020 03:20:11 +0000 (20:20 -0700)
commit9d6955076e2e7d197506b742c31822cfe7c33dd7
tree889c1b93f70aaece776af856fb0d9e14f32c771b
parentaa6a5540bafee1cf25685658b0b0fbcfaa9481e9
r8169: improve rtl8169_tso_csum_v2

Simplify the code and avoid the overhead of calling vlan_get_protocol().

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