Commit Graph

20 Commits

Author SHA1 Message Date
Peter Robinson
9d6449c45d
bnx2: drop unsupported firmwares
The stable kernels from 4.9 to current only support a number of
sub versions of the 7.13.x.y firmware versions, in the unlikely
scenario of a user needing an older rev they can be easily
ontained via old releases. The 4.x stable kernels depend on the
7.13.1 (as does the el7 kernel), 5.4 depends on 7.13.11, and
the 5.10 and later kernels all depend on 7.13.15/7.13.21. Let's
cleanup the quite sizable unused versions.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2022-07-05 12:33:42 -04:00
Manish Chopra
7818d238f9
bnx2x: Add FW 7.13.21.0
This patch removes the older firmware version (7.13.20.0) files
pushed earlier as kernel driver patches which were supposed to
utilize that firmware were not approved by the community because
of the driver or firmware not being backward compatible with older
firmware version, so there is no any real consumer of firmware
v7.13.20.0 files.

New firmware v7.13.21.0 along with below fixes/enhancements (which
were also part of 7.13.20.0) maintains backward compatibility as well,
so that driver can be worked with both the new firmware and an older
firmware.

- Support direct invalidation of FP HSI Ver per function ID, required for
  invalidating FP HSI Ver prior to each VF start, as there is no VF start
- BRB parity error detection support for the driver
- Fix the FCOE underrun flow
- Fix PSOD during FCoE BFS over the NIC ports after preboot driver

Link: https://www.spinics.net/lists/stable/msg508497.html
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2021-12-16 09:36:51 -05:00
Manish Chopra
0050dcf3e8
bnx2x: Add FW 7.13.20.0
This patch adds new FW files to be utilized by bnx2x driver,
This new firmware adds following fixes/enhancements:

- Support direct invalidation of FP HSI Ver per function ID, required for
  invalidating FP HSI Ver prior to each VF start, as there is no VF start
- BRB parity error detection support for the driver
- Fix the FCOE underrun flow
- Fix PSOD during FCoE BFS over the NIC ports after preboot driver

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Omkar Kulkarni <okulkarni@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2021-10-25 07:19:32 -04:00
Sudarsana Reddy Kalluru
0acd93ea00
bnx2x: Add FW 7.13.15.0.
This patch adds new FW for bnx2x, which addresses the following issues:
- TCP packet with padding can open TPA aggregation in GRO mode.
- Tx Silent Drops could cause HW error when statistics is not enabled for client.
- Transmission of tunneled packets over tx-only clients (with cos>0 in this case) followed by load/unload with DCB update (for instance), resulted in a Tx path halt.
- FORWARD_SETUP ramrod yielded a FW assert (x_eth_fp_hsi_ver_invalid).

The FW also adds support for direct update of RSS indirection table entry.

Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ameen Rahman <arahman@marvell.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2019-10-23 08:30:48 -04:00
Rahul Verma
8fcf0ec44c
bnx2x: Add FW 7.13.11.0.
This patch adds new FW for bnx2x, which adds the following:
 - TX VLAN filtering support.
 - Enable TPA only for packets without VLAN.

It also addresses few critical issues,
 - Fairness algorithm misbehaviour when minimum bandwidth configured
   for all PFs.
 - Error recovery issue on TAPE devices.
 - FW not discarding FIP frames that are not designated to PF.
 - Kernel driver initialization failure after preboot driver.
 - VxLAN stops working after sending inner IP fragmented traffic.
 - Issues in the following FW flows:
    SD VLAN update, TX packet drop, packet padding flow, vlan add/remove.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Rahul Verma <Rahul.Verma@cavium.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2019-02-12 07:34:43 -05:00
Yuval Mintz
46e8a24942 bnx2x: Add FW 7.13.1.0.
This adds new FW for bnx2x, which adds the following:
 - Ability to change outer vlan ID for some multi-function modes.
 - FW ability for Geneve RSS classification according to inner headers.
 - Prevent VFs from sending MAC control frames.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2015-11-20 11:35:21 -05:00
Yuval Mintz
e10097aa1b bnx2x: Update to FW version 7.12.30
The new FW will allow us to utilize some new features in our driver,
mainly adding vlan stripping offload and vxlan offload support.

