<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/vxge, branch v2.6.32</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>trivial: remove unnecessary semicolons</title>
<updated>2009-09-21T13:14:58+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2009-08-18T18:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a419aef8b858a2bdb98df60336063d28df4b272f'/>
<id>a419aef8b858a2bdb98df60336063d28df4b272f</id>
<content type='text'>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: Kill now superfluous -&gt;last_rx stores</title>
<updated>2009-09-03T06:07:36+00:00</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2009-08-31T06:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=451f14439847db302e5104c44458b2dbb4b1829d'/>
<id>451f14439847db302e5104c44458b2dbb4b1829d</id>
<content type='text'>
The generic packet receive code takes care of setting
netdev-&gt;last_rx when necessary, for the sake of the
bonding ARP monitor.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Acked-by: Neil Horman &lt;nhorman@txudriver.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>
The generic packet receive code takes care of setting
netdev-&gt;last_rx when necessary, for the sake of the
bonding ARP monitor.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Acked-by: Neil Horman &lt;nhorman@txudriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdev: convert bulk of drivers to netdev_tx_t</title>
<updated>2009-09-01T08:14:07+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2009-08-31T19:50:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=61357325f377889a1daffa14962d705dc814dd0e'/>
<id>61357325f377889a1daffa14962d705dc814dd0e</id>
<content type='text'>
In a couple of cases collapse some extra code like:
   int retval = NETDEV_TX_OK;
   ...
   return retval;
into
   return NETDEV_TX_OK;

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.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 a couple of cases collapse some extra code like:
   int retval = NETDEV_TX_OK;
   ...
   return retval;
