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 707142 - Can't change lacp_rate in bonding mode=802.3ad
Summary: Can't change lacp_rate in bonding mode=802.3ad
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Weiping Pan
QA Contact: Hangbin Liu
URL:
Whiteboard:
Depends On:
Blocks: 718641
TreeView+ depends on / blocked
 
Reported: 2011-05-24 08:02 UTC by Liang Zheng
Modified: 2015-01-04 21:54 UTC (History)
8 users (show)

Fixed In Version: kernel-2.6.32-178.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 718641 (view as bug list)
Environment:
Last Closed: 2011-12-06 13:32:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1530 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux 6 kernel security, bug fix and enhancement update 2011-12-06 01:45:35 UTC

Description Liang Zheng 2011-05-24 08:02:49 UTC
Description of problem:
The bonding cannot change the LACPDU tx rate to request from 802.3ad partner when reset the parm:lacp_rate

Version-Release number of selected component (if applicable):
[root@hp-dl585g7-02 ~]# uname -r
2.6.32-131.0.15.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.config switch to support 802.3ad
2.modprobe bonding mode=4 miimon=100 lacp_rate=1
3.ifconfig bond0 up
4.ifenslave bond0 eth1 eth7
5.tcpdump -p -e ether proto 0x8809 -i bond0 
  You can see request partner to transmit LACPDUs every 1 second
[root@hp-dl580g7-01 ~]# tcpdump -p ether proto 0x8809 -i bond0
tcpdump: WARNING: bond0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bond0, link-type EN10MB (Ethernet), capture size 65535 bytes
03:58:42.302350 LACPv1, length 110
03:58:43.312393 LACPv1, length 110
03:58:44.312413 LACPv1, length 110
03:58:45.312478 LACPv1, length 110

5.ifconfig bond0 down
6.echo 0 > /sys/class/net/bond0/bonding/lacp_rate
  cat /proc/net/bonding/bond0
[root@hp-dl580g7-01 ~]# cat /proc/net/bonding/bond0 
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow         <====================
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
	Aggregator ID: 2
	Number of ports: 1
	Actor Key: 33
	Partner Key: 0
	Partner Mac Address: 00:05:73:dd:9a:3c

7.ifconfig bond0 up 
  tcpdump -p -e ether proto 0x8809 -i bond0
  It still request partner to transmit LACPDUs every 1 second,
  didnot change to slow in every 30 second.

  
Actual results:


Expected results:


Additional info:

Comment 1 Weiping Pan 2011-07-04 06:08:12 UTC
I‘ve made a patch, and committed to net-next tree,
git log ba824a8b2d77 (bonding: make 802.3ad use latest lacp_rate).

This patch is waiting to be merged into upstream.
Once merged, I will backport it to rhel 6 and rhel 5.

Comment 4 RHEL Program Management 2011-07-28 20:10:20 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 5 Kyle McMartin 2011-08-04 16:06:53 UTC
Patch(es) available on kernel-2.6.32-178.el6

Comment 10 errata-xmlrpc 2011-12-06 13:32:40 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1530.html


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