<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/calxeda, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-02-14T18:48:09Z</updated>
<entry>
<title>net: calxedaxgmac: throw away overrun frames</title>
<updated>2013-02-14T18:48:09Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2013-01-16T13:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=665dbf232cda5132238a4c525f8ab62d65fa0cf9'/>
<id>urn:sha1:665dbf232cda5132238a4c525f8ab62d65fa0cf9</id>
<content type='text'>
[ Upstream commit d6fb3be544b46a7611a3373fcaa62b5b0be01888 ]

The xgmac driver assumes 1 frame per descriptor. If a frame larger than
the descriptor's buffer size is received, the frame will spill over into
the next descriptor. So check for received frames that span more than one
descriptor and discard them. This prevents a crash if we receive erroneous
large packets.

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>net: remove skb recycling</title>
<updated>2012-10-07T04:40:54Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2012-10-05T06:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=acb600def2110b1310466c0e485c0d26299898ae'/>
<id>urn:sha1:acb600def2110b1310466c0e485c0d26299898ae</id>
<content type='text'>
Over time, skb recycling infrastructure got litle interest and
many bugs. Generic rx path skb allocation is now using page
fragments for efficient GRO / TCP coalescing, and recyling
a tx skb for rx path is not worth the pain.

Last identified bug is that fat skbs can be recycled
and it can endup using high order pages after few iterations.

With help from Maxime Bizon, who pointed out that commit
87151b8689d (net: allow pskb_expand_head() to get maximum tailroom)
introduced this regression for recycled skbs.

Instead of fixing this bug, lets remove skb recycling.

Drivers wanting really hot skbs should use build_skb() anyway,
to allocate/populate sk_buff right before netif_receive_skb()

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Cc: Maxime Bizon &lt;mbizon@freebox.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: calxedaxgmac: enable rx cut-thru mode</title>
<updated>2012-07-11T06:25:47Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2012-07-09T14:16:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f62a23a7cb601fb30c4a8b8a5ba1c6bb7f5148b3'/>
<id>urn:sha1:f62a23a7cb601fb30c4a8b8a5ba1c6bb7f5148b3</id>
<content type='text'>
Enabling RX cut-thru mode yields better performance as received frames
start getting written to memory before a whole frame is received.

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: calxedaxgmac: set outstanding AXI bus transactions to 8</title>
<updated>2012-07-11T06:25:47Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2012-07-09T14:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e36ce6eb2ba35b0b7335aef12731a96af9531055'/>
<id>urn:sha1:e36ce6eb2ba35b0b7335aef12731a96af9531055</id>
<content type='text'>
Increase the number of outstanding read and write AXI transactions from 1
to 8 for better performance.

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: calxedaxgmac: fix hang on rx refill</title>
<updated>2012-07-11T06:25:47Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2012-07-09T14:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c4009192ea2276c1d7ed8ec0a18f3ecfca5cd2b'/>
<id>urn:sha1:7c4009192ea2276c1d7ed8ec0a18f3ecfca5cd2b</id>
<content type='text'>
Fix intermittent hangs in xgmac_rx_refill. If a ring buffer entry already
had an skb allocated, then xgmac_rx_refill would get stuck in a loop. This
can happen on a rx error when we just leave the skb allocated to the entry.

