<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/ramips/files, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>ralink: drop old ethernet driver</title>
<updated>2015-12-17T09:25:30+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-12-17T09:25:30+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fa854a02a16a4961f09358569f0328bf87fcbc1d'/>
<id>fa854a02a16a4961f09358569f0328bf87fcbc1d</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 47899
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 47899
</pre>
</div>
</content>
</entry>
<entry>
<title>ralink: remove stray "+" from ethernet driver</title>
<updated>2015-12-12T06:42:17+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-12-12T06:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=9e5044926b3344344c8390db03be22836277f967'/>
<id>9e5044926b3344344c8390db03be22836277f967</id>
<content type='text'>
this is what you get if you manually apply patches with c&amp;p

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 47877
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is what you get if you manually apply patches with c&amp;p

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 47877
</pre>
</div>
</content>
</entry>
<entry>
<title>ralink: bump to the target to v4.3</title>
<updated>2015-12-10T19:06:32+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-12-10T19:06:32+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=6df4426245be87148d6aa75859951cb6351eb24c'/>
<id>6df4426245be87148d6aa75859951cb6351eb24c</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 47831
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 47831
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: fix for kernel 4.0 napi repoll need return budgets number</title>
<updated>2015-10-30T22:32:49+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-10-30T22:32:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b100027a8373c959f10b5fad4a71e06077a1bfd3'/>
<id>b100027a8373c959f10b5fad4a71e06077a1bfd3</id>
<content type='text'>
Signed-off-by: Michael Lee &lt;igvtee@gmail.com&gt;

SVN-Revision: 47306
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Lee &lt;igvtee@gmail.com&gt;

SVN-Revision: 47306
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Enable rx of 1536 bytes ethernet frames on MT7621</title>
<updated>2015-10-05T10:26:34+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-10-05T10:26:34+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=aecac14cc42d2759822cb8da477ef18288342e87'/>
<id>aecac14cc42d2759822cb8da477ef18288342e87</id>
<content type='text'>
The default switch frame size (with FCS + header) is 1536 bytes. But the
GMAC only accepted frames up to 1522 bytes. Setting it to 1536 allows to
receive ethernet frames using the full of MTU 1500 + an extra VLAN header +
VLAN header added by the switch.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47117
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default switch frame size (with FCS + header) is 1536 bytes. But the
GMAC only accepted frames up to 1522 bytes. Setting it to 1536 allows to
receive ethernet frames using the full of MTU 1500 + an extra VLAN header +
VLAN header added by the switch.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47117
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Fix too small rx buffer</title>
<updated>2015-10-05T10:26:28+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-10-05T10:26:28+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7b306e3eb3a2072c68306ea27922f0bf5e0515d0'/>
<id>7b306e3eb3a2072c68306ea27922f0bf5e0515d0</id>
<content type='text'>
The driver assumes that the maximum received buffer for non-jumbo frames is
1536 bytes. But the allocation of the rx fragment doesn't reflect that. It
currently allocates fragments which will only be large enough to be used as
rx buffer with the size of 1534 bytes. This is problematic because the GMAC
will now try to write to 2 bytes which don't belong to its receive buffer
when a large enough ethernet frame is received.

This may already be a problem on existing chips but will at least become a
problem when the 1536 byte rx modus is enabled on MT7621a. It is required
on this SoC to receive ethernet frames which use their full 1500 bytes MTU
and a VLAN header next to the switch VLAN tag.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47116
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The driver assumes that the maximum received buffer for non-jumbo frames is
1536 bytes. But the allocation of the rx fragment doesn't reflect that. It
currently allocates fragments which will only be large enough to be used as
rx buffer with the size of 1534 bytes. This is problematic because the GMAC
will now try to write to 2 bytes which don't belong to its receive buffer
when a large enough ethernet frame is received.

