<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/benet, branch v3.0</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>be2net: hash key for rss-config cmd not set</title>
<updated>2011-05-24T17:33:45+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathya.perla@emulex.com</email>
</author>
<published>2011-05-23T20:29:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=5d8bee676fc9fc9389302baa9ba47bc2ed885f64'/>
<id>5d8bee676fc9fc9389302baa9ba47bc2ed885f64</id>
<content type='text'>
A non-zero, non-descript value is needed as the hash key. The hash variable was left un-initialized; but sometimes it gets a zero value
and hashing is not effective. The constant value used now (not of any significance) seems to work fine.

Signed-off-by: Sathya Perla &lt;sathya.perla@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A non-zero, non-descript value is needed as the hash key. The hash variable was left un-initialized; but sometimes it gets a zero value
and hashing is not effective. The constant value used now (not of any significance) seems to work fine.

Signed-off-by: Sathya Perla &lt;sathya.perla@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add appropriate &lt;linux/prefetch.h&gt; include for prefetch users</title>
<updated>2011-05-23T04:41:57+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-05-22T20:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=70c71606190e9115e5f8363bfcd164c582eb314a'/>
<id>70c71606190e9115e5f8363bfcd164c582eb314a</id>
<content type='text'>
After discovering that wide use of prefetch on modern CPUs
could be a net loss instead of a win, net drivers which were
relying on the implicit inclusion of prefetch.h via the list
headers showed up in the resulting cleanup fallout.  Give
them an explicit include via the following $0.02 script.

 =========================================
 #!/bin/bash
 MANUAL=""
 for i in `git grep -l 'prefetch(.*)' .` ; do
 	grep -q '&lt;linux/prefetch.h&gt;' $i
 	if [ $? = 0 ] ; then
 		continue
 	fi

 	(	echo '?^#include &lt;linux/?a'
 		echo '#include &lt;linux/prefetch.h&gt;'
 		echo .
 		echo w
 		echo q
 	) | ed -s $i &gt; /dev/null 2&gt;&amp;1
 	if [ $? != 0 ]; then
 		echo $i needs manual fixup
 		MANUAL="$i $MANUAL"
 	fi
 done
 echo ------------------- 8\&lt;----------------------
 echo vi $MANUAL
 =========================================

Signed-off-by: Paul &lt;paul.gortmaker@windriver.com&gt;
[ Fixed up some incorrect #include placements, and added some
  non-network drivers and the fib_trie.c case    - Linus ]
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After discovering that wide use of prefetch on modern CPUs
could be a net loss instead of a win, net drivers which were
relying on the implicit inclusion of prefetch.h via the list
headers showed up in the resulting cleanup fallout.  Give
them an explicit include via the following $0.02 script.

 =========================================
 #!/bin/bash
 MANUAL=""
 for i in `git grep -l 'prefetch(.*)' .` ; do
 	grep -q '&lt;linux/prefetch.h&gt;' $i
 	if [ $? = 0 ] ; then
 		continue
 	fi

 	(	echo '?^#include &lt;linux/?a'
 		echo '#include &lt;linux/prefetch.h&gt;'
 		echo .
 		echo w
 		echo q
 	) | ed -s $i &gt; /dev/null 2&gt;&amp;1
 	if [ $? != 0 ]; then
 		echo $i needs manual fixup
 		MANUAL="$i $MANUAL"
 	fi
 done
 echo ------------------- 8\&lt;----------------------
 echo vi $MANUAL
 =========================================

Signed-off-by: Paul &lt;paul.gortmaker@windriver.com&gt;
[ Fixed up some incorrect #include placements, and added some
  non-network drivers and the fib_trie.c case    - Linus ]
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Kill set but unused variable 'req' in lancer_fw_download()</title>
<updated>2011-05-19T22:49:54+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-05-19T22:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=63722966d703aeb8071d52172de87e377006cd28'/>
<id>63722966d703aeb8071d52172de87e377006cd28</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Enable SR-IOV for Lancer</title>
<updated>2011-05-18T21:30:56+00:00</updated>
<author>
<name>Mammatha Edhala</name>
<email>mammatha.edhala@emulex.com</email>
</author>
<published>2011-05-18T03:26:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=12f4d0a8770ab26639091d0b2509b19681daad69'/>
<id>12f4d0a8770ab26639091d0b2509b19681daad69</id>
<content type='text'>
Enable SR-IOV for Lancer

Signed-off-by: Mammatha Edhala &lt;mammatha.edhala@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable SR-IOV for Lancer

Signed-off-by: Mammatha Edhala &lt;mammatha.edhala@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: FW download for Lancer</title>
<updated>2011-05-16T18:13:53+00:00</updated>
<author>
<name>Shripad Nunjundarao</name>
<email>shripad.nunjundarao@emulex.com</email>
</author>
<published>2011-05-16T07:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=485bf569ba798b4702bc2efbfd3a355fe2c8db04'/>
<id>485bf569ba798b4702bc2efbfd3a355fe2c8db04</id>
<content type='text'>
Added implementation of FW download feature for Lancer.

