<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/benet, branch v2.6.31</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>be2net: Bug fix in the non-lro path. Size of received packet was not updated in statistics properly.</title>
<updated>2009-07-22T16:28:55+00:00</updated>
<author>
<name>Ajit Khaparde</name>
<email>ajitk@serverengines.com</email>
</author>
<published>2009-07-22T16:28:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=fa77406aee9d33f35c7202dcd83436feb12d9fc3'/>
<id>fa77406aee9d33f35c7202dcd83436feb12d9fc3</id>
<content type='text'>
This patch fixes a bug in the non-lro path.  Wrong size of received
packet was being passed for updating receive statistics.  This patch
is against the net-2.6 git.

Signed-off-by: Ajit Khaparde &lt;ajitk@serverengines.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>
This patch fixes a bug in the non-lro path.  Wrong size of received
packet was being passed for updating receive statistics.  This patch
is against the net-2.6 git.

Signed-off-by: Ajit Khaparde &lt;ajitk@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: fix spurious interrupt handling in intx mode</title>
<updated>2009-07-04T03:09:45+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-07-01T01:06:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c001c213b109c8baeeb6d012b422bf059b18368f'/>
<id>c001c213b109c8baeeb6d012b422bf059b18368f</id>
<content type='text'>
Occasionally we may see an interrupt without an event in the eq.
In intx, we currently see the event queue and return IRQ_NONE causing
a the irq to be disabled ("no one cared".) Instead, read the CEV_ISR
reg to check the existence of the interrupt.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
Occasionally we may see an interrupt without an event in the eq.
In intx, we currently see the event queue and return IRQ_NONE causing
a the irq to be disabled ("no one cared".) Instead, read the CEV_ISR
reg to check the existence of the interrupt.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Fix to avoid a crash seen on PPC with LRO and Jumbo frames.</title>
<updated>2009-06-29T00:34:25+00:00</updated>
<author>
<name>Ajit Khaparde</name>
<email>ajitk@serverengines.com</email>
</author>
<published>2009-06-26T02:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bd46cb6cf11867130a41ea9546dd65688b71f3c2'/>
<id>bd46cb6cf11867130a41ea9546dd65688b71f3c2</id>
<content type='text'>
While testing the driver on PPC, we ran into a crash with LRO, Jumbo frames.
With CONFIG_PPC_64K_PAGES configured (a default in PPC), MAX_SKB_FRAGS drops to 3 and we were crossing the array limits on skb_shinfo(skb)-&gt;frags[].
Now we coalesce the frags from the same physical page into one slot in
skb_shinfo(skb)-&gt;frags[] and go to the next index when the frag is from

different physical page.

This patch is against the net-2.6 tree.

Signed-off-by: Ajit Khaparde &lt;ajitk@serverengines.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>
While testing the driver on PPC, we ran into a crash with LRO, Jumbo frames.
With CONFIG_PPC_64K_PAGES configured (a default in PPC), MAX_SKB_FRAGS drops to 3 and we were crossing the array limits on skb_shinfo(skb)-&gt;frags[].
Now we coalesce the frags from the same physical page into one slot in
skb_shinfo(skb)-&gt;frags[] and go to the next index when the frag is from

different physical page.

This patch is against the net-2.6 tree.

Signed-off-by: Ajit Khaparde &lt;ajitk@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: receive asynchronous link status notifications from BE</title>
<updated>2009-06-19T07:18:42+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-06-18T00:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a8f447bda3ee00e3a3ab080c48db40078ea65221'/>
<id>a8f447bda3ee00e3a3ab080c48db40078ea65221</id>
<content type='text'>
Rcv and process ansync link status notifications from BE instead of polling
 for link status in the be_worker thread.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
Rcv and process ansync link status notifications from BE instead of polling
 for link status in the be_worker thread.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: cleanup multicast_set cmd to avoid mc_list copy</title>
<updated>2009-06-19T07:18:41+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-06-18T00:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=24307eef74bd38e3fc6a6df8f8a1bfc48967f9f6'/>
<id>24307eef74bd38e3fc6a6df8f8a1bfc48967f9f6</id>
<content type='text'>
Cleanup multicast_set method to avoid an extra copy of mc_list
 and unwanted promiscuos sets to BE.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
