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
commitbef829efa5b00d909136593931290345f88ca4e6 (patch)
tree7e6e1726cf69729ac1da85cac91d20309a652564 /target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
parent3ec294a825a1f796dbb2f6a56c82e1010e22ad2a (diff)
downloadupstream-bef829efa5b00d909136593931290345f88ca4e6.tar.gz
upstream-bef829efa5b00d909136593931290345f88ca4e6.tar.bz2
upstream-bef829efa5b00d909136593931290345f88ca4e6.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> SVN-Revision: 44118
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;
}