[ovs-dev] [PATCH 1/3] ofproto: Device stats should include packets generated by userspace/controller
Pravin Shelar
pshelar at nicira.com
Thu Dec 8 21:35:26 UTC 2011
Thanks,
I pushed this series to master.
On Thu, Dec 8, 2011 at 1:18 PM, Ben Pfaff <blp at nicira.com> wrote:
> Looks good, thanks.
>
> On Thu, Dec 08, 2011 at 01:17:56PM -0800, Pravin B Shelar wrote:
>> Here's incremental patch.
>> ---
>> ofproto/ofproto-dpif.c | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
>> index 14cdeee..1b654fd 100644
>> --- a/ofproto/ofproto-dpif.c
>> +++ b/ofproto/ofproto-dpif.c
>> @@ -670,6 +670,7 @@ construct(struct ofproto *ofproto_, int *n_tablesp)
>> hmap_init(&ofproto->realdev_vid_map);
>>
>> *n_tablesp = N_TABLES;
>> + memset(&ofproto->stats, 0, sizeof ofproto->stats);
>> return 0;
>> }
>>
>> --
>> 1.7.1
>>
>> _______________________________________________
>> dev mailing list
>> dev at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/dev
More information about the dev
mailing list