<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/broadcom, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-11-24T07:35:55Z</updated>
<entry>
<title>net: systemport: Correct IPG length settings</title>
<updated>2017-11-24T07:35:55Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-11-02T23:08:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb56542e998c10276df827443ea81ff19c3abb4f'/>
<id>urn:sha1:eb56542e998c10276df827443ea81ff19c3abb4f</id>
<content type='text'>
[ Upstream commit 93824c80bf47ebe087414b3a40ca0ff9aab7d1fb ]

Due to a documentation mistake, the IPG length was set to 0x12 while it
should have been 12 (decimal). This would affect short packet (64B
typically) performance since the IPG was bigger than necessary.

Fixes: 44a4524c54af ("net: systemport: Add support for SYSTEMPORT Lite")
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
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: systemport: Free DMA coherent descriptors on errors</title>
<updated>2017-08-25T01:23:21Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-08-24T23:01:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2062ee3d9615828109ffe8089fbf69bed394d05'/>
<id>urn:sha1:c2062ee3d9615828109ffe8089fbf69bed394d05</id>
<content type='text'>
In case bcm_sysport_init_tx_ring() is not able to allocate ring-&gt;cbs, we
would return with an error, and call bcm_sysport_fini_tx_ring() and it
would see that ring-&gt;cbs is NULL and do nothing. This would leak the
coherent DMA descriptor area, so we need to free it on error before
returning.

Reported-by: Eric Dumazet &lt;edumazet@gmail.com&gt;
Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
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>net: bcmgenet: Be drop monitor friendly</title>
<updated>2017-08-25T01:23:20Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-08-24T22:56:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4fec855905fa8bd5fb1c59f73ad2d74a944876a'/>
<id>urn:sha1:d4fec855905fa8bd5fb1c59f73ad2d74a944876a</id>
<content type='text'>
There are 3 spots where we call dev_kfree_skb() but we are actually
just doing a normal SKB consumption: __bcmgenet_tx_reclaim() for normal
TX reclamation, bcmgenet_alloc_rx_buffers() during the initial RX ring
setup and bcmgenet_free_rx_buffers() during RX ring cleanup.

Fixes: d6707bec5986 ("net: bcmgenet: rewrite bcmgenet_rx_refill()")
Fixes: f48bed16a756 ("net: bcmgenet: Free skb after last Tx frag")
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>net: systemport: Be drop monitor friendly</title>
<updated>2017-08-25T01:23:20Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-08-24T22:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c45182eb967af11e9482168be5be41aa22e5d321'/>
<id>urn:sha1:c45182eb967af11e9482168be5be41aa22e5d321</id>
<content type='text'>
Utilize dev_consume_skb_any(cb-&gt;skb) in bcm_sysport_free_cb() which is
used when a TX packet is completed, as well as when the RX ring is
cleaned on shutdown. None of these two cases are packet drops, so be
drop monitor friendly.

Suggested-by: Eric Dumazet &lt;edumazet@gmail.com&gt;
Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
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>bnxt_en: Do not setup MAC address in bnxt_hwrm_func_qcaps().</title>
<updated>2017-08-24T05:42:43Z</updated>
<author>
<name>Michael Chan</name>
</author>
<published>2017-08-23T23:34:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a22a6ac2ff8080c87e446e20592725c064229c71'/>
<id>urn:sha1:a22a6ac2ff8080c87e446e20592725c064229c71</id>
<content type='text'>
bnxt_hwrm_func_qcaps() is called during probe to get all device
resources and it also sets up the factory MAC address.  The same function
is called when SRIOV is disabled to reclaim all resources.  If
the MAC address has been overridden by a user administered MAC
address, calling this function will overwrite it.

Separate the logic that sets up the default MAC address into a new
function bnxt_init_mac_addr() that is only called during probe time.

Fixes: 4a21b49b34c0 ("bnxt_en: Improve VF resource accounting.")
Signed-off-by: Michael Chan &lt;michael.chan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnxt_en: Free MSIX vectors when unregistering the device from bnxt_re.</title>
<updated>2017-08-24T05:42:42Z</updated>
<author>
<name>Michael Chan</name>
</author>
<published>2017-08-23T23:34:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=146ed3c5b87d8c65ec31bc56df26f027fe624b8f'/>
<id>urn:sha1:146ed3c5b87d8c65ec31bc56df26f027fe624b8f</id>
<content type='text'>
Take back ownership of the MSIX vectors when unregistering the device
from bnxt_re.

Fixes: a588e4580a7e ("bnxt_en: Add interface to support RDMA driver.")
Signed-off-by: Michael Chan &lt;michael.chan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnxt_en: Fix .ndo_setup_tc() to include XDP rings.</title>
<updated>2017-08-24T05:42:42Z</updated>
<author>
<name>Michael Chan</name>
</author>
<published>2017-08-23T23:34:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87e9b3778c94694c9e098c91a0cc05725f0e017f'/>
<id>urn:sha1:87e9b3778c94694c9e098c91a0cc05725f0e017f</id>
<content type='text'>
When the number of TX rings is changed in bnxt_setup_tc(), we need to
include the XDP rings in the total TX ring count.

Fixes: 38413406277f ("bnxt_en: Add support for XDP_TX action.")
Signed-off-by: Michael Chan &lt;michael.chan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: systemport: Fix software statistics for SYSTEMPORT Lite</title>
<updated>2017-08-10T05:39:17Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-08-08T21:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50ddfbafcd1e1f95185dfaa4ad794f742b0beaf8'/>
<id>urn:sha1:50ddfbafcd1e1f95185dfaa4ad794f742b0beaf8</id>
<content type='text'>
With SYSTEMPORT Lite we have holes in our statistics layout that make us
skip over the hardware MIB counters, bcm_sysport_get_stats() was not
taking that into account resulting in reporting 0 for all SW-maintained
statistics, fix this by skipping accordingly.

Fixes: 44a4524c54af ("net: systemport: Add support for SYSTEMPORT Lite")
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>b44: Initialize 64-bit stats seqcount</title>
<updated>2017-08-02T03:06:06Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-08-01T19:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e43c9f23efadade684773a855675c99da278c862'/>
<id>urn:sha1:e43c9f23efadade684773a855675c99da278c862</id>
<content type='text'>
On 32-bit hosts and with CONFIG_DEBUG_LOCK_ALLOC we should be seeing a
lockdep splat indicating this seqcount is not correctly initialized, fix
that.

Fixes: eeda8585522b ("b44: add 64 bit stats")
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Acked-by: Michael Chan &lt;michael.chan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Revert "net: bcmgenet: Remove init parameter from bcmgenet_mii_config"</title>
<updated>2017-08-01T01:03:36Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-07-31T18:05:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00d51094b8a5856ae790048a332ae24f1dd7c994'/>
<id>urn:sha1:00d51094b8a5856ae790048a332ae24f1dd7c994</id>
<content type='text'>
This reverts commit 28b45910ccda ("net: bcmgenet: Remove init parameter
from bcmgenet_mii_config") because in the process of moving from
dev_info() to dev_info_once() we essentially lost the helpful printed
messages once the second instance of the driver is loaded.
dev_info_once() does not actually print the message once per device
instance, but once period.

Fixes: 28b45910ccda ("net: bcmgenet: Remove init parameter from bcmgenet_mii_config")
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Doug Berger &lt;opendmb@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
