alx: add feature flag for rx checksumming
authorTobias Regnery <tobias.regnery@gmail.com>
Mon, 9 Jan 2017 12:15:55 +0000 (13:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 19:52:54 +0000 (14:52 -0500)
commit3a7f75e532420edb375b8d0a1526c3c1b777c1f6
treeff5b7c776446a3214b3b6eb99ecca3c3064f8dbe
parent512656008a458a750bf4a55ec99e2621f47a9b06
alx: add feature flag for rx checksumming

The code to handle rx checksumming was in the driver since its introduction
but for reasons unknown the feature flag was left out. Now it is possible
to enable this feature with ethtool.

Tested on my AR8161 ethernet card, there are no regressions observed in
netperf if this feature is enabled.

Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/main.c