aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.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/soc_rt2880.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/soc_rt2880.c')
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c
index 43467310bd..ebe85b9a6a 100644
--- a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c
+++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c
@@ -63,7 +63,6 @@ struct fe_soc_data rt2880_data = {
.fwd_config = rt2880_fwd_config,
.pdma_glo_cfg = FE_PDMA_SIZE_8DWORDS,
.checksum_bit = RX_DMA_L4VALID,
- .tx_udf_bit = TX_DMA_UDF,
.rx_int = FE_RX_DONE_INT,
.tx_int = FE_TX_DONE_INT,
.mdio_read = rt2880_mdio_read,