]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
r8169: remove jumbo_tx_csum from chip config struct
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 17 Apr 2018 21:36:12 +0000 (23:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:11:59 +0000 (21:11 -0400)
commit6ed0e08f9e2a90ab455d897e4679b903c82dac67
tree0d175676e8fceca4f3440dc82d85370b3e4566d3
parentc8d48d9c5bf7a0e884c17867eb8e0b30b7eae139
r8169: remove jumbo_tx_csum from chip config struct

According to the chip configuration entries only RTL8169 (ver <= 06)
supports tx checksumming for jumbo packets.
By the way: constant JUMBO_1K is a little misleading because it refers
to the standard packet size and not to a jumbo packet size.

By implementing this rule we can get rid of configuring tx checksumming
support per chip type.

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