Signed-off-by: Shripad Nunjundarao &lt;shripad.nunjundarao@emulex.com&gt;
Signed-off-by: Sevin Xavier &lt;selvin.xavier@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added implementation of FW download feature for Lancer.

Signed-off-by: Shripad Nunjundarao &lt;shripad.nunjundarao@emulex.com&gt;
Signed-off-by: Sevin Xavier &lt;selvin.xavier@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Stats for Lancer</title>
<updated>2011-05-16T18:13:53+00:00</updated>
<author>
<name>Selvin Xavier</name>
<email>selvin.xavier@emulex.com</email>
</author>
<published>2011-05-16T07:36:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=005d569600b404cae0b356e3c4085290ecc17775'/>
<id>005d569600b404cae0b356e3c4085290ecc17775</id>
<content type='text'>
Added Lancer stats implementation.

Signed-off-by: Selvin Xavier &lt;selvin.xavier@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added Lancer stats implementation.

Signed-off-by: Selvin Xavier &lt;selvin.xavier@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Support for version 1 of stats for BE3</title>
<updated>2011-05-16T18:13:52+00:00</updated>
<author>
<name>Ajit Khaparde</name>
<email>ajit.khaparde@emulex.com</email>
</author>
<published>2011-05-16T07:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=89a88ab84b946a90839fb66ca3583a2504c11292'/>
<id>89a88ab84b946a90839fb66ca3583a2504c11292</id>
<content type='text'>
Added support to get version 1 of the stats for BE3.
Use old stats command for BE2.

Signed-off-by: Ajit Khaparde &lt;ajit.khaparde@emulex.com&gt;
Signed-off-by: Selvin Xavier &lt;selvin.xavier@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support to get version 1 of the stats for BE3.
Use old stats command for BE2.

Signed-off-by: Ajit Khaparde &lt;ajit.khaparde@emulex.com&gt;
Signed-off-by: Selvin Xavier &lt;selvin.xavier@emulex.com&gt;
Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: fix mbox polling for signal reception</title>
<updated>2011-05-13T18:41:35+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathya.perla@emulex.com</email>
</author>
<published>2011-05-12T19:32:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1dbf53a28262aa89ecbe653e8a9127c0baef9bc4'/>
<id>1dbf53a28262aa89ecbe653e8a9127c0baef9bc4</id>
<content type='text'>
Sending mbox cmds require multiple steps of writing to the DB register and polling
for an ack. Gettting interrupted in the middle by a signal breaks the mbox protocol.
Use msleep() to not get interrupted.

Signed-off-by: Sathya Perla &lt;sathya.perla@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sending mbox cmds require multiple steps of writing to the DB register and polling
for an ack. Gettting interrupted in the middle by a signal breaks the mbox protocol.
Use msleep() to not get interrupted.

Signed-off-by: Sathya Perla &lt;sathya.perla@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: handle signal reception while waiting for POST</title>
<updated>2011-05-13T18:41:34+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathya.perla@emulex.com</email>
</author>
<published>2011-05-12T19:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6ed35eea3b96977d76d61b5862a3209044cb4b1f'/>
<id>6ed35eea3b96977d76d61b5862a3209044cb4b1f</id>
<content type='text'>
If waiting on POST returns prematurely (due to a signal), abort polling and return an error.

Signed-off-by: Sathya Perla &lt;sathya.perla@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If waiting on POST returns prematurely (due to a signal), abort polling and return an error.

Signed-off-by: Sathya Perla &lt;sathya.perla@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Fix to prevent flooding of TX queue</title>
<updated>2011-05-11T23:10:03+00:00</updated>
<author>
<name>Padmanabh Ratnakar</name>
<email>padmanabh.ratnakar@emulex.com</email>
</author>
<published>2011-05-10T05:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4d586b823acc46c55c889ae1798de236c9d403da'/>
<id>4d586b823acc46c55c889ae1798de236c9d403da</id>
<content type='text'>
Start/stop TX queue is controlled by TX queue "used" counter.
It is incremented while WRBs are posted to TX queue and
decremented when TX completions are received. This counter was
getting decremented before HW is informed about processing of TX
completions. As used counter is decremented, transmit function
posts new WRBs and creates completion queue full scenario in HW.

Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Start/stop TX queue is controlled by TX queue "used" counter.
It is incremented while WRBs are posted to TX queue and
decremented when TX completions are received. This counter was
getting decremented before HW is informed about processing of TX
completions. As used counter is decremented, transmit function
posts new WRBs and creates completion queue full scenario in HW.

Signed-off-by: Padmanabh Ratnakar &lt;padmanabh.ratnakar@emulex.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