In addition, this fixes several issues:
 - Packets from a VF with pvid configured which were sent with a
   different vlan were transmitted instead of being discarded.

 - FCoE traffic might not recover after a failue while there's traffic
   to another function.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2015-07-16 11:19:30 -04:00
Yuval Mintz
ce64fa893c bnx2x: Add FW 7.10.51
Hi,

This firmware includes many fixes such as:

 - (L2) In some multi-function configurations, inter-PF and inter-VF
   Tx switching is incorrectly enabled.

 - (L2) Wrong assert code in FLR final cleanup in case it is sent not
   after FLR.

 - (L2) Chip may stall in very rare cases under heavy traffic with FW GRO
   enabled.

 - (L2) VF malicious notification error fixes.

 - (L2) Default gre tunnel to IPGRE which allows proper RSS for IPGRE packets,
   L2GRE traffic will reach single queue.

 - (FCoE) Fix data being placed in wrong buffer when corrupt FCoE frame is
   received.

 - (FCoE) Burst of FIP packets with destination MAC of ALL-FCF_MACs
   causes FCoE traffic to stop.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
2014-08-07 16:08:19 -04:00
Yuval Mintz
9f46421920 bnx2x: Update to FW 7.8.19
This new firmware fixes several bugs:
 1. HW attention appears and traffic stops when iSCSI firmware tries to
    retransmit iSCSI login command when the iSCSI login is carrying data
    not aligned to 4-bytes.
 2. FCoE traffic fails to run when running in switch-independent multi-function
    mode and there's more than one interface supporting FCoE on a given port.
 3. While two ports are running FCoE with at least one of them has a function
    number (>1) on the same engine in a 4-port device a zeroed CQE is given,
    causing FCoE traffic to stop.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-02-09 13:15:40 +00:00
Dmitry Kravkov
72524b4f0b bnx2x: update fw to 7.8.17
This new firmware includes the following changes:

1. Several corner case bugs in iSCSI code.
2. Fixes for FCoE including support for 3PAR targets.
3. Fixes for SR-IOV behaviour including:
	a. Remove FW assert erroneously triggered during FLR.
	b. Several fixes in FLR flow.
	c. Prevent VF crash when packet bigger than MTU arrives.
	d. Improve security against malicious VF.
4. Added CSUM and TSO support for encapsulation protocols.
5. Added RSS capability for GRE traffic based on inner headers.
6. Added FCoE support for 4-port 57840 devices.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-03-09 16:16:54 +00:00
Yuval Mintz
236367db10 bnx2x: update fw to 7.8.2
This new firmware fixes several minor bugs:
 1. In switch dependent mode, DCB priority was used to override inner vlan
    priority.
 2. In switch dependent  mode, inner vlan was added in case of DCB priority
    even if outer vlan was present.
 3. In switch dependent mode, outer vlan was overridden by DCB priority when
    working in STATIC COS mode while inner vlan was present.
 4. iSCSI - under heavy iSCSI traffic, when TCP out-of-order condition
    occurred, it was possible for the connection to close and recover.
 5. iSCSI - connections on-chip TCP establishment might have failed.
 6. iSCSI - out-of-order isles might have caused on-chip TCP connections
    to fail in their graceful termination.
 7. iSCSI - there was a theoretical race in which an RST packet sent from
    pure-ack queue in specific timing could cause a credit-return overflow.
 8. iSCSI - not all packets were completed on a forward channel.
 9. DCB - fixed for 4-port devices; Until now, wrong credit counters were
    used, causing dcb to fail.
10. Fixed false parity reported in CAM memories when operating near -5% on
    the 1.0V core supply.
11. ETS default settings are set to fairness between traffic classes (rather
    than strict priority), and uses the same chip receive buffer configuration
    for both PFC and pause.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Goldstein <eilong@broadcom.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2012-09-24 21:35:48 +02:00
Barak Witkowski
1a9f168b6c bnx2x: adding fw 7.2.51
This new FW adds support in AFEX mode (multifunction using vntag
header).
It also fixes following issues:
1. Theoretical bug in GRO acceleration (only if the GRO Segment Length
   is a multiple of the SGE Size). This will allow removing the
   workaround from the driver.
