From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 25 20:40:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8E9A88DB for ; Fri, 25 Oct 2013 20:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7B2A42F95 for ; Fri, 25 Oct 2013 20:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9PKe1TB009074 for ; Fri, 25 Oct 2013 20:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9PKe1vM009073; Fri, 25 Oct 2013 20:40:01 GMT (envelope-from gnats) Date: Fri, 25 Oct 2013 20:40:01 GMT Message-Id: <201310252040.r9PKe1vM009073@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: hiren panchasara Subject: Re: kern/183271: statistic not updated on em in netmap mode X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: hiren panchasara List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 20:40:01 -0000 The following reply was made to PR kern/183271; it has been noted by GNATS. From: hiren panchasara To: bug-followup@FreeBSD.org, aleksey.v.fedorov@gmail.com Cc: Subject: Re: kern/183271: statistic not updated on em in netmap mode Date: Fri, 25 Oct 2013 13:37:54 -0700 Interesting. I see it working fine on -CURRENT. I did send pkts out of ix0 by putting it in netmap mode: -bash-4.2$ sudo ./pkt-gen -i ix0 -f tx -n 100000000 -c 8 -p 8 -d 10.73.149.69 -s 10.73.149.81 And at the same time, I could see it in netstat: -bash-4.2$ netstat -I ix0 1 input (ix0) output packets errs idrops bytes packets errs bytes colls 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12603624 0 806624256 0 0 0 0 0 13450685 0 860844928 0 0 0 0 0 13752809 0 880179648 0 0 0 0 0 13923070 0 891076544 0 input (ix0) output packets errs idrops bytes packets errs bytes colls 0 0 0 0 13658263 0 874127680 0 0 0 0 0 13529053 0 865859776 0 0 0 0 0 13452062 0 860931712 0 0 0 0 0 5630434 0 360355456 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 I will try to findout whats difference between current and 9.2 in this regard. cheers, Hiren