netdev
[Top] [All Lists]

Re: [RFC] Configuring synchronous interfaces in Linux

To: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Donald Becker <becker@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Subject: Re: [RFC] Configuring synchronous interfaces in Linux
From: Keith Owens <kaos@xxxxxxxxxx>
Date: Mon, 04 Dec 2000 07:41:06 +1100
In-reply-to: Your message of "Mon, 04 Dec 2000 07:29:10 +1100." <4778.975875350@xxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
On Mon, 04 Dec 2000 07:29:10 +1100, 
Keith Owens <kaos@xxxxxxxxxx> wrote:
>On Sun, 3 Dec 2000 07:43:01 -0600 (CST), 
>Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>On Sun, 3 Dec 2000, Keith Owens wrote:
>>> If you go down this path, please add a standard performance monitoring
>>> method to query the current capacity of an interface.
>>Well, ethtool interface supports reporting media selection as well as
>>[re]setting media setting.  I dunno if we could report what capacity
>>an interface is handling without adding code to hot paths...
>
>You calculate the capacity during ifconfig up or during speed change.
>That is not on the hot path.

Replying to my own mail, I just realised it was ambiguous.  By "current
capacity" I mean the maximum capacity of the link based on the current
settings.  We can get capacity _used_ from the byte counters, we do not
have a figure for maximum capacity.


<Prev in Thread] Current Thread [Next in Thread>