From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-13-ewr.dyndns.com (mxout-151-ewr.mailhop.org [216.146.33.151]) by lists.bufferbloat.net (Postfix) with ESMTP id 373982E0079 for ; Mon, 28 Feb 2011 14:27:24 -0800 (PST) Received: from scan-12-ewr.mailhop.org (scan-12-ewr.local [10.0.141.230]) by mail-13-ewr.dyndns.com (Postfix) with ESMTP id F0970A4B14D for ; Mon, 28 Feb 2011 22:26:47 +0000 (UTC) X-Spam-Score: -1.0 () X-Mail-Handler: MailHop by DynDNS X-Originating-IP: 74.125.82.171 Received: from mail-wy0-f171.google.com (mail-wy0-f171.google.com [74.125.82.171]) by mail-13-ewr.dyndns.com (Postfix) with ESMTP id 9B12AA4AF90 for ; Mon, 28 Feb 2011 22:26:47 +0000 (UTC) Received: by wyf22 with SMTP id 22so5107846wyf.16 for ; Mon, 28 Feb 2011 14:26:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=rdogbd7Yqy/YShwOR9b8rtXeumZp2Zdp36YP41Vw5FA=; b=M0uiwtEUBfLBWEkvBo7Vg7Qd+j9ok29qPEJn6ohcNH8PIiHwpJIDLR1lUgSyiQWjPd HOxeaCcsODtT6PoN564dGoT7oQN4VsbqMCIJ1G/D6A6OwhxmIQv2w3Rbb2VsWh7dwSiw VnvVu+QwCkaEJhlY6nDxvSljNqvvUZd2PYsys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MkdHmW8xeEgUXTVV79qAbNPwepeCdGfvyD+EOYvEmeCAjFemaVFzUTctrxSzATvL6+ R0r4tqb85GW/1gnp1drePQ1sUYnx6IJVST4Rh2dx03IaS4DqmjvzKvJNE4LmqpIN/DIq iuE+HPIFC9OH8MBjbR34uQ+0bMr6sv3W0P+6k= MIME-Version: 1.0 Received: by 10.227.143.198 with SMTP id w6mr5532655wbu.37.1298932007005; Mon, 28 Feb 2011 14:26:47 -0800 (PST) Received: by 10.227.155.206 with HTTP; Mon, 28 Feb 2011 14:26:46 -0800 (PST) Date: Mon, 28 Feb 2011 17:26:46 -0500 Message-ID: Subject: Getting current interface queue sizes From: Justin McCann To: bloat Content-Type: multipart/alternative; boundary=0016363ba6bedd6edd049d5f2c27 X-BeenThere: bloat-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Developers working on AQM, device drivers, and networking stacks" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 22:27:24 -0000 --0016363ba6bedd6edd049d5f2c27 Content-Type: text/plain; charset=ISO-8859-1 This may be well-known, but how does one retrieve the current outgoing and incoming queue sizes from the link-layer interfaces? I mean the number of packets/bytes in the various queues, not the size of the buffers (potential queue size). I've mucked around with ethtool and netlink to grab other statistics, but haven't found any way to pull the current queue sizes into userspace. If there isn't any way to do it, I'll work on it if someone points me in the right direction. I'm mostly interested in the e1000 and bnx2 drivers at present. Thanks, Justin --0016363ba6bedd6edd049d5f2c27 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This may be well-known, but how does one retrieve the current outgoing and = incoming queue sizes from the link-layer interfaces? I mean the number of p= ackets/bytes in the various queues, not the size of the buffers (potential = queue size). I've mucked around with ethtool and netlink to grab other = statistics, but haven't found any way to pull the current queue sizes i= nto userspace.=A0

If there isn't any way to do it, I'll work on it if = someone points me in the right direction.=A0

I'= ;m mostly interested in the e1000 and bnx2 drivers at present.

Thanks,
=A0=A0 =A0Justin
--0016363ba6bedd6edd049d5f2c27--