<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtl819xx/target/linux/cns3xxx/files/drivers, branch master</title>
<subtitle>Realtek rtl819xx port to OpenWrt</subtitle>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/'/>
<entry>
<title>cns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce memory pressure</title>
<updated>2013-03-11T02:29:53+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-11T02:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=ef31efe3528be08339430503d1502698b7a397eb'/>
<id>ef31efe3528be08339430503d1502698b7a397eb</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35953 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35953 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: ethernet - clean the tx ring only in the poll function, not in the xmit handler</title>
<updated>2013-03-11T02:29:47+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-11T02:29:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=9c312dc5a352a863bac6f5db68b14d28592d00e4'/>
<id>9c312dc5a352a863bac6f5db68b14d28592d00e4</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35952 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35952 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: increase number of ethernet driver rx buffers</title>
<updated>2013-03-10T21:59:32+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-10T21:59:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=48241e4c1d7ec0391b185023102e7a4b1ca26a6a'/>
<id>48241e4c1d7ec0391b185023102e7a4b1ca26a6a</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35951 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35951 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: prevent the ethernet driver from accessing uninitialized dma descriptor entries</title>
<updated>2013-03-10T21:59:28+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-10T21:59:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=9f2ecab7f43f9078d1136582524629551427c8dd'/>
<id>9f2ecab7f43f9078d1136582524629551427c8dd</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35950 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35950 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: minor ethernet driver cleanup</title>
<updated>2013-03-10T21:59:21+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-10T21:59:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=fb95b3dfd59d8bfef78d66b34083cab2c489ba2c'/>
<id>fb95b3dfd59d8bfef78d66b34083cab2c489ba2c</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35949 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35949 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers</title>
<updated>2013-03-10T18:25:20+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-10T18:25:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=4ee7264df852b9ecd12b47b46633f3a1ad748c37'/>
<id>4ee7264df852b9ecd12b47b46633f3a1ad748c37</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35943 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35943 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: fix an rx irq handling corner case</title>
<updated>2013-03-10T18:25:16+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-10T18:25:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=7b0d07de1c30c5f8f4030c296717c9f86872b190'/>
<id>7b0d07de1c30c5f8f4030c296717c9f86872b190</id>
<content type='text'>
When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35942 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35942 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: fix ethernet driver memory barrier usage</title>
<updated>2013-03-10T18:25:11+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-10T18:25:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=c4cdde2483e667146a76fe3e743f82cafb5c3567'/>
<id>c4cdde2483e667146a76fe3e743f82cafb5c3567</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35941 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35941 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: reduce buffer allocation size to 2048 bytes, improves ethernet performance</title>
<updated>2013-03-10T01:27:04+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-10T01:27:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=e11a3920f8142beba11cb7fe8557f376842edaa7'/>
<id>e11a3920f8142beba11cb7fe8557f376842edaa7</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35917 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35917 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>cns3xxx: add linux 3.8 support and use it by default</title>
<updated>2013-03-09T18:51:46+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-09T18:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=fc74ddd9808689a2ecfc39ec6b04d2fb8cf4aa8e'/>
<id>fc74ddd9808689a2ecfc39ec6b04d2fb8cf4aa8e</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
</feed>
