From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1REivx-0005P3-HH for garchives@archives.gentoo.org; Fri, 14 Oct 2011 14:40:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0988B21C045; Fri, 14 Oct 2011 14:40:14 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 4426721C01F for ; Fri, 14 Oct 2011 14:39:20 +0000 (UTC) Received: from mail-dy0-f53.google.com ([209.85.220.53]) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1REiuw-002cB6-Kt for gentoo-user@lists.gentoo.org; Fri, 14 Oct 2011 21:39:22 +0700 Received: by dyi33 with SMTP id 33so54779dyi.40 for ; Fri, 14 Oct 2011 07:39:15 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.75.25 with SMTP id w25mr4630737faj.15.1318603155884; Fri, 14 Oct 2011 07:39:15 -0700 (PDT) Received: by 10.223.79.10 with HTTP; Fri, 14 Oct 2011 07:39:15 -0700 (PDT) Received: by 10.223.79.10 with HTTP; Fri, 14 Oct 2011 07:39:15 -0700 (PDT) In-Reply-To: References: <20111014161024.0077e297@toxic.dbnet> Date: Fri, 14 Oct 2011 21:39:15 +0700 Message-ID: Subject: Re: [gentoo-user] Set eth0 parameters via conf.d? From: Pandu Poluan To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0015174c1774b4cc9504af433825 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Archives-Salt: X-Archives-Hash: ff3aef6617ce077fac7b6b712d0ef9bc --0015174c1774b4cc9504af433825 Content-Type: text/plain; charset=UTF-8 On Oct 14, 2011 9:12 PM, "Jonas de Buhr" wrote: > > Am Fri, 14 Oct 2011 19:31:57 +0700 > schrieb Pandu Poluan : > > > Is it possible to set eth0 parameters (e.g., txqueuelen) > > via /etc/conf.d/net ? > > yes, set: > > txqueuelen_eth0="1000" > Ah , thanks! So, basically, any parameter settable using 'ip link set' can be declared as _eth0? > or whichever value you want. have a look at > > /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 > > your version of openrc may be different. in that case try > > locate net.example > I'm using openrc-0.9.3-r1 Rgds, --0015174c1774b4cc9504af433825 Content-Type: text/html; charset=UTF-8


On Oct 14, 2011 9:12 PM, "Jonas de Buhr" <jonas.de.buhr@gmx.net> wrote:
>
> Am Fri, 14 Oct 2011 19:31:57 +0700
> schrieb Pandu Poluan <pandu@poluan.info>:
>
> > Is it possible to set eth0 parameters (e.g., txqueuelen)
> > via /etc/conf.d/net ?
>
> yes, set:
>
> txqueuelen_eth0="1000"
>

Ah , thanks!

So, basically, any parameter settable using 'ip link set' can be declared as <parameter>_eth0?

> or whichever value you want. have a look at
>
> /usr/share/doc/openrc-0.8.3-r1/net.example.bz2
>
> your version of openrc may be different. in that case try
>
> locate net.example
>

I'm using openrc-0.9.3-r1

Rgds,

--0015174c1774b4cc9504af433825--