Red Hat Bugzilla – Bug 124411
Hardcode txqueuelen in initscripts
Last modified: 2014-03-16 22:45:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
I'm looking for a way to hardcode the txqueuelen per interface using
the normal scripts. Based on the current scripts I don't think it is
possible so we have to do that post-boot (/etc/rc.d/rc.local).
Would a patch to allow changing the txqueuelen from ifcfg-<dev> be
accepted or is there some other way to have this setting hardcoded ?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
As an addendum to this feature request, I also need to set the media
(100Mbit, Full-duplex) per interface. So it would be nice if also the
media could be forced using variables in ifcfg-eth0.
Sadly some modules don't allow this as a module-parameter, eg. tg3. An
option in ifcfg-eth0 that uses mii-tool or ethtool would help.
PS I also think it's better to have the per-interface configuration in
one place (ifcfg-eth0) than several places (ifcfg-eth0 and
/etc/modules.conf or /etc/rc.d/rc.local).
If this would be accepted for a next RHEL3 update release, I'm willing
to do the scripting.
Media can be done with ETHTOOL_OPTS.
At this point, a feature like this won't be added to RHEL 3. For later releases,
this could be done in a variety of ways, including ifup-local, udev scripts, and