Flow Director statistics for ixgbe(4)

Takuya ASADA syuu at dokukino.com
Mon Sep 30 20:49:14 UTC 2013


Hi,

descriptions are added.


2013/10/1 hiren panchasara <hiren.panchasara at gmail.com>

>
>
>
> On Mon, Sep 30, 2013 at 12:02 PM, Takuya ASADA <syuu at dokukino.com> 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 implemented sysctls to expose Flow Director statistics.
>> It works like this:
>> $ sysctl dev.ix.0.mac_stats|grep fdir
>> dev.ix.0.mac_stats.fdirfree_free: 8192
>> dev.ix.0.mac_stats.fdirfree_coll: 0
>> dev.ix.0.mac_stats.fdirustat_add: 0
>> dev.ix.0.mac_stats.fdirustat_remove: 0
>> dev.ix.0.mac_stats.fdirfstat_fadd: 0
>> dev.ix.0.mac_stats.fdirfstat_fremove: 0
>> dev.ix.0.mac_stats.fdirmatch: 0
>> dev.ix.0.mac_stats.fdirmiss: 23
>>
>
> I am running this with the ixgbetool patch you have and only 1 issue I've
> seen so far: fdirustat_add increments on adding a filter but
> fdirustat_remove does not on deleting one (if thats how its supposed to
> work)
>
> Can you please populate "description" for all the sysctls you are adding?
> :-)
>
> Cheers,
> Hiren
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdirsysctl-v002.diff
Type: application/octet-stream
Size: 4291 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20131001/d53d947c/attachment.obj>


More information about the freebsd-net mailing list