[ 7884.510000] INFO: rcu_preempt detected stall on CPU 0 (t=727315 jiffies)
[ 7884.510000] [&lt;c0010a59&gt;] (unwind_backtrace+0x1/0x98) from [&lt;c006fd93&gt;] (__rcu_pending+0x11b/0x2c4)
[ 7884.510000] [&lt;c006fd93&gt;] (__rcu_pending+0x11b/0x2c4) from [&lt;c0070b95&gt;] (rcu_check_callbacks+0xed/0x1a8)
[ 7884.510000] [&lt;c0070b95&gt;] (rcu_check_callbacks+0xed/0x1a8) from [&lt;c0036abb&gt;] (update_process_times+0x2b/0x48)
[ 7884.510000] [&lt;c0036abb&gt;] (update_process_times+0x2b/0x48) from [&lt;c004e8fd&gt;] (tick_sched_timer+0x51/0x94)
[ 7884.510000] [&lt;c004e8fd&gt;] (tick_sched_timer+0x51/0x94) from [&lt;c0045527&gt;] (__run_hrtimer+0x4f/0x1e8)
[ 7884.510000] [&lt;c0045527&gt;] (__run_hrtimer+0x4f/0x1e8) from [&lt;c0046003&gt;] (hrtimer_interrupt+0xd7/0x1e4)
[ 7884.510000] [&lt;c0046003&gt;] (hrtimer_interrupt+0xd7/0x1e4) from [&lt;c00101d3&gt;] (twd_handler+0x17/0x24)
[ 7884.510000] [&lt;c00101d3&gt;] (twd_handler+0x17/0x24) from [&lt;c006be39&gt;] (handle_percpu_devid_irq+0x59/0x114)
[ 7884.510000] [&lt;c006be39&gt;] (handle_percpu_devid_irq+0x59/0x114) from [&lt;c0069aab&gt;] (generic_handle_irq+0x17/0x2c)
[ 7884.510000] [&lt;c0069aab&gt;] (generic_handle_irq+0x17/0x2c) from [&lt;c000cc8d&gt;] (handle_IRQ+0x35/0x7c)
[ 7884.510000] [&lt;c000cc8d&gt;] (handle_IRQ+0x35/0x7c) from [&lt;c033b153&gt;] (__irq_svc+0x33/0xb8)
[ 7884.510000] [&lt;c033b153&gt;] (__irq_svc+0x33/0xb8) from [&lt;c0244b06&gt;] (xgmac_rx_refill+0x3a/0x140)
[ 7884.510000] [&lt;c0244b06&gt;] (xgmac_rx_refill+0x3a/0x140) from [&lt;c02458ed&gt;] (xgmac_poll+0x265/0x3bc)
[ 7884.510000] [&lt;c02458ed&gt;] (xgmac_poll+0x265/0x3bc) from [&lt;c029fcbf&gt;] (net_rx_action+0xc3/0x200)
[ 7884.510000] [&lt;c029fcbf&gt;] (net_rx_action+0xc3/0x200) from [&lt;c0030cab&gt;] (__do_softirq+0xa3/0x1bc)

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: calxedaxgmac: fix net timeout recovery</title>
<updated>2012-07-11T06:25:47Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2012-07-09T14:16:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb5e1b29a5ff4b782796ec9d17b443b5b38b7ffe'/>
<id>urn:sha1:eb5e1b29a5ff4b782796ec9d17b443b5b38b7ffe</id>
<content type='text'>
Fix net tx watchdog timeout recovery. The descriptor ring was reset,
but the DMA engine was not reset to the beginning of the ring.

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: use eth_hw_addr_random() and reset addr_assign_type</title>
<updated>2012-02-15T20:34:17Z</updated>
<author>
<name>Danny Kukawka</name>
</author>
<published>2012-02-15T06:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ce5d222190cb3ce3ae88bafde7c4fa52a5103e0'/>
<id>urn:sha1:7ce5d222190cb3ce3ae88bafde7c4fa52a5103e0</id>
<content type='text'>
Use eth_hw_addr_random() instead of calling random_ether_addr()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Reset the state to NET_ADDR_PERM as soon as the MAC get
changed via .ndo_set_mac_address.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka &lt;danny.kukawka@bisect.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>xgmac: cleanups</title>
<updated>2012-01-05T18:23:00Z</updated>
<author>
<name>stephen hemminger</name>
</author>
<published>2012-01-04T13:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd601cc464e1ddc041d07ba2e4c015cdb9e392ec'/>
<id>urn:sha1:bd601cc464e1ddc041d07ba2e4c015cdb9e392ec</id>
<content type='text'>
Make local function static, make ethtool_ops const.
Compile tested only.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: calxeda xgmac ethernet driver add missing HAS_IOMEM dependency</title>
<updated>2011-12-27T18:01:44Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2011-12-27T04:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65cb5df51acaa6b1070a81d6c2e0a1535d3a7b8d'/>
<id>urn:sha1:65cb5df51acaa6b1070a81d6c2e0a1535d3a7b8d</id>
<content type='text'>
Fix allyesconfig build on architectures without IOMEM:

drivers/net/ethernet/calxeda/xgmac.c:1800:2:
  error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Acked-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: add calxeda xgmac ethernet driver</title>
<updated>2011-11-29T06:15:24Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2011-11-22T17:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85c10f28286148ee5cdba1d22c81936ff160596e'/>
<id>urn:sha1:85c10f28286148ee5cdba1d22c81936ff160596e</id>
<content type='text'>
Add support for the XGMAC 10Gb ethernet device in the Calxeda Highbank
SOC.

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
