Re: [ovs-dev] [PATCH 02/18] vconn: Add ofputil_version_bitmap

2012-10-23 Thread Simon Horman
On Tue, Oct 23, 2012 at 08:58:15AM -0700, Ben Pfaff wrote: > On Thu, Oct 18, 2012 at 02:58:02PM +0900, Simon Horman wrote: > > Data structure to store allowed versions as a bitmap. > > > > Bit offsets correspond to ofp_version numbers which in turn > > correspond to wire-protocol numbers for Open

Re: [ovs-dev] [PATCH 02/18] vconn: Add ofputil_version_bitmap

2012-10-23 Thread Ben Pfaff
On Thu, Oct 18, 2012 at 02:58:02PM +0900, Simon Horman wrote: > Data structure to store allowed versions as a bitmap. > > Bit offsets correspond to ofp_version numbers which in turn > correspond to wire-protocol numbers for Open Flow versions.. > E.g. (1 << OFP10_VERSION) is the mask for Open Flow

[ovs-dev] [PATCH 02/18] vconn: Add ofputil_version_bitmap

2012-10-17 Thread Simon Horman
Data structure to store allowed versions as a bitmap. Bit offsets correspond to ofp_version numbers which in turn correspond to wire-protocol numbers for Open Flow versions.. E.g. (1 << OFP10_VERSION) is the mask for Open Flow 1.1. If the bit for a version is set then it is allowed, otherwise it i