This may already be a problem on existing chips but will at least become a
problem when the 1536 byte rx modus is enabled on MT7621a. It is required
on this SoC to receive ethernet frames which use their full 1500 bytes MTU
and a VLAN header next to the switch VLAN tag.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47116
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Fix setting of rx buffer length</title>
<updated>2015-10-05T10:26:21+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-10-05T10:26:21+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=6b4985b105d39ca22bc2de9da6889157cdac97a8'/>
<id>6b4985b105d39ca22bc2de9da6889157cdac97a8</id>
<content type='text'>
The length of the DMA rx buffer was always set to 0 because the function
for extracting the length was used to calculate the value for setting it.
Instead the macro has to be split in a get and set function similar to the
TX_DMA_(GET_|)PLEN(0|1) macro.

No problem was noticed on MT7621a before this was changed and thus maybe it
was hidden by different problem which is not yet fixed.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47115
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The length of the DMA rx buffer was always set to 0 because the function
for extracting the length was used to calculate the value for setting it.
Instead the macro has to be split in a get and set function similar to the
TX_DMA_(GET_|)PLEN(0|1) macro.

No problem was noticed on MT7621a before this was changed and thus maybe it
was hidden by different problem which is not yet fixed.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47115
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: Allow to receive vlan over untag ports on MT7530</title>
<updated>2015-10-05T10:26:09+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-10-05T10:26:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1aab21df9f92194f78cd5864974f5c81d426e479'/>
<id>1aab21df9f92194f78cd5864974f5c81d426e479</id>
<content type='text'>
The MT7530 switch driver with enable_vlan set will automatically set all
ports to the user port mode. The hardware will remove the incoming vlan tag
on these ports and use it for its internal vlan. This is usually not wanted
and makes it impossible to communicate via vlan over the switch in both
directions.

It is possible to configure a switch port to "transparent mode" when this
port is only used as untag in the switch VLANs. This will disable the VLAN
untagging of packets when they were received on this port. The tagging on
"tag" ports based on the vlan id is still working.

The transparent port mode cannot be used when a port is both used in a VLAN
as "tag" and in another one as "untag" port.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47114
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The MT7530 switch driver with enable_vlan set will automatically set all
ports to the user port mode. The hardware will remove the incoming vlan tag
on these ports and use it for its internal vlan. This is usually not wanted
and makes it impossible to communicate via vlan over the switch in both
directions.

It is possible to configure a switch port to "transparent mode" when this
port is only used as untag in the switch VLANs. This will disable the VLAN
untagging of packets when they were received on this port. The tagging on
"tag" ports based on the vlan id is still working.

The transparent port mode cannot be used when a port is both used in a VLAN
as "tag" and in another one as "untag" port.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47114
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: collect rx related members to fe_rx_ring struct</title>
<updated>2015-07-10T19:41:48+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-07-10T19:41:48+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1e6479aa873a42c2afbb68762383011623650dab'/>
<id>1e6479aa873a42c2afbb68762383011623650dab</id>
<content type='text'>
Signed-off-by: michael lee &lt;igvtee@gmail.com&gt;

SVN-Revision: 46295
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: michael lee &lt;igvtee@gmail.com&gt;

SVN-Revision: 46295
</pre>
</div>
</content>
</entry>
<entry>
<title>ramips: add xmit_more support</title>
<updated>2015-07-10T19:41:42+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-07-10T19:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=279be7be09454bf55d6e9e9d696f10ca6b6d81d3'/>
<id>279be7be09454bf55d6e9e9d696f10ca6b6d81d3</id>
<content type='text'>
use pktgen to verify on rt3662. can improve transmit rate.
pkt_size 1500
burst 1 : 807Mb/sec
burst 8 : 984Mb/sec

pkt_size 60
burst 1 : 57Mb/sec
burst 8 : 236Mb/sec

Signed-off-by: michael lee &lt;igvtee@gmail.com&gt;

SVN-Revision: 46294
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use pktgen to verify on rt3662. can improve transmit rate.
pkt_size 1500
burst 1 : 807Mb/sec
burst 8 : 984Mb/sec

pkt_size 60
burst 1 : 57Mb/sec
burst 8 : 236Mb/sec

Signed-off-by: michael lee &lt;igvtee@gmail.com&gt;

SVN-Revision: 46294
</pre>
</div>
</content>
</entry>
</feed>
