Bug 1720395

Summary: [ Marvell 8.2 FEAT ] Update bnx2x firmware to latest upstream
Product: Red Hat Enterprise Linux 8 Reporter: Manish Chopra (Marvell) <mchopra>
Component: linux-firmwareAssignee: Bruno Meneguele <brdeoliv>
Status: CLOSED ERRATA QA Contact: Tianhao <tizhao>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: arahman, ctatman, dhoward, kzhang, linville, mchopra, plougher, rvaidyanath, rvr, tizhao
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: linux-firmware-20191202-95.gite8a0f4c9.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 17:00:04 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1732996, 1770797, 1776957    

Description Manish Chopra (Marvell) 2019-06-13 21:40:21 UTC
bnx2x FW files update BZ.

Comment 1 Zhang Kexin 2019-08-08 05:41:39 UTC
Hi Manish,

What version will the FW be? Any specific test needs to be done besides confirming the correct FW version is included in linux-firmware? Thanks.

Comment 3 Manish Chopra (Marvell) 2019-11-11 11:26:05 UTC
Hi,

We need to take below FW commit from linux-firmware.git 

commit 0acd93ea00e8b1b0411063f2391da0d4a52ebaf0
Author: Sudarsana Reddy Kalluru <skalluru>
Date:   Tue Oct 22 07:01:54 2019 -0700

    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>
    Signed-off-by: Ameen Rahman <arahman>
    Signed-off-by: Josh Boyer <jwboyer>

We will be posting corresponding driver changes to use this FW soon.

Thanks,
Manish

Comment 4 Manish Chopra (Marvell) 2019-11-11 11:52:28 UTC
For some reason, I am not able to set depends on/blocked.
This BZ blocks BZ #1770797.

Thanks,
Manish

Comment 5 Manish Chopra (Marvell) 2019-11-12 13:53:03 UTC
Note that patches has been posted for BZ #1770797

Phillip/Don,

Please make sure that above firmware gets pulled in on which bnx2x driver will have dependency (from BZ #1770797).

Thanks,
Manish

Comment 6 Manish Chopra (Marvell) 2019-11-12 13:55:35 UTC
+ John

John, please check if this BZ requires any flags etc. to be set appropriately.

Thanks,
Manish

Comment 7 John W. Linville 2019-11-12 15:00:27 UTC
LGTM...

Comment 8 Don Howard 2019-11-20 03:33:49 UTC
This bug is on our list for the 8.2 linux-firmware update.  You can look for that sometime near 8.2 beta.

Comment 12 Tianhao 2020-02-06 10:47:57 UTC
Hi Manish,

Just want to make sure, if the following info shows that the bnx2x NIC is using 7.13.15.0 firmware and the regression tests on the NIC is valid for verification.

 $ ethtool -i ens3f0
driver: bnx2x
version: 1.713.36-0 storm 7.13.15.0
firmware-version: 5.0.12 bc 5.0.13 phy aa0.406
expansion-rom-version: 
bus-info: 0000:5e:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

Regards,
Tianhao

Comment 13 Tianhao 2020-03-24 11:27:44 UTC
There is no response from partner. The bnx2x is using 7.13.15.0 version of firmware through 'ethtool -i' result, from my perspective.
 $ ethtool -i ens3f0
driver: bnx2x
version: 1.713.36-0 storm 7.13.15.0
firmware-version: 5.0.12 bc 5.0.13 phy aa0.406
expansion-rom-version: 
bus-info: 0000:5e:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

I have finished the nic basic functional testing with kernel-4.18.0-167.el8 on bnx2x driver, details as below:

Test items include: 
layered-protocol: pass
sanity_check(ip/mac/broadcast/multicast/almulti/mtu/promisc/selftest): pass
Card recognize: pass
basic traffic(ping and netperf): pass
statistics in /proc/net/dev: partly pass
ring buffer setting: pass
driver load and unload: pass
coalesce setting: pass
multiqueue: pass
pause: pass
offload: pass
scaling: pass
link_check: pass
vlan/tier1: pass
bridge/stp_test,sanity_check: pass

The bnx2x NIC is using 7.13.15.0 version on 167 kernel. No other regression has been found, set verified.

Comment 16 errata-xmlrpc 2020-04-28 17:00:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1887