r8169: implement callback ndo_features_check
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 26 Jul 2019 19:49:22 +0000 (21:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jul 2019 21:25:07 +0000 (14:25 -0700)
commite64e0c89749969b22415fd3e766b33b37264c6ea
tree9d4487566692ea85112abceb3d9e9aeaf2ce0fea
parent0170d594ded8297760ca9d8eb7eb6a9aff378059
r8169: implement callback ndo_features_check

Implement callback ndo_features_check and move all feature checks there.
This will allow us to get rid of r8169_csum_workaround() completely in
a subsequent step. Like in the vendor driver disable HW csum for short
packets on RTL8168b.

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