* [PATCH net-next] alx: add feature flag for rx checksumming
@ 2017-01-09 12:15 Tobias Regnery
2017-01-09 19:53 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Regnery @ 2017-01-09 12:15 UTC (permalink / raw)
To: netdev, jcliburn, chris.snook; +Cc: davem, Tobias Regnery
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>
---
drivers/net/ethernet/atheros/alx/main.c | 1 +
1 file changed, 1 insertion(+)
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;
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] alx: add feature flag for rx checksumming
2017-01-09 12:15 [PATCH net-next] alx: add feature flag for rx checksumming Tobias Regnery
@ 2017-01-09 19:53 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-01-09 19:53 UTC (permalink / raw)
To: tobias.regnery; +Cc: netdev, jcliburn, chris.snook
From: Tobias Regnery <tobias.regnery@gmail.com>
Date: Mon, 9 Jan 2017 13:15:55 +0100
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-09 19:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 12:15 [PATCH net-next] alx: add feature flag for rx checksumming Tobias Regnery
2017-01-09 19:53 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).