Cleanup multicast_set method to avoid an extra copy of mc_list
 and unwanted promiscuos sets to BE.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Use MCC queue for cmds that may be called in BH context</title>
<updated>2009-06-19T07:18:40+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-06-18T00:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6ac7b687cb3acc437a586794949a43f5249956bb'/>
<id>6ac7b687cb3acc437a586794949a43f5249956bb</id>
<content type='text'>
Currenlty multicast_set and promiscuous_config cmds -- that may be called in BH context --
use the blocking MCC mbox to post cmds.
An mbox cmd is protected via a spin_lock(cmd_lock) and not spin_lock_bh() as it is undesirable
to disable BHs while a blocking mbox cmd is in progress (and take long to finish.)
This can lockup a cmd in progress in process context.
So, these two cmds in BH context must use the MCC queue to post cmds.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
Currenlty multicast_set and promiscuous_config cmds -- that may be called in BH context --
use the blocking MCC mbox to post cmds.
An mbox cmd is protected via a spin_lock(cmd_lock) and not spin_lock_bh() as it is undesirable
to disable BHs while a blocking mbox cmd is in progress (and take long to finish.)
This can lockup a cmd in progress in process context.
So, these two cmds in BH context must use the MCC queue to post cmds.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Add MCC queue mechanism for BE cmds</title>
<updated>2009-06-19T07:18:39+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-06-18T00:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5fb379ee67a7ec55ff65b467b472f3d69b60ba16'/>
<id>5fb379ee67a7ec55ff65b467b472f3d69b60ba16</id>
<content type='text'>
Currenlty all cmds use the blocking MCC mbox to post cmds. An mbox cmd is protected
via a spin_lock(cmd_lock) and not spin_lock_bh() as it is undesirable
to disable BHs while a blocking mbox cmd is in progress (and take long to finish.)
This can lockup a cmd in progress in process context. Instead cmds that may be
called in BH context must use the MCC queue to post cmds. The cmd completions
are rcvd in a separate completion queue and the events are placed in the tx-event
queue.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
Currenlty all cmds use the blocking MCC mbox to post cmds. An mbox cmd is protected
via a spin_lock(cmd_lock) and not spin_lock_bh() as it is undesirable
to disable BHs while a blocking mbox cmd is in progress (and take long to finish.)
This can lockup a cmd in progress in process context. Instead cmds that may be
called in BH context must use the MCC queue to post cmds. The cmd completions
are rcvd in a separate completion queue and the events are placed in the tx-event
queue.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Fix be_tx_q_clean() being called on freed queues</title>
<updated>2009-06-11T09:47:19+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-06-10T02:23:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=934037bc2ed29a94bbde72aa6a2e66bdc5861b98'/>
<id>934037bc2ed29a94bbde72aa6a2e66bdc5861b98</id>
<content type='text'>
In the tx queue destroy path, be_tx_q_clean() is currently called after the tx queues are freed; it must be called before.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
In the tx queue destroy path, be_tx_q_clean() is currently called after the tx queues are freed; it must be called before.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Fix early reset of rx-completion</title>
<updated>2009-06-11T09:47:18+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-06-10T02:23:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a7a0ef31def6b6badd94fc96c8f17c2e18d91513'/>
<id>a7a0ef31def6b6badd94fc96c8f17c2e18d91513</id>
<content type='text'>
be_rx_compl_get() must not reset(via the valid word) the rx_compl as the rx_compl is not processed yet; it must be reset after it is processed.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
be_rx_compl_get() must not reset(via the valid word) the rx_compl as the rx_compl is not processed yet; it must be reset after it is processed.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>be2net: Fix rx stats updation in non-lro path</title>
<updated>2009-06-11T09:47:16+00:00</updated>
<author>
<name>Sathya Perla</name>
<email>sathyap@serverengines.com</email>
</author>
<published>2009-06-10T02:21:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=76fbb42919396b9bf68c9a03ceb037c971a02e2f'/>
<id>76fbb42919396b9bf68c9a03ceb037c971a02e2f</id>
<content type='text'>
rx stats are not getting updated when an rx_compl with only one frag is rcvd in non-lro path.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.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>
rx stats are not getting updated when an rx_compl with only one frag is rcvd in non-lro path.

Signed-off-by: Sathya Perla &lt;sathyap@serverengines.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
