summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros
diff options
context:
space:
mode:
authorTobias Regnery <tobias.regnery@gmail.com>2017-01-09 13:15:55 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-09 20:52:54 +0100
commit3a7f75e532420edb375b8d0a1526c3c1b777c1f6 (patch)
treeff5b7c776446a3214b3b6eb99ecca3c3064f8dbe /drivers/net/ethernet/atheros
parentMerge branch 'act_csum-sctp' (diff)
downloadlinux-3a7f75e532420edb375b8d0a1526c3c1b777c1f6.tar.xz
linux-3a7f75e532420edb375b8d0a1526c3c1b777c1f6.zip
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>
Diffstat (limited to 'drivers/net/ethernet/atheros')
-rw-r--r--drivers/net/ethernet/atheros/alx/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/atheros/alx/main.c b/drivers/net/ethernet/atheros/alx/main.c
index c66195d00ed4..4c80e0689db9 100644
--- a/drivers/net/ethernet/atheros/alx/main.c
+++ b/drivers/net/ethernet/atheros/alx/main.c
@@ -1816,6 +1816,7 @@ static int alx_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
netdev->hw_features = NETIF_F_SG |
NETIF_F_HW_CSUM |
+ NETIF_F_RXCSUM |
NETIF_F_TSO |
NETIF_F_TSO6;