> On Sep 21, 2016, at 7:01 PM, Dzuy Pham <pham.d...@gmail.com> wrote: > > Hey, > > I'm looking to understand the process of how the userspace gets access to, > and retrieves the packet_count and byte_count stats in the kernelspace > whenever a new packet comes in the vport. > > I'm trying to extend these statistics to include more data and am having > trouble in sending extra data from kernelspace to userspace.
The userspace periodically retrieves statistics from the kernel; they're not pushed up from the kernel. Try poking around "lib/dpif-netdev.c" if you're curious how it works. --Justin _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss