| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Signed-off-by: michael lee <igvtee@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44401
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the old FE_INT_STATUS register becomes two registers.
FE_INT_STATUS and INT_STATUS. so the hw status almost full
must change to read from FE_INT_STATUS register.
tx/rx done read from INT_STATUS register.
mt7620 datasheet define CNT_GDM1_AF at BIT(29).
but after test it should be BIT(13). why?
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44371
|
|
|
|
|
|
|
|
| |
keep default as 3.14, mt7621 gic need to be ported to 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44349
|
|
|
|
|
|
|
|
|
|
|
| |
- budget is decremented with completed frames, so don't check if done is
smaller
- ACK the interrupt before processing further frames to fix a small race
condition.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44234
|
|
|
|
|
|
|
|
|
| |
The mac address usually write in factory block. but sometime user erase this block , the mac address will change to ff:ff:ff:ff:ff:ff.
This patch is purpose to fix this issue.
Signed-off-by: wengbj <linux.c@foxmail.com>
SVN-Revision: 44166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
on mt7621 don't have tx vlan vid registers.
so set FE_REG_FE_DMA_VID_BASE to 0.
set rx vlan offload register to disable.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44117
|
|
|
|
|
|
|
|
|
|
| |
the rx_buf_size now is 1534 when mtu is 1500.
the ethernet frame with vlan tag and FCS is 1522.
so the buffer is enough.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44116
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44115
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44047
|
|
|
|
|
|
| |
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44046
|
|
|
|
|
|
| |
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44045
|
|
|
|
|
|
| |
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44044
|
|
|
|
|
|
|
|
|
|
| |
* use default timeout value
* print more debug ring info
* move timeout reset function to workqueue
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44043
|
|
|
|
|
|
| |
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44041
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43995
|
|
|
|
|
|
|
|
| |
overrun related packet loss
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43953
|
|
|
|
|
|
|
|
| |
could reduce throughput
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43952
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43811
|
|
|
|
|
|
|
|
| |
offload is unavailable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43810
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hardware status and tx vlan offload support on all targets
except rt5350. so i modify the IS_ENABLE condition only for
mt7621.
support mt7621 hardware status reference by SDK. but i don't
have mt7621. if not work just set mt7621 FE_REG_FE_COUNTER_BASE
to 0 to let software count.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43303
|
|
|
|
|
|
| |
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43302
|
|
|
|
|
|
|
|
|
|
|
| |
hardware tx vlan offload only support max 16 vids
now use add/delete vlan interface to update vlan id table
when duplicate vlan id index detect.
disable hardware tx vlan offload support.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43301
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43247
|
|
|
|
|
|
|
|
| |
a missing "val =" caused the AN bit in the phy0 reg to be flushed.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43246
|
|
|
|
|
|
|
|
| |
the SDK does a bit of extra init that we did not do yet when using an external mt7530.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43245
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43243
|
|
|
|
|
|
|
|
| |
somehow all switch ports still come up as 10mbit.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43237
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43235
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43206
|
|
|
|
|
|
|
|
|
| |
r43200 tries to detect if the fixup is needed or not. control the behaviour via
OF instead and disable unused ports.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43201
|
|
|
|
|
|
|
|
| |
this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43200
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43196
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43195
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43194
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39949
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39328
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36161
|
|
|
|
|
|
|
|
|
| |
[juhosg: add missing symbols to config-3.{7,8}]
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35970
|
|
|
|
|
|
|
|
|
|
|
| |
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35851
|
|
|
|
|
|
|
|
| |
It is removed in 3.8. Also add a revert patch for 3.7.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35799
|
|
|
|
|
|
| |
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35798
|
|
|
|
|
|
| |
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35466
|
|
|
|
|
|
|
| |
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35462
|
|
|
|
|
|
| |
https://dev.openwrt.org/ticket/12830
SVN-Revision: 35359
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.
Factory image should be used to flash from original firmware.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35244
|
|
|
|
|
|
|
|
| |
fixes #12754
Signed-off-by: <rq@akl.lt>
SVN-Revision: 35020
|
|
|
|
|
|
|
|
| |
RT5350 frame engine need reset frame engine and embedded switch together.
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
SVN-Revision: 34969
|
|
|
|
|
|
|
| |
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34934
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.
[juhosg: move user-space support and image generation changes into
separate patches]
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34925
|