<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/broadcom/bnx2.h, branch linux-6.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-03-09T07:34:38Z</updated>
<entry>
<title>bnx2: Drop redundant pci_enable_pcie_error_reporting()</title>
<updated>2023-03-09T07:34:38Z</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bhelgaas@google.com</email>
</author>
<published>2023-03-07T18:19:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5f00358b5e905a1db1077006d01cd5d207f91fb0'/>
<id>urn:sha1:5f00358b5e905a1db1077006d01cd5d207f91fb0</id>
<content type='text'>
pci_enable_pcie_error_reporting() enables the device to send ERR_*
Messages.  Since f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is
native"), the PCI core does this for all devices during enumeration, so the
driver doesn't need to do it itself.

Remove the redundant pci_enable_pcie_error_reporting() call from the
driver.  Also remove the corresponding pci_disable_pcie_error_reporting()
from the driver .remove() path.

Note that this only controls ERR_* Messages from the device.  An ERR_*
Message may cause the Root Port to generate an interrupt, depending on the
AER Root Error Command register managed by the AER service driver.

cd709aa90648 ("bnx2: Add PCI Advanced Error Reporting support.") added
pci_enable_pcie_error_reporting() for all devices, and c239f279e571 ("bnx2:
Enable AER on PCIE devices only") restricted it to BNX2_CHIP_5709 devices
to avoid an error message when it failed on non-PCIe devices.  The PCI core
only enables PCIe error reporting on PCIe devices, which I assume means
BNX2_CHIP_5709.

Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Cc: Rasesh Mody &lt;rmody@marvell.com&gt;
Cc: GR-Linux-NIC-Dev@marvell.com
Reviewed-by: Michael Chan &lt;michael.chan@broadcom.com&gt;
Acked-by: Jesse Brandeburg &lt;jesse.brandeburg@intel.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>ethernet/broadcom: use core min/max MTU checking</title>
<updated>2016-10-18T15:34:18Z</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2016-10-17T19:54:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e1c6dccaf3af291488fbad155d7ee6bc29db262a'/>
<id>urn:sha1:e1c6dccaf3af291488fbad155d7ee6bc29db262a</id>
<content type='text'>
tg3: min_mtu 60, max_mtu 9000/1500

bnxt: min_mtu 60, max_mtu 9000

bnx2x: min_mtu 46, max_mtu 9600
- Fix up ETH_OVREHEAD -&gt; ETH_OVERHEAD while we're in here, remove
  duplicated defines from bnx2x_link.c.

bnx2: min_mtu 46, max_mtu 9000
- Use more standard ETH_* defines while we're at it.

bcm63xx_enet: min_mtu 46, max_mtu 2028
- compute_hw_mtu was made largely pointless, and thus merged back into
  bcm_enet_change_mtu.

b44: min_mtu 60, max_mtu 1500

CC: netdev@vger.kernel.org
CC: Michael Chan &lt;michael.chan@broadcom.com&gt;
CC: Sony Chacko &lt;sony.chacko@qlogic.com&gt;
CC: Ariel Elior &lt;ariel.elior@qlogic.com&gt;
CC: Dept-HSGLinuxNICDev@qlogic.com
CC: Siva Reddy Kallam &lt;siva.kallam@broadcom.com&gt;
CC: Prashant Sreedharan &lt;prashant@broadcom.com&gt;
Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>BNX2: fix a Null Pointer for stats_blk</title>
<updated>2015-10-11T12:06:21Z</updated>
<author>
<name>wangweidong</name>
<email>wangweidong1@huawei.com</email>
</author>
<published>2015-10-08T10:03:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8fae307c8fe9789ff1f4161dcb2db0d689069448'/>
<id>urn:sha1:8fae307c8fe9789ff1f4161dcb2db0d689069448</id>
<content type='text'>
we have two processes to do:
P1#: ifconfig eth0 down; which will call bnx2_close, then will
, and set Null to stats_blk
P2#: ifconfig eth0; which will call bnx2_get_stats64, it will
use stats_blk.
In one case:
    --P1#--                   --P2#--
                              stats_blk(no null)
    bnx2_free_mem
    -&gt;bp-&gt;stats_blk = NULL
                              GET_64BIT_NET_STATS

then it will cause 'NULL Pointer' Problem.
it is as well with 'ethtool -S ethx'.

Allocate the statistics block at probe time so that this problem is
impossible

Signed-off-by: Wang Weidong &lt;wangweidong1@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnx2-cnic: Driver Rebranding Changes</title>
<updated>2015-02-20T20:46:49Z</updated>
<author>
<name>Rasesh Mody</name>
<email>rasesh.mody@qlogic.com</email>
</author>
<published>2015-02-18T00:26:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2e0bf125ac7d3d32dd699d345d19a7f3e675776c'/>
<id>urn:sha1:2e0bf125ac7d3d32dd699d345d19a7f3e675776c</id>
<content type='text'>
This patch provides additional changes as a part of BNX2 and CNIC driver
re-branding effort.

Signed-off-by: Rasesh Mody &lt;rasesh.mody@qlogic.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnx2: Rebranding bnx2 driver.</title>
<updated>2014-06-25T23:27:27Z</updated>
<author>
<name>Jitendra Kalsaria</name>
<email>jitendra.kalsaria@qlogic.com</email>
</author>
<published>2014-06-23T19:10:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=28c4ec0df60c8162c2da48c1df5e1cb2f04cdaa5'/>
<id>urn:sha1:28c4ec0df60c8162c2da48c1df5e1cb2f04cdaa5</id>
<content type='text'>
o QLogic has acquired the NetXtremeII products and drivers from Broadcom.
  This patch re-brands bnx2 driver as a QLogic driver

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnx2: Fix shutdown sequence</title>
<updated>2014-03-09T23:02:27Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2014-03-09T23:45:32Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a8d9bc2e9f5d1c5a25e33cec096d2a1652d3fd52'/>
<id>urn:sha1:a8d9bc2e9f5d1c5a25e33cec096d2a1652d3fd52</id>
<content type='text'>
The pci shutdown handler added in:

    bnx2: Add pci shutdown handler
    commit 25bfb1dd4ba3b2d9a49ce9d9b0cd7be1840e15ed

created a shutdown down sequence without chip reset if the device was
never brought up.  This can cause the firmware to shutdown the PHY
prematurely and cause MMIO read cycles to be unresponsive.  On some
systems, it may generate NMI in the bnx2's pci shutdown handler.

The fix is to tell the firmware not to shutdown the PHY if there was
no prior chip reset.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnx2: Report MDI/MDIX status to ethtool.</title>
<updated>2014-01-02T03:03:38Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2014-01-01T07:22:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4016baddac7dca0b31cbba5c915c6c63f2ae2ba5'/>
<id>urn:sha1:4016baddac7dca0b31cbba5c915c6c63f2ae2ba5</id>
<content type='text'>
Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnx2: Enable auto-mdix when autoneg is disabled.</title>
<updated>2014-01-02T03:03:38Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2014-01-01T07:22:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=41033b65b98388cb255c0307ea869856f71ca80d'/>
<id>urn:sha1:41033b65b98388cb255c0307ea869856f71ca80d</id>
<content type='text'>
Auto-mdix currently only works if autoneg is enabled.  This patch enables
auto-mdix all the time by setting a bit in a PHY register.  Define
meaningful constants for this PHY registers.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bnx2: Update version to 2.2.4</title>
<updated>2013-08-07T17:44:08Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2013-08-06T22:50:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8a56d243ca60c92c0b80307422ae75676873a715'/>
<id>urn:sha1:8a56d243ca60c92c0b80307422ae75676873a715</id>
<content type='text'>
and update copyright year.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic, bnx2x, bnx2: Simplify cnic probing.</title>
<updated>2012-12-07T17:44:02Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2012-12-06T10:33:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4bd9b0fffb193d2e288f67f81821af32df8d4349'/>
<id>urn:sha1:4bd9b0fffb193d2e288f67f81821af32df8d4349</id>
<content type='text'>
Instead of using symbol_get(), cnic can now directly call the cnic_probe
functions in struct bnx2x and struct bnx2.  symbol_get() is not reliable
as it fails when the module is still initializing.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
