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

Attachment: fdirsysctl-v001.diff
Description: Binary data

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to