projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d28118e
)
net: mvneta: enable NETIF_F_RXCSUM by default
author
Jisheng Zhang
<
[email protected]
>
Fri, 31 Aug 2018 08:10:03 +0000
(16:10 +0800)
committer
David S. Miller
<
[email protected]
>
Sun, 2 Sep 2018 21:13:31 +0000
(14:13 -0700)
The code and HW supports NETIF_F_RXCSUM, so let's enable it by default.
Signed-off-by: Jisheng Zhang <
[email protected]
>
Reviewed-by: Gregory CLEMENT <
[email protected]
>
Tested-by: Andrew Lunn <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/marvell/mvneta.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mvneta.c
b/drivers/net/ethernet/marvell/mvneta.c
index 814aee92a1d3c129e0c09fc989939d309120b1f3..bcd20ebb2ebdfc20c1f87d7b428b01db010cf4c0 100644
(file)
--- a/
drivers/net/ethernet/marvell/mvneta.c
+++ b/
drivers/net/ethernet/marvell/mvneta.c
@@
-4595,7
+4595,8
@@
static int mvneta_probe(struct platform_device *pdev)
}
}
- dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_TSO;
+ dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
+ NETIF_F_TSO | NETIF_F_RXCSUM;
dev->hw_features |= dev->features;
dev->vlan_features |= dev->features;
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;