[ovs-dev] Followup - Stochastic Group Bucket Selection

2014-02-15 Thread Mohammad Ali Salahuddin
Hello Everyone, I realized that the call to srand(time(NULL)) in my changes below may be contributing towards the same bucket being selected. Can you please tell me an appropriate function ( *main*()/*init*() ) to initialize the pseudo-random number generator (i.e. srand(time(NULL)))? Your help

Re: [ovs-dev] [patch net] ovs: fix dp check in ovs_dp_reset_user_features

2014-02-15 Thread Jesse Gross
On Fri, Feb 14, 2014 at 2:42 AM, Jiri Pirko wrote: > This fixes crash when userspace does "ovs-dpctl add-dp dev" where dev is > existing non-dp netdevice. > > Introduced by: > commit 44da5ae5fbea4686f667dc854e5ea16814e44c59 > "openvswitch: Drop user features if old user space attempted to create

[ovs-dev] Open vSwitch kernel: On vacation

2014-02-15 Thread Jesse Gross
I will be on vacation and traveling for the next three weeks. During this time Pravin has offered to act as the Open vSwitch kernel maintainer to review and apply patches. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/d

[ovs-dev] Stochastic Group Bucket Selection in OVS 2.1

2014-02-15 Thread Mohammad Ali Salahuddin
Hello Everyone, I am experimenting with group "select" feature in OVS 2.1 prerelease (branch-2.1). I have *only* modified the "group_best_live_bucket" function to stochastically choose a bucket based on bucket weights (as shown below). // for stochastic switchingstatic const struct ofputil_bucket

[ovs-dev] Updating OpenFlow

2014-02-15 Thread Mohammad Ali Salahuddin
Hello, I have followed instructions on the following link to update OVS in Mininet (I used the build and install option 2): https://github.com/mininet/mininet/wiki/Installing-new-version-of-Open-vSwitch I have used OVS 2.1 prerelease (branch-2.1). However, when I use the ovs-ofctl to check

[ovs-dev] Stochastic Group Bucket Selection

2014-02-15 Thread Mohammad Ali Salahuddin
Hello Everyone, I am experimenting with group "select" feature in OVS 2.1 prerelease branch-2.1. I have *only* modified the "group_best_live_bucket()" function in "ofproto-dpif-xlate.c" to stochastically choose a bucket based on bucket weights (as shown below). I did not change the "xlate_select