Re: Flow Director statistics for ixgbe(4)

2013-09-30 Thread Luigi Rizzo
Wouldn't it be better to make this type of code (sysctl and stat fetching) table-driven so that it has a smaller footprint in the source (better readability, less error prone) and binary code ? One static table could store the various per-counter info (stat_list offset, sysctl name, REG_NAME, REG_

Re: Flow Director statistics for ixgbe(4)

2013-09-30 Thread Takuya ASADA
2013/10/1 hiren panchasara > > > > On Mon, Sep 30, 2013 at 1:48 PM, Takuya ASADA wrote: > >> Hi, >> >> descriptions are added. >> > > Great. > > My minor suggestions (you can ignore them :-)) > > from > "Number of filters addition events that do not change the number of free" > to > "Number of f

Re: Flow Director statistics for ixgbe(4)

2013-09-30 Thread hiren panchasara
On Mon, Sep 30, 2013 at 1:48 PM, Takuya ASADA wrote: > Hi, > > descriptions are added. > Great. My minor suggestions (you can ignore them :-)) from "Number of filters addition events that do not change the number of free" to "Number of failed filter addition events" (I believe, "do not change

Re: Flow Director statistics for ixgbe(4)

2013-09-30 Thread Takuya ASADA
Hi, descriptions are added. 2013/10/1 hiren panchasara > > > > On Mon, Sep 30, 2013 at 12:02 PM, Takuya ASADA wrote: > >> Hi, >> >> This is originally part of "ixgbetool" patch, but I think it can be >> discuss >> separately: >> >> http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sys

Re: Flow Director statistics for ixgbe(4)

2013-09-30 Thread hiren panchasara
On Mon, Sep 30, 2013 at 12:02 PM, Takuya ASADA wrote: > Hi, > > This is originally part of "ixgbetool" patch, but I think it can be discuss > separately: > > http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sysctls-to-ixgbe-4-was-netmap-traffic-distribution-tp5847066p5847789.html > > I i

Flow Director statistics for ixgbe(4)

2013-09-30 Thread Takuya ASADA
Hi, This is originally part of "ixgbetool" patch, but I think it can be discuss separately: http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sysctls-to-ixgbe-4-was-netmap-traffic-distribution-tp5847066p5847789.html I implemented sysctls to expose Flow Director statistics. It works like t

Re: Exposing sysctls for ixgbe

2013-09-30 Thread hiren panchasara
+ jfv On Wed, Sep 25, 2013 at 5:35 PM, Adrian Chadd wrote: > please cc jfv and get them into his driver. :) > > -a > > > On 24 September 2013 23:53, hiren panchasara wrote: > >> Any comments? >> >> cheers, >> Hiren >> >> On Sun, Sep 22, 2013 at 12:01 PM, hiren panchasara > >wrote: >> >> > $ sy

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-30 Thread hiren panchasara
On Sep 30, 2013 5:08 AM, "Takuya ASADA" wrote: > > Hi, > > This is updated version of the patch. I will give this a try today. Cheers Hiren > Signature filter list feature is added. > > Here're usage of ixgbetool: > - add a filter > ixgbetool ix0 add_sig_filter tcpv4 10.1.0.1 34763 10.1.0.2 22

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-30 Thread Takuya ASADA
Hi, This is updated version of the patch. Signature filter list feature is added. Here're usage of ixgbetool: - add a filter ixgbetool ix0 add_sig_filter tcpv4 10.1.0.1 34763 10.1.0.2 22 3 - show filters ixgbetool ix0 show_sig_filter - del a filter ixgbetool ix0 del_sig_filter 1 2013/9/30 Taku

Current problem reports assigned to freebsd-net@FreeBSD.org

2013-09-30 Thread FreeBSD bugmaster
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker

Re: Intel 82580 lagg(4) problem

2013-09-30 Thread Adrian Chadd
Hi, There's a lagg/lacp option to not hash based on the incoming assigned flowid on the incoming mbuf when transmitting but instead calculate its own hash for outbound transmission. It's net.link.lagg.0.use_flowid . Set it to 0 and retry. Thanks, -adrian On 30 September 2013 02:10, Andriy Ko

Intel 82580 lagg(4) problem

2013-09-30 Thread Andriy Kopystyansky
Greetings! We've got a strange problem with lagg(4) interfaces built on Intel's 82580 chipset igb (dual port 1Gb card). We cannot send over lagg interface more than ~1Gb/s, yet receiving ~2GB over it. Looks like something indicating the problem can be seen here: anri@host:[8:13]~#ifstat -i l