Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 21:00:01 GMT
From:      Aleksey Fedorov <aleksey.v.fedorov@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/183271: statistic not updated on em in netmap mode
Message-ID:  <201310252100.r9PL01cf012835@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/183271; it has been noted by GNATS.

From: Aleksey Fedorov <aleksey.v.fedorov@gmail.com>
To: hiren panchasara <hiren@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/183271: statistic not updated on em in netmap mode
Date: Sat, 26 Oct 2013 00:53:19 +0400

 Hi!
 
 I have several ixgbe and all work fine on them in 9.1 and 9.2.
 
 # netstat -I ix0 1
             input          (ix0)           output
    packets  errs idrops      bytes    packets  errs      bytes colls
     174164     0     0  219554276      93908     0  128263302     0
     174179     0     0  219555882      93418     0  127624014     0
     174573     0     0  220132392      94717     0  129380690     0
     173747     0     0  219101644      93755     0  128059768     0
 
 
 Problem is exactly with em network card.
 
 
 
 2013/10/26 hiren panchasara <hiren@freebsd.org>:
 > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310252100.r9PL01cf012835>