From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 10:12:36 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B16FD94 for ; Wed, 11 Jun 2014 10:12:36 +0000 (UTC) Received: from odin.blazingdot.com (odin.blazingdot.com [204.109.60.170]) by mx1.freebsd.org (Postfix) with ESMTP id 5022F2584 for ; Wed, 11 Jun 2014 10:12:36 +0000 (UTC) Received: by odin.blazingdot.com (Postfix, from userid 1001) id CAFC3130CF5; Wed, 11 Jun 2014 06:05:18 -0400 (EDT) Date: Wed, 11 Jun 2014 06:05:18 -0400 From: Marcus Reid To: Stefan Ehmann Subject: Re: wlan0/iwn: no upload statistics Message-ID: <20140611100518.GA31433@blazingdot.com> References: <5392DACF.4050401@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5392DACF.4050401@gmx.net> X-Coffee-Level: nearly-fatal User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 10:12:36 -0000 On Sat, Jun 07, 2014 at 11:26:39AM +0200, Stefan Ehmann wrote: > Network monitoring tools show download traffic, but no upload data. I have an iwn0: and have the same problem. I was able to track it down to being some missing ifmib(4) data, secifically ifi_obytes from the if_data structure (see ifnet(9)). This was a little while back, and I seem to remember someone else with using iwn that didn't have the problem. Another thing is that if you do a 'netstat -I wlan0 -i 1', output bytes are missing, but if you look at iwn0 instead all you see is the output bytes and nothing else (except sometimes you get some numbers in the output packets column seemingly at random). Marcus > > systat -ifstat output: > Interface Traffic Peak Total > wlan0 in 1.066 KB/s 16.155 KB/s 377.757 MB > out 0.000 KB/s 0.000 KB/s 0.000 KB > > > Tested on amd64 CURRENT from few days ago. > > netword Card is: > iwn0: mem 0xf2000000-0xf2001fff irq 17 > at device 0.0 on pci3