Re: [ovs-dev] [PATCH 2/3] bridge: Refactor the stats and status update.

2014-09-19 Thread Alex Wang
Thx for the comments, all make sense, I'll adjust accordingly, On Fri, Sep 19, 2014 at 10:43 AM, Ben Pfaff wrote: > On Thu, Sep 18, 2014 at 03:18:12PM -0700, Alex Wang wrote: > > This commit refactors the stats and status update in bridge_run() > > by moving the corresponding code to separate fu

Re: [ovs-dev] [PATCH 2/3] bridge: Refactor the stats and status update.

2014-09-19 Thread Ben Pfaff
On Thu, Sep 18, 2014 at 03:18:12PM -0700, Alex Wang wrote: > This commit refactors the stats and status update in bridge_run() > by moving the corresponding code to separate functions. This > makes the code more organized. > > Signed-off-by: Alex Wang The variable 'stats_txn' could now be made

[ovs-dev] [PATCH 2/3] bridge: Refactor the stats and status update.

2014-09-18 Thread Alex Wang
This commit refactors the stats and status update in bridge_run() by moving the corresponding code to separate functions. This makes the code more organized. Signed-off-by: Alex Wang --- vswitchd/bridge.c | 211 - 1 file changed, 112 insertio