Re: [ovs-dev] Reinterpret base for meter band types bitmap.

2013-08-21 Thread Ben Pfaff
On Wed, Aug 21, 2013 at 11:26:13AM -0700, Jarno Rajahalme wrote: > On Aug 12, 2013, at 9:57 PM, Ben Pfaff wrote: > > > OpenFlow 1.3 says that the band_types member of struct ofp_meter_features > > is a bitmap of OFPMBT_* values. The OFPMBT_* values are 1-based, so > > until now, to avoid wasting

Re: [ovs-dev] Reinterpret base for meter band types bitmap.

2013-08-21 Thread Jarno Rajahalme
On Aug 12, 2013, at 9:57 PM, Ben Pfaff wrote: > OpenFlow 1.3 says that the band_types member of struct ofp_meter_features > is a bitmap of OFPMBT_* values. The OFPMBT_* values are 1-based, so > until now, to avoid wasting bit 0, OVS mapped an OFPMBT_* with value 1 to > bit 0, value 2 to bit 1, a