Bug 208043 - ETHTOOL_OPTS not supported for bridge interface
Summary: ETHTOOL_OPTS not supported for bridge interface
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-26 01:05 UTC by Bradley
Modified: 2014-03-17 03:02 UTC (History)
2 users (show)

Fixed In Version: 8.52-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-16 23:51:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch (475 bytes, patch)
2006-09-26 01:05 UTC, Bradley
no flags Details | Diff

Description Bradley 2006-09-26 01:05:41 UTC
Description of problem:

ETHTOOL_OPTS is ignored for ethernet interfaces that are part of a bridge interface

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

initscripts-8.31.5-1

How reproducible:


Steps to Reproduce:
1. Add ETHTOOL_OPTS="speed 100 duplex full autoneg no" to an interface that is
part of a bridge
2. /sbin/ifup ethX
3. ethtool ethX
  
Actual results:

speed/duplex/autoneg settings are not applied

Expected results:

speed/duplex/autoneg settings are applied

Additional info:

Needs a call to ethtool (*before* calling brctl, so that the STP path costs/etc
are correct)

Patch attached.

BTW, shouldn't all the opts be set before the link is brought up with |ip link
set dev up|, |ifenslave|, etc? Changing these params will just bounce the link
again. I made the patch match the logic in all the other places, though.

Comment 1 Bradley 2006-09-26 01:05:41 UTC
Created attachment 137102 [details]
patch

Comment 2 Bill Nottingham 2007-04-16 23:51:57 UTC
Added in CVS, will be in 8.52-1. Sorry about the delay.


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