]> 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)
commit796df9fc7838ef4dd464485cb52a434611322fd0
treeff5b7c776446a3214b3b6eb99ecca3c3064f8dbe
parent6897460abd6f7ccbf8be3f42e8e48b3fde59a324
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