[ovs-dev] [mega mask stats v2 2/2] dpif-linux: collect and display mega flow mask stats

Ben Pfaff blp at nicira.com
Fri Oct 18 18:17:41 UTC 2013


On Thu, Oct 17, 2013 at 03:12:43PM -0700, Andy Zhou wrote:
> Signed-off-by: Andy Zhou <azhou at nicira.com>

In show_dpif(), I think it's theoretically possible, at least, for
n_pkts to be 0, in which case the calculation of 'avg' would be a
division by zero.  I think we should probably avoid that.

Otherwise:
Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list