ralink: fix ethernet feature TSO not work
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 22:45:28 +0000 (22:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 22:45:28 +0000 (22:45 +0000)
commit45ecac8fc1cef593244721bb5ac70ed7300e0b2a
tree26547fb29ac1ae6e254be07dceed765772d043d9
parent1f0dde6f364c1b06d13a93fdd42cc769bc4d7f55
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
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.h
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_mt7620.c
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c