kern/183271: statistic not updated on em in netmap mode

hiren panchasara hiren at FreeBSD.org
Fri Oct 25 20:40:01 UTC 2013


The following reply was made to PR kern/183271; it has been noted by GNATS.

From: hiren panchasara <hiren at FreeBSD.org>
To: bug-followup at FreeBSD.org, aleksey.v.fedorov at 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


More information about the freebsd-bugs mailing list