]> git.proxmox.com Git - mirror_ovs.git/commit
sflow: Expose ethernet stats via sFlow
authorRobert Wojciechowicz <robertx.wojciechowicz@intel.com>
Fri, 24 Feb 2017 11:57:04 +0000 (11:57 +0000)
committerBen Pfaff <blp@ovn.org>
Thu, 9 Mar 2017 05:17:30 +0000 (21:17 -0800)
commit934386dd129a3f15b2546562a775f2f43dd3aac6
tree98d0bb98e9e5c4712a1918408e3490e3e0268c1a
parent6c7050b59c50f060492e47126ca43dc6113e5860
sflow: Expose ethernet stats via sFlow

Expose existing netdev stats via sFlow.
Export sFlow ETHERNET structure with available counters.
Map existing stats to counters in the GENERIC INTERFACE
sFlow structure.
Adjust unit test to accommodate these new counters.

Signed-off-by: Robert Wojciechowicz <robertx.wojciechowicz@intel.com>
Acked-by: Neil McKee <neil.mckee@inmon.com>
Acked-by: Ian Stokes <ian.stokes@intel.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-sflow.c
tests/ofproto-dpif.at
tests/test-sflow.c