aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-09-27 13:35:09 -0700
committerBen Pfaff <blp@nicira.com>2011-10-18 13:43:39 -0700
commiteddfcba7ed6b169030451390f47e7efb23f732af (patch)
treec6b95d5d07271b1b0993d2371840e7a1195a2b15 /include
parent4cb3fde7c9224ca4f939852c5e7987fc5112d680 (diff)
learn: Correct example in nicira-ext.h and add examples as test cases.
Diffstat (limited to 'include')
-rw-r--r--include/openflow/nicira-ext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h
index 51f21f00..a6d2db45 100644
--- a/include/openflow/nicira-ext.h
+++ b/include/openflow/nicira-ext.h
@@ -784,7 +784,8 @@ enum nx_mp_algorithm {
* actions=load:A->NXM_NX_REG1[16..31]".
*
* In syntax accepted by ovs-ofctl, this action is: learn(in_port=99,
- * NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[], NXM_OF_IN_PORT[]->NXM_NX_REG1[16..31])
+ * NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],
+ * load:NXM_OF_IN_PORT[]->NXM_NX_REG1[16..31])
*
* 2. Output to input port based on the source MAC and VLAN VID, with lookup
* into NXM_NX_REG1[16:31]: