<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/broadcom/bgmac.h, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-06-11T06:33:58Z</updated>
<entry>
<title>bgmac: Utilize BRCM_PSEUDO_PHY_ADDR</title>
<updated>2015-06-11T06:33:58Z</updated>
<author>
<name>Florian Fainelli</name>
<email>f.fainelli@gmail.com</email>
</author>
<published>2015-06-11T01:08:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4447d2adfa48485ee31e3bf65113b6acea91d1d0'/>
<id>urn:sha1:4447d2adfa48485ee31e3bf65113b6acea91d1d0</id>
<content type='text'>
What BGMAC defines as BGMAC_PHY_NOREGS is in fact the Broadcom Ethernet
switches' pseudo-PHY address (30), utilize the newly introduced constant
from brcmphy.h

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: drop ring-&gt;num_slots</title>
<updated>2015-04-14T18:57:11Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-04-14T10:08:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=29ba877e7c8092a4dd3cbef80cca4e857129ca55'/>
<id>urn:sha1:29ba877e7c8092a4dd3cbef80cca4e857129ca55</id>
<content type='text'>
The ring size is always known at compile time, so make the code a bit
more efficient

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: increase rx ring size from 511 to 512</title>
<updated>2015-04-14T18:57:11Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-04-14T10:07:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b9650557f3d58924e3be040df0ff7a3dae19ad83'/>
<id>urn:sha1:b9650557f3d58924e3be040df0ff7a3dae19ad83</id>
<content type='text'>
Limiting it to 511 looks like a failed attempt at leaving one descriptor
empty to allow the hardware to stop processing a buffer that has not
been prepared yet. However, this doesn't work because this affects the
total ring size as well

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: set received skb headroom to NET_SKB_PAD</title>
<updated>2015-04-14T18:57:10Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-04-14T10:07:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4b62dce450e2447146ff6924a1ce8ad1a6592107'/>
<id>urn:sha1:4b62dce450e2447146ff6924a1ce8ad1a6592107</id>
<content type='text'>
A packet buffer offset of 30 bytes is inefficient, because the first 2
bytes end up in a different cacheline.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: leave interrupts disabled as long as there is work to do</title>
<updated>2015-04-14T18:57:10Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-04-14T10:07:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=eb64e2923a886441c7b322f138b36029f3fa6a36'/>
<id>urn:sha1:eb64e2923a886441c7b322f138b36029f3fa6a36</id>
<content type='text'>
Always poll rx and tx during NAPI poll instead of relying on the status
of the first interrupt. This prevents bgmac_poll from leaving unfinished
work around until the next IRQ.
In my tests this makes bridging/routing throughput under heavy load more
stable and ensures that no new IRQs arrive as long as bgmac_poll uses up
the entire budget.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: simplify tx ring index handling</title>
<updated>2015-04-14T18:57:10Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-04-14T10:07:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b38c83dd08665a93e439c4ffd9eef31bc098a6ea'/>
<id>urn:sha1:b38c83dd08665a93e439c4ffd9eef31bc098a6ea</id>
<content type='text'>
Keep incrementing ring-&gt;start and ring-&gt;end instead of pointing it to
the actual ring slot entry. This simplifies the calculation of the
number of free slots.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Acked-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: implement GRO and use build_skb</title>
<updated>2015-03-23T20:56:28Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-03-23T11:35:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=45c9b3c09490ef4a4ac19df75b5919849423f3e7'/>
<id>urn:sha1:45c9b3c09490ef4a4ac19df75b5919849423f3e7</id>
<content type='text'>
This improves performance for routing and local rx

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: fix descriptor frame start/end definitions</title>
<updated>2015-03-23T20:56:28Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-03-23T11:35:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0addb83d4c71a68fa716fbd69a605ac0ba5e2b50'/>
<id>urn:sha1:0addb83d4c71a68fa716fbd69a605ac0ba5e2b50</id>
<content type='text'>
The start-of-frame and end-of-frame bits were accidentally swapped.
In the current code it does not make any difference, since they are
always used together.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: add support for Northstar SoC (BCM4707, BCM53018)</title>
<updated>2014-01-05T01:25:20Z</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2014-01-05T00:10:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6df4aff972f0294f210559ce898a8a958e23b2c6'/>
<id>urn:sha1:6df4aff972f0294f210559ce898a8a958e23b2c6</id>
<content type='text'>
This adds support for the Northstar SoC. This SoC does not have a PMU in
bcma and no register on it should be called. In addition it support 2.5
GBit/s Ethernet to the PHY.

This GMAC core is not fully working there are still problems with the
DMA controller.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bgmac: add support for new BGMAC_CMDCFG_SR position on core rev &gt;= 4</title>
<updated>2014-01-05T01:25:19Z</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2014-01-05T00:10:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=48e07fbe073202beed60a734191f8341bfd18f73'/>
<id>urn:sha1:48e07fbe073202beed60a734191f8341bfd18f73</id>
<content type='text'>
The BGMAC_CMDCFG_SR register is at a different position on core rev &gt;= 4
We do not know where this register is on a rev 5 or higher core, I have
newer seen such a core.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Acked-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
