]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a2b399c7e4b8183e77206d441b755ba35be81d5
treeff5b7c776446a3214b3b6eb99ecca3c3064f8dbe
parent1c12a38bc3dcb6f2b6c80e9320c181c79a291ea4
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