Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 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.5Flags: pm-rhel: mirror+
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