diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:45:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:45:28 +0000 |
commit | 2921fef744a063320cc20ddbd8218181d1638657 (patch) | |
tree | 26547fb29ac1ae6e254be07dceed765772d043d9 /target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c | |
parent | 1ff6e9aef80890c44a84230c6f963e37c46684d9 (diff) | |
download | master-187ad058-2921fef744a063320cc20ddbd8218181d1638657.tar.gz master-187ad058-2921fef744a063320cc20ddbd8218181d1638657.tar.bz2 master-187ad058-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/soc_rt3883.c')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c index 71cb74759e..4e4dcdbb94 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c @@ -64,7 +64,6 @@ static struct fe_soc_data rt3883_data = { .rx_int = FE_RX_DONE_INT, .tx_int = FE_TX_DONE_INT, .checksum_bit = RX_DMA_L4VALID, - .tx_udf_bit = TX_DMA_UDF, .mdio_read = rt2880_mdio_read, .mdio_write = rt2880_mdio_write, .mdio_adjust_link = rt2880_mdio_link_adjust, |