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 1557461

Summary: tc: add support for the CBS qdisc
Product: Red Hat Enterprise Linux 7 Reporter: Ivan Vecera <ivecera>
Component: iprouteAssignee: Andrea Claudi <aclaudi>
Status: CLOSED ERRATA QA Contact: Li Shuang <shuali>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: aclaudi, atragler, ivecera, jiji, rkhan, shuali
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: iproute-4.11.0-27.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1559942 (view as bug list) Environment:
Last Closed: 2020-09-29 20:28:24 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: 1557250    
Bug Blocks:    

Description Ivan Vecera 2018-03-16 15:32:07 UTC
The bz#1557250 adds a support for CBS (Credit Based Shaper) qdisc to RHEL kernel and IGB driver update offers its offloading. To use this qdisc we need to update 'tc' command to understand a new syntax.

Commits:
c9681ac1 ("tc: Add support for the CBS qdisc", 2017-10-26)
d6529889 ("man: Add initial manpage for tc-cbs(8)", 2017-10-26)
1915af40 ("man: Clarify idleslope calculation for tc-cbs", 2017-11-10)

Comment 5 Andrea Claudi 2019-04-19 09:37:19 UTC
According to https://bugzilla.redhat.com/show_bug.cgi?id=1557250#c16, CBS is disabled on rhel7.6 as there is no request from customers for this.

From a quick look at conf files, I can confirm this on rhel7.7:
aclaudi@renaissance-vector:~/.../redhat/configs (rhel7)$ grep -rI CBS *
kernel-3.10.0-ppc64.config:# CONFIG_NET_SCH_CBS is not set
kernel-3.10.0-ppc64-debug.config:# CONFIG_NET_SCH_CBS is not set
kernel-3.10.0-ppc64le.config:# CONFIG_NET_SCH_CBS is not set
kernel-3.10.0-ppc64le-debug.config:# CONFIG_NET_SCH_CBS is not set
kernel-3.10.0-s390x.config:# CONFIG_NET_SCH_CBS is not set
kernel-3.10.0-s390x-debug.config:# CONFIG_NET_SCH_CBS is not set
kernel-3.10.0-x86_64.config:# CONFIG_NET_SCH_CBS is not set
kernel-3.10.0-x86_64-debug.config:# CONFIG_NET_SCH_CBS is not set

I'll close this as deferred, as this can change in the future. Feel free to reopen if needed.

Comment 6 Ivan Vecera 2019-04-23 14:22:17 UTC
(In reply to Andrea Claudi from comment #5)
> According to https://bugzilla.redhat.com/show_bug.cgi?id=1557250#c16, CBS is
> disabled on rhel7.6 as there is no request from customers for this.
> 
This is truth but for RHEL-7.6... The kernel config option is now enabled for RHEL-7.7 (https://bugzilla.redhat.com/show_bug.cgi?id=1642506) and is available in kernel-3.10.0-1040.el7 and newer.
Thus re-opening.

> From a quick look at conf files, I can confirm this on rhel7.7:
> aclaudi@renaissance-vector:~/.../redhat/configs (rhel7)$ grep -rI CBS *
> kernel-3.10.0-ppc64.config:# CONFIG_NET_SCH_CBS is not set
> kernel-3.10.0-ppc64-debug.config:# CONFIG_NET_SCH_CBS is not set
> kernel-3.10.0-ppc64le.config:# CONFIG_NET_SCH_CBS is not set
> kernel-3.10.0-ppc64le-debug.config:# CONFIG_NET_SCH_CBS is not set
> kernel-3.10.0-s390x.config:# CONFIG_NET_SCH_CBS is not set
> kernel-3.10.0-s390x-debug.config:# CONFIG_NET_SCH_CBS is not set
> kernel-3.10.0-x86_64.config:# CONFIG_NET_SCH_CBS is not set
> kernel-3.10.0-x86_64-debug.config:# CONFIG_NET_SCH_CBS is not set
> 
> I'll close this as deferred, as this can change in the future. Feel free to
> reopen if needed.

Comment 7 Andrea Claudi 2019-06-06 13:59:10 UTC
Moving this to RHEL-7.8.

Comment 8 Andrea Claudi 2019-12-05 18:08:29 UTC
Hi Ivan, is there a customer request for this?
If not, I am going to CLOSE/WONTFIX this, as this is fully supported by iproute in rhel-8.

Comment 9 Ivan Vecera 2019-12-06 06:52:48 UTC
(In reply to Andrea Claudi from comment #8)
> Hi Ivan, is there a customer request for this?
> If not, I am going to CLOSE/WONTFIX this, as this is fully supported by
> iproute in rhel-8.

The support for CBS (with offloading) was enabled in RHEL-7.7 by bz#1642506 and this feature was requested by HPE.

Comment 10 Andrea Claudi 2019-12-06 16:24:56 UTC
Thanks Ivan, moving to rhel-7.9.

Comment 19 errata-xmlrpc 2020-09-29 20:28:24 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 (iproute 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-2020:3999