<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/altera, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-02-23T23:07:36Z</updated>
<entry>
<title>altera_tse: Fixes in NAPI and interrupt handling paths</title>
<updated>2015-02-23T23:07:36Z</updated>
<author>
<name>Vlastimil Setka</name>
</author>
<published>2015-02-23T17:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d4ac39df09c6f8078af60cd0ddd7b2435728e72'/>
<id>urn:sha1:8d4ac39df09c6f8078af60cd0ddd7b2435728e72</id>
<content type='text'>
Incorrect NAPI polling caused WARNING at net/core/dev.c net_rx_action.
Some stability issues were also seen at high throughput and system
load before this patch.

This patch contains several changes in altera_tse_main.c:

- tse_rx() is fixed to not process more than `limit` frames

- tse_poll() is refactored to match NAPI logic
  - only received frames are counted for return value
  - removed bogus condition `(rxcomplete &gt;= budget || txcomplete &gt; 0)`
  - replace by: if (rxcomplete &lt; budget) -&gt; call __napi_complete and enable irq

- altera_isr()
  - replace spin_lock_irqsave() by spin_lock() - we are in isr
  - use spinlocks just over irq manipulation, not over __napi_schedule
  - reset IRQ first, then disable and schedule napi

This is a cleaned up resubmission from Vlastimil's recent submission.

Signed-off-by: Vlastimil Setka &lt;setka@vsis.cz&gt;
Signed-off-by: Roman Pisl &lt;rpisl@kky.zcu.cz&gt;
Signed-off-by: Vince Bridgers &lt;vbridger@opensource.altera.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree</title>
<updated>2015-02-23T23:07:35Z</updated>
<author>
<name>Vlastimil Setka</name>
</author>
<published>2015-02-23T17:27:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe6e4081a626d2987b73c9b15ed520b4f22d585f'/>
<id>urn:sha1:fe6e4081a626d2987b73c9b15ed520b4f22d585f</id>
<content type='text'>
This patch corrects a typo in the way tx_fifo_depth is read from the
devicetree. This patch was submitted by Vlastimil about a week ago,
and is now cleaned up and resubmitted.

Signed-off-by: Vlastimil Setka &lt;setka@vsis.cz&gt;
Signed-off-by: Vince Bridgers &lt;vbridger@opensource.altera.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Altera TSE: Add missing phydev</title>
<updated>2015-01-02T20:45:10Z</updated>
<author>
<name>Kostya Belezko</name>
</author>
<published>2014-12-30T17:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c484994eb317f24693fbed6084cf1b4d984ffd3b'/>
<id>urn:sha1:c484994eb317f24693fbed6084cf1b4d984ffd3b</id>
<content type='text'>
Altera network device doesn't come up after

ifconfig eth0 down
ifconfig eth0 up

The reason behind is clearing priv-&gt;phydev during tse_shutdown().
The phydev is not restored back at tse_open().

Resubmiting as to follow Tobias Klauser suggestion.
phy_start/phy_stop are called on each ifup/ifdown and
phy_disconnect is called once during the module removal.

Signed-off-by: Kostya Belezko &lt;bkostya@hotmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: altera: drop owner assignment from platform_drivers</title>
<updated>2014-10-20T14:21:04Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2014-10-20T14:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c026c179e83c6229b6744c2373d5c41e3bf606c'/>
<id>urn:sha1:0c026c179e83c6229b6744c2373d5c41e3bf606c</id>
<content type='text'>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>Altera TSE: Add support for no PHY</title>
<updated>2014-10-06T01:39:40Z</updated>
<author>
<name>Walter Lozano</name>
</author>
<published>2014-10-03T18:09:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3354313e504ab51d620388fb230e17cd9097388c'/>
<id>urn:sha1:3354313e504ab51d620388fb230e17cd9097388c</id>
<content type='text'>
This patch avoids PHY and MDIO probing if no PHY chip is present.
This is the case mainly in optical links where there is no need for
PHY chip, and therefore no need of MDIO. In this scenario Ethernet
MAC is directly connected to an optical module through an external
SFP transceiver.

