aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 22:45:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 22:45:28 +0000
commit2921fef744a063320cc20ddbd8218181d1638657 (patch)
tree26547fb29ac1ae6e254be07dceed765772d043d9 /target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
parent1ff6e9aef80890c44a84230c6f963e37c46684d9 (diff)
downloadupstream-2921fef744a063320cc20ddbd8218181d1638657.tar.gz
upstream-2921fef744a063320cc20ddbd8218181d1638657.tar.bz2
upstream-2921fef744a063320cc20ddbd8218181d1638657.zip
ralink: fix ethernet feature TSO not work
* fix TSO features verify on mt7621 firewrt board * improve tx clean up. no need to access uncached memory. also use TX_DTX register instead of read tx ring DONE bit * mt7621 need napi weight 64 to get more performance * remove netif_receive_skb, after kernel version 3.7 tcp4_gro_receive can handle tcp checksum. on rt2880 use iperf tcp LAN to WAN throughput test. with gro 135 Mbits/sec. without gro 80.4Mbits/sec. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44118 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c')
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
index c7744ba5c1..df61963dc9 100644
--- a/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
+++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
@@ -208,5 +208,5 @@ void fe_set_ethtool_ops(struct net_device *netdev)
fe_ethtool_ops.get_ethtool_stats = fe_get_ethtool_stats;
}
- SET_ETHTOOL_OPS(netdev, &fe_ethtool_ops);
+ netdev->ethtool_ops = &fe_ethtool_ops;
}