Date: Sat, 19 Nov 2011 11:46:05 +0000 From: <Hartmut.Brandt@dlr.de> To: <maksim.yevmenkin@gmail.com>, <jmallett@freebsd.org> Cc: freebsd-net@freebsd.org Subject: RE: confused with if_baudrate Message-ID: <611243783F62AF48AFB07BC25FA4B1060BE5F4C7@dlrexmbx02.intra.dlr.de> In-Reply-To: <CAFPOs6qGgmiaEdLHhmkZ7aQvjhv836-kiWXw5X22xt5cvmRtfw@mail.gmail.com> References: <CAFPOs6oVZ-%2B8%2B37SoDQmSawAOYnZBAQbLstPaJ5i3wScd8WVeQ@mail.gmail.com> <CACVs6=_HOGNhc84hL7yN1NxmS%2BEO5ykEQhOAQuBvjiyxe9JPrg@mail.gmail.com>, <CAFPOs6qGgmiaEdLHhmkZ7aQvjhv836-kiWXw5X22xt5cvmRtfw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,=0A= =0A= the 64-bit statistics counters are also likely to be wrong, if the polling = interval is too short (it is determined by the interface in the system with= the highest baudrate). This can be fixed by setting begemotIfPoll to an ap= propriate value in bsnmp, though.=0A= =0A= harti=0A= ________________________________________=0A= From: owner-freebsd-net@freebsd.org [owner-freebsd-net@freebsd.org] on beha= lf of Maksim Yevmenkin [maksim.yevmenkin@gmail.com]=0A= Sent: Friday, November 18, 2011 9:53 PM=0A= To: Juli Mallett=0A= Cc: freebsd-net=0A= Subject: Re: confused with if_baudrate=0A= =0A= On Thu, Nov 17, 2011 at 1:39 PM, Juli Mallett <jmallett@freebsd.org> wrote:= =0A= > On Thu, Nov 17, 2011 at 13:12, Maksim Yevmenkin=0A= > <maksim.yevmenkin@gmail.com> wrote:=0A= >> hello,=0A= >>=0A= >> i'm a little bit confused about if_baudrate. from system headers=0A= >>=0A= >> #define if_baudrate if_data.ifi_baudrate=0A= >>=0A= >> and=0A= >>=0A= >> u_long ifi_baudrate; /* linespeed */=0A= >>=0A= >> so, i'm taking this as if_baudrate really should be an interface line=0A= >> speed in megabits per second. am i correct? if so, then it appears=0A= >> that at least some drivers lie about true line speed. for example from= =0A= >> ixgbe(4)=0A= >>=0A= >> ifp->if_baudrate =3D 1000000000;=0A= >>=0A= >> it looks like its order of magnitude lower (i.e. 1 gigabit per second=0A= >> instead of 10 gigabits per second). am i missing something here or its= =0A= >> just a typo?=0A= >=0A= > ixgbe's developer is excessively concerned about overflow on 32-bit=0A= > hosts (and unwilling to correct it under a preprocessor conditional),=0A= > unlike several of the other 10GbE driver developers, although I think=0A= > one 10GbE driver opts to omit if_baudrate entirely.=0A= =0A= well, this is unfortunate as if_baudrate reported as part of ifmib,=0A= so, when interface is monitored over snmp value of ifSpeed and=0A= HCOutSpeed can not be trusted :(=0A= =0A= thanks,=0A= max=0A= _______________________________________________=0A= freebsd-net@freebsd.org mailing list=0A= http://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= =0A=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?611243783F62AF48AFB07BC25FA4B1060BE5F4C7>