RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1477377 - Backport: net/i40e/base: fix unknown PHYs incorrect identification
Summary: Backport: net/i40e/base: fix unknown PHYs incorrect identification
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openvswitch-dpdk
Version: 7.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: pre-dev-freeze
: 7.4
Assignee: Kevin Traynor
QA Contact: ovs-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-01 23:02 UTC by Andreas Karis
Modified: 2021-06-10 12:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-17 13:35:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rpm for ovs with backported patch for testing (4.70 MB, application/x-rpm)
2017-08-03 19:49 UTC, Aaron Conole
no flags Details

Description Andreas Karis 2017-08-01 23:02:57 UTC
Description of problem:
Backport http://dpdk.org/browse/dpdk/commit/drivers/net/i40e/base/i40e_common.c?id=e19e16ad7a39033650057e0d24f55502da4f15d9

Version-Release number of selected component (if applicable):
OVS 2.6.1 with DPDK 16.11

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Here’s a DPDK patch (”net/i40e/base: fix unknown PHYs incorrect identification”)

that was submitted on 2016-12-10, too late for DPDK 16.11:

    http://dpdk.org/browse/dpdk/commit/drivers/net/i40e/base/i40e_common.c?id=e19e16ad7a39033650057e0d24f55502da4f15d9

 
The description states:


The PHY type value for unrecognized PHYs and cables was changed

based on firmware version number. Newer hardware use lower firmware

version numbers and this was causing some PHYs to be identified

as type 0x16 instead of 0xe (unknown).

 

Without this patch, newer card will incorrectly identify unknown

PHYs and cables.

 

This change adds hardware type to the check for firmware version

so the PHY type is reported correctly.

 

This change does not appear to have been backported to DPDK 16.11.2.

Comment 3 Aaron Conole 2017-08-03 19:49:13 UTC
Created attachment 1308865 [details]
rpm for ovs with backported patch for testing

Comment 4 Kevin Traynor 2018-03-02 18:51:11 UTC
Hi Andreas, this patch was not backported DPDK 16.11 stable branch as it is a modification to the i40e base driver, which is generally a drag'n'drop into DPDK from the Intel i40e driver team.

DPDK try to avoid making any changes to this code directly in upstream master DPDK, but occasionally it does it happen. However, they tend to not backport to older DPDK as the base driver is sensitive to firmware versions which may have changed. So what is safe today, might not be safe in an older release.

It's not clear without knowing about operation of the firmware whether this is ok for DPDK 16.11 or not.

The customer case is closed now. Do you think this still needs to be backported? If so, I would contact Intel to ask them about it's suitability for DPDK 16.11.

Kevin.

Comment 6 Andreas Karis 2018-03-09 23:58:54 UTC
The related case was indeed fixed by openvswitch-2.6.1-16 and hence by a different fix. I am going to relay this info to the customer. Do you know if there are potentially any negative consequences of not backporting that fix? Seems to have to do with link detection, however I don't remember the exact context of this.

Comment 7 Kevin Traynor 2018-05-17 13:35:18 UTC
This will be part of openvswitch-2.9.X releases which use DPDK 17.11.


Note You need to log in before you can comment on or make changes to this bug.