projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89993f
)
nicira-ext: Fix NXM example.
author
Ben Pfaff
<blp@nicira.com>
Tue, 9 Aug 2011 20:46:51 +0000
(13:46 -0700)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/include/openflow/nicira-ext.h
b/include/openflow/nicira-ext.h
index 776ec39157d168aaa754bbe46692d0bc929a73a7..bbe96b35bbbd7ad5baffb2a1b2534ba5f10d89e3 100644
(file)
--- a/
include/openflow/nicira-ext.h
+++ b/
include/openflow/nicira-ext.h
@@
-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
* +------------+---+---+