Bug 1898910

Summary: RFE: Support for configuring flow-control (pause parameters) on interfaces.
Product: Red Hat Enterprise Linux 8 Reporter: Vishal Deep Ajmera <vishal.deep.ajmera>
Component: nmstateAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Mingyu Shi <mshi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.3CC: ferferna, jiji, jishi, jmaxwell, network-qe, till
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.5   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: nmstate-1.1.0-0.1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 17:42:57 UTC Type: Bug
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: 1899372, 1899373, 1959261    
Bug Blocks: 1935910    
Attachments:
Description Flags
verified.log none

Description Vishal Deep Ajmera 2020-11-18 10:10:08 UTC
Description of problem:
Currently nmstate does not support configuring 'ethtool -A' or pause settings on an interface. It instead rely on auto-negotiation to take care of that. However optical links/transceivers does not support auto-negotiation.

Support is needed to configure pause settings on interfaces via nmstate.

Version-Release number of selected component (if applicable):
New Feature request

How reproducible:
New Feature request.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Gris Ge 2020-11-19 02:23:26 UTC
NetworkManager feature request created at bug 1899372 for applying the setting.
Nispor feature request created at bug 1899373 for querying from kernel.

Both of them are targeting RHEL 8.5 and pending approval.

Comment 3 Gris Ge 2021-03-04 13:50:49 UTC
Hi Vishal Deep Ajmera,

Any more detail on how you use nmstate in your environment?
So that our QE could mimic your use case in our tests.

Comment 8 Gris Ge 2021-05-18 23:32:41 UTC
Upstream patch under review:

https://github.com/nmstate/nmstate/pull/1592

Comment 9 Gris Ge 2021-05-25 07:59:25 UTC
Upstream merged.

Comment 13 Mingyu Shi 2021-06-06 15:55:37 UTC
Created attachment 1789125 [details]
verified.log

Comment 14 Mingyu Shi 2021-06-06 15:59:19 UTC
Verified with versions:
nmstate-1.1.0-0.1.el8.noarch
nispor-1.1.0-1.el8.x86_64
NetworkManager-1.32.0-0.4.el8.x86_64

Please check the attachment `verified.log` for details:
1. nmstate reports the correct pause state(ethtool -a)
2. Given a property, if ethtool can change, nmstate can change too.

Comment 16 errata-xmlrpc 2021-11-09 17:42:57 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 (nmstate bug fix and enhancement update), 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-2021:4157