Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 3 Dec 2000 16:11:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 3 Dec 2000 16:11:48 -0500 Received: from ppp0.ocs.com.au ([203.34.97.3]:22284 "HELO mail.ocs.com.au") by vger.kernel.org with SMTP id ; Sun, 3 Dec 2000 16:11:38 -0500 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: Jeff Garzik , Donald Becker , linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: Re: [RFC] Configuring synchronous interfaces in Linux In-Reply-To: Your message of "Mon, 04 Dec 2000 07:29:10 +1100." <4778.975875350@ocs3.ocs-net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 Dec 2000 07:41:06 +1100 Message-ID: <4910.975876066@ocs3.ocs-net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 04 Dec 2000 07:29:10 +1100, Keith Owens wrote: >On Sun, 3 Dec 2000 07:43:01 -0600 (CST), >Jeff Garzik 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/