2. When a TPA aggregation is open and a packet is accepted with
   timestamp OOO, the new packet begins a new aggregation instead of
   being indicated separately.

Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2012-04-20 01:59:27 +01:00
Barak Witkowski
6f8990bcd2 bnx2x: adding fw 7.2.16
This new FW adds the ability to aggregate packets for GRO (and not just LRO) and
also fixes some bugs. Please consider adding it to the FW tree:

1. Added new aggregation mode: GRO. In this mode packets are aggregated such
   that the original packets can be reconstructed by the O/S.
2. 57712 HW bug workaround - initialized all CAM TM registers to 0x32.
3. Adding the FCoE statistics structures to the BNX2X HSI.
4. Wrong configuration of TX HW input buffer size may cause theoretical
   performance effect. Performed configuration fix.
5. FCOE - Arrival of packets beyond task IO size can lead to crash.
   Fix firmware data-in flow.
6. iSCSI - In rare cases of on-chip termination the graceful termination timer
   hangs, and the termination doesn't complete. Firmware fix to MSL timer
   tolerance.
7. iSCSI - Chip hangs when target sends FIN out-of-order or with isles open at
   the initiator side. Firmware implementation corrected to drop FIN received
   out-of-order or with isles still open.
8. iSCSI - Chip hangs when in case of retransmission not aligned to 4-bytes from
   the beginning of iSCSI PDU. Firmware implementation corrected to support
   arbitrary aligned retransmissions.
9. iSCSI - Arrival of target-initiated NOP-IN during intense ISCSI traffic might
   lead to crash. Firmware fix to relevant flow.

Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2012-02-19 01:07:05 +00:00
Dmitry Kravkov
286d045541 bnx2x: Update firmware to 6.2.9
To fix bugs when running offloaded FCoE/iSCSI traffic in multiple
Class of Service environments.  In some scenarios, traffic could stop
on certain rings and eventually all traffic would stop.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Export the blobs to linux-firmware; keep the previous versions]
2011-12-17 09:28:04 +00:00
Vladislav Zolotarov
4cece82cd5 bnx2x: replace FW to 6.2.5
Includes FCoE releated fixes in FW flows

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Export the blobs to linux-firmware]
2011-12-17 09:27:56 +00:00
Dmitry Kravkov
3ffab34664 bnx2x: Add 57712 support
57712 HW supported with same set of features as for 57710/57711

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Export the blob to linux-firmware]
2011-12-17 09:27:56 +00:00
Dmitry Kravkov
a935f58b98 bnx2x, cnic, bnx2i: use new FW/HSI
This is the new FW HSI blob and the relevant definitions without logic changes.
It also included code adaptation for new HSI. New features are not enabled.

New FW/HSI includes:
- Support for 57712 HW
- Future support for VF (not used)
- Improvements in FW interrupts scheme
- FW FCoE hooks (stubs for future usage)

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Export the blobs to linux-firmware]
2011-12-17 09:27:51 +00:00
Dmitry Kravkov
15888a2eab bnx2x: Adding FW 7.0.29.0
Includes fixes for the following issues:
  1. (iSCSI) Arrival of un-solicited ASYNC message causes
     firmware to abort the connection with RST.
  2. (FCoE) There is a probability that truncated FCoE packet on
     RX path won't get detected which might lead to FW assert.
  3. (iSCSI) Arrival of target-initiated NOP-IN during intense
     ISCSI traffic might lead to FW assert.
  4. (iSCSI) Chip hangs when in case of retransmission not aligned
     to 4-bytes from the beginning of iSCSI PDU.
  5. (FCoE) Arrival of packets beyond task IO size can lead to crash.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-10-24 16:31:44 +02:00
Ariel Elior
c8958f5de9 bnx2x: Adding FW 7.0.23.0
This FW supports multiple concurrent classes of service in network traffic.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2011-07-08 02:26:28 +01:00
Vladislav Zolotarov
97649b1e54 linux-firmware: Add a new FW 7.0.20.0
- Add a separate directory for the bnx2x FW.
 - Post a new FW version: 7.0.20.0

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-06-15 11:38:11 +01:00