into
   return NETDEV_TX_OK;

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxge: Version update</title>
<updated>2009-08-05T20:10:46+00:00</updated>
<author>
<name>Benjamin LaHaise</name>
<email>ben.lahaise@neterion.com</email>
</author>
<published>2009-08-04T10:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cc104e52b4f61dbfe1a815f775ffb2fbbb4b785d'/>
<id>cc104e52b4f61dbfe1a815f775ffb2fbbb4b785d</id>
<content type='text'>
Update the driver version number for any bug reports from end users.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.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>
Update the driver version number for any bug reports from end users.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxge: prefetch skb-&gt;data</title>
<updated>2009-08-05T20:10:45+00:00</updated>
<author>
<name>Benjamin LaHaise</name>
<email>ben.lahaise@neterion.com</email>
</author>
<published>2009-08-04T10:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ea11bbe0c94b045fdefc05476b69a2eef999a9c4'/>
<id>ea11bbe0c94b045fdefc05476b69a2eef999a9c4</id>
<content type='text'>
This patch implements prefetching of skb-&gt;data from a copy of the pointer
in the descriptor (which is already in the L1 cache at this point).  This
improves netperf rx performance (netperf -L 0,0 -c -H 192.168.254.2 -- -M
131072 -m 131072) by 4.9% on a P4 Xeon host.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.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 implements prefetching of skb-&gt;data from a copy of the pointer
in the descriptor (which is already in the L1 cache at this point).  This
improves netperf rx performance (netperf -L 0,0 -c -H 192.168.254.2 -- -M
131072 -m 131072) by 4.9% on a P4 Xeon host.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxge: prefetch RxD descriptors</title>
<updated>2009-08-05T20:10:45+00:00</updated>
<author>
<name>Benjamin LaHaise</name>
<email>ben.lahaise@neterion.com</email>
</author>
<published>2009-08-04T10:21:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3f23e436d241ac1cf50a659228a5a0e1e6572c1a'/>
<id>3f23e436d241ac1cf50a659228a5a0e1e6572c1a</id>
<content type='text'>
This patch prefetches RxD descriptors which helps to lower the latency of a
cache miss in vxge_hw_ring_rxd_next_completed.  This lowers the % of CPU
time used by vxge_hw_ring_rxd_next_completed() where the descriptor is
accessed in profiling netperf on a P4 Xeon from 1.5% to 1.0%.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.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 prefetches RxD descriptors which helps to lower the latency of a
cache miss in vxge_hw_ring_rxd_next_completed.  This lowers the % of CPU
time used by vxge_hw_ring_rxd_next_completed() where the descriptor is
accessed in profiling netperf on a P4 Xeon from 1.5% to 1.0%.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxge: improve tx performance by using mmiowb() instead of wmb()</title>
<updated>2009-08-05T20:10:44+00:00</updated>
<author>
<name>Benjamin LaHaise</name>
<email>ben.lahaise@neterion.com</email>
</author>
<published>2009-08-04T10:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ff1b974cf30b282f90993ab658e59b73c152c0b8'/>
<id>ff1b974cf30b282f90993ab658e59b73c152c0b8</id>
<content type='text'>
wmb() is extremely heavy on x86.  The semantics required in the driver are
provided by mmiowb(), so use that and improve tx performance on P4 Xeons by
5-10%.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.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>
wmb() is extremely heavy on x86.  The semantics required in the driver are
provided by mmiowb(), so use that and improve tx performance on P4 Xeons by
5-10%.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxge: fix pktgen hangs (don't abuse skb-&gt;cb[])</title>
<updated>2009-08-05T20:10:43+00:00</updated>
<author>
<name>Benjamin LaHaise</name>
<email>ben.lahaise@neterion.com</email>
</author>
<published>2009-08-04T10:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ff67df55f6bde9de5e508bf1f09509c843accd54'/>
<id>ff67df55f6bde9de5e508bf1f09509c843accd54</id>
<content type='text'>
This patch fixes a case in the transmit completion code which was resulting
in pktgen hanging at the end of a run.  The cause is due to the fact that
the -&gt;cb[] area of an skb cannot be used in a network driver's transmit
path, as that area belongs to the network protocol.  Pktgen hangs, as it
sends out the same packet multiple times, and vxge's use of this area of
the skb for a temporary list can only add the packet to the temporary list
once (while it may be on the queue many times).  The fix is to remove this
abuse of skb-&gt;cb[].  Instead, skb pointers are placed into a temporary
stack array, and then free outside of the tx lock.  This retains the smp
optimization of doing dev_kfree_skb() outside of the tx lock.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.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 case in the transmit completion code which was resulting
in pktgen hanging at the end of a run.  The cause is due to the fact that
the -&gt;cb[] area of an skb cannot be used in a network driver's transmit
path, as that area belongs to the network protocol.  Pktgen hangs, as it
sends out the same packet multiple times, and vxge's use of this area of
the skb for a temporary list can only add the packet to the temporary list
once (while it may be on the queue many times).  The fix is to remove this
abuse of skb-&gt;cb[].  Instead, skb pointers are placed into a temporary
stack array, and then free outside of the tx lock.  This retains the smp
optimization of doing dev_kfree_skb() outside of the tx lock.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxge: don't drop frame on tx queue full</title>
<updated>2009-08-05T20:10:43+00:00</updated>
<author>
<name>Benjamin LaHaise</name>
<email>ben.lahaise@neterion.com</email>
</author>
<published>2009-08-04T10:20:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4403b371888d5947ed08200ee6351441a188a5c7'/>
<id>4403b371888d5947ed08200ee6351441a188a5c7</id>
<content type='text'>
The vxge driver will drop a packet in its transmit function if the number
of TxDs available hits 0.  Instead of doing that, simply stop the transmit
queue when transmitting a packet with the last available TxD.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.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>
The vxge driver will drop a packet in its transmit function if the number
of TxDs available hits 0.  Instead of doing that, simply stop the transmit
queue when transmitting a packet with the last available TxD.

Signed-off-by: Benjamin LaHaise &lt;ben.lahaise@neterion.com&gt;
Signed-off-by: Sreenivasa Honnur &lt;sreenivasa.honnur@neterion.com&gt;
Signed-off-by: Ramkrishna Vepa &lt;ram.vepa@neterion.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vxge: return PCI_ERS_RESULT_DISCONNECT on permanent failure</title>
<updated>2009-08-02T06:12:12+00:00</updated>
<author>
<name>Dean Nelson</name>
<email>dnelson@redhat.com</email>
</author>
<published>2009-07-31T09:14:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e33b992d1504f21a8c2173245aeca4fc2ad632ab'/>
<id>e33b992d1504f21a8c2173245aeca4fc2ad632ab</id>
<content type='text'>
PCI drivers that implement the struct pci_error_handlers' error_detected
callback should return PCI_ERS_RESULT_DISCONNECT if the state passed in is
pci_channel_io_perm_failure. This patch fixes the issue for vxge.

Signed-off-by: Dean Nelson &lt;dnelson@redhat.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>
PCI drivers that implement the struct pci_error_handlers' error_detected
callback should return PCI_ERS_RESULT_DISCONNECT if the state passed in is
pci_channel_io_perm_failure. This patch fixes the issue for vxge.

Signed-off-by: Dean Nelson &lt;dnelson@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