Signed-off-by: Walter Lozano &lt;walter@vanguardiasur.com.ar&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Altera TSE: Move PHY get addr and MDIO create</title>
<updated>2014-10-06T01:39:40Z</updated>
<author>
<name>Walter Lozano</name>
</author>
<published>2014-10-03T18:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=004fa11861f89c54c8839119a99e87b6164dcc2c'/>
<id>urn:sha1:004fa11861f89c54c8839119a99e87b6164dcc2c</id>
<content type='text'>
Move PHY get addr and MDIO create to a new function to improve readability
and make it easier to avoid its usage. This will be useful for example in
the case where there is no PHY chip.

Signed-off-by: Walter Lozano &lt;walter@vanguardiasur.com.ar&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: Remove superfluous ether_setup after alloc_etherdev</title>
<updated>2014-10-03T22:31:40Z</updated>
<author>
<name>Tobias Klauser</name>
</author>
<published>2014-10-02T08:15:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a05880a8b22c6ba2ffdabbceb4635d28abe9072'/>
<id>urn:sha1:6a05880a8b22c6ba2ffdabbceb4635d28abe9072</id>
<content type='text'>
There is no need to call ether_setup after alloc_ethdev since it was
already called there.

Follow commits c706471b2601 ("net: axienet: remove unnecessary
ether_setup after alloc_etherdev") and 3c87dcbfb36c ("net: ll_temac:
Remove unnecessary ether_setup after alloc_etherdev") and fix the
pattern in all remaining ethernet drivers.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2014-05-24T04:32:30Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2014-05-24T04:32:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54e5c4def0614ab540fbdf68e45342a4af141702'/>
<id>urn:sha1:54e5c4def0614ab540fbdf68e45342a4af141702</id>
<content type='text'>
Conflicts:
	drivers/net/bonding/bond_alb.c
	drivers/net/ethernet/altera/altera_msgdma.c
	drivers/net/ethernet/altera/altera_sgdma.c
	net/ipv6/xfrm6_output.c

Several cases of overlapping changes.

The xfrm6_output.c has a bug fix which overlaps the renaming
of skb-&gt;local_df to skb-&gt;ignore_df.

In the Altera TSE driver cases, the register access cleanups
in net-next overlapped with bug fixes done in net.

Similarly a bug fix to send ALB packets in the bonding driver using
the right source address overlaps with cleanups in net-next.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Altera TSE: Disable Multicast filtering to workaround problem</title>
<updated>2014-05-15T20:46:46Z</updated>
<author>
<name>Vince Bridgers</name>
</author>
<published>2014-05-14T19:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d91e5c02555ae838e9d783b9e83e125fd10dca73'/>
<id>urn:sha1:d91e5c02555ae838e9d783b9e83e125fd10dca73</id>
<content type='text'>
This patch disables multicast hash filtering if present in the hardware
and uses promiscuous mode instead until the problem with multicast
filtering has been debugged, integrated and tested.

Signed-off-by: Vince Bridgers &lt;vbridgers2013@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Altera TSE: Fix sparse errors and warnings</title>
<updated>2014-05-15T20:46:46Z</updated>
<author>
<name>Vince Bridgers</name>
</author>
<published>2014-05-14T19:38:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=898305806ad56ae11dc2c80931062e6a2c7bba48'/>
<id>urn:sha1:898305806ad56ae11dc2c80931062e6a2c7bba48</id>
<content type='text'>
This patch fixes the many sparse errors and warnings contained in the
initial submission of the Altera Triple Speed Ethernet driver, and a
few minor cppcheck warnings. Changes are tested on ARM and NIOS2
example designs, and compile tested against multiple architectures.
Typical issues addressed were as follows:

altera_tse_ethtool.c:136:19: warning: incorrect type in argument
    1 (different address spaces)
altera_tse_ethtool.c:136:19:    expected void const volatile
    [noderef] &lt;asn:2&gt;*addr
altera_tse_ethtool.c:136:19:    got unsigned int *&lt;noident&gt;
...
altera_sgdma.c:129:31: warning: cast removes address space of
    expression

Signed-off-by: Vince Bridgers &lt;vbridgers2013@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
