nicira-ext: Fix NXM example.
authorBen Pfaff <blp@nicira.com>
Tue, 9 Aug 2011 20:46:51 +0000 (13:46 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 9 Aug 2011 20:53:21 +0000 (13:53 -0700)
The code and the specification say that nxm_length includes both value
and mask, but this example showed nxm_length only including the value.
This commit fixes it.

Reported-by: Justin Pettit <jpettit@nicira.com>
include/openflow/nicira-ext.h

index 776ec39..bbe96b3 100644 (file)
@@ -918,7 +918,7 @@ enum nx_bd_algorithm {
  * numbers and byte indexes.
  *
  *
- * 8-bit nxm_value, nxm_hasmask=1, nxm_length=1:
+ * 8-bit nxm_value, nxm_hasmask=1, nxm_length=2:
  *
  *  0          3  4   5
  * +------------+---+---+