[dpdk-dev] [Bug 289] mlx5: 100G interface capability not recognized

bugzilla at dpdk.org bugzilla at dpdk.org
Fri May 31 18:10:19 CEST 2019


https://bugs.dpdk.org/show_bug.cgi?id=289

            Bug ID: 289
           Summary: mlx5: 100G interface capability not recognized
           Product: DPDK
           Version: 17.11
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev at dpdk.org
          Reporter: srinivas.narayan at att.com
  Target Milestone: ---

mlx5_link_update uses the newer ethtool command ETHTOOL_GLINKSETTINGS to
determine interface capabilities but falls back to the older (deprecated)
ETHTOOL_GSET command if the new method fails for any reason. The older method
only supports reporting of capabilities up to 40G.

However, mlx5_link_update_unlocked_gs can return a failure for a number of
reasons (including the link being down). Using the older method in cases of
transient failure of the method can result in reporting of reduced capabilities
to the application.

The older method (mlx5_link_update_unlocked_gset) should only be invoked if the
newer method returns EOPNOTSUPP.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list