Re: [ovs-dev] [mega mask stats v2 1/2] datapath: collect mega flow mask stats

2013-10-18 Thread Jesse Gross
On Fri, Oct 18, 2013 at 8:37 AM, Andy Zhou wrote: > On Thu, Oct 17, 2013 at 4:37 PM, Jesse Gross wrote: >> One question on the interface - I noticed that the n_masks field is 64 >> bit. I guess this is to provide some kind of regular structure since I >> hope we never have that many masks... > >

Re: [ovs-dev] [mega mask stats v2 1/2] datapath: collect mega flow mask stats

2013-10-17 Thread Jesse Gross
On Thu, Oct 17, 2013 at 3:12 PM, Andy Zhou wrote: > Collect mega flow mask stats. ovs-dpctl show command can be used to > display them. > > Signed-off-by: Andy Zhou Sorry, I noticed a couple other things this time around, one important and a couple minor. > diff --git a/datapath/datapath.c b/da

[ovs-dev] [mega mask stats v2 1/2] datapath: collect mega flow mask stats

2013-10-17 Thread Andy Zhou
Collect mega flow mask stats. ovs-dpctl show command can be used to display them. Signed-off-by: Andy Zhou --- v1-v2: * remove get_dp_megaflow_stats(), extend get_dp_stats() instead * use __always_unused instead of GCC extensions * fix comments * fix the logic of