Skip to content

Commit 0da6103

Browse files
Thadeu Lima de Souza Cascardoblp
authored andcommitted
Change some old references to nicira-ext.h.
Some of these references are not valid anymore, as things were moved to either meta-flow.h or ofp-actions.c. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
1 parent 4a47813 commit 0da6103

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

lib/bundle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct ofpbuf;
3434

3535
/* NXAST_BUNDLE helper functions.
3636
*
37-
* See include/openflow/nicira-ext.h for NXAST_BUNDLE specification. */
37+
* See lib/ofp-actions.c for NXAST_BUNDLE specification. */
3838

3939
#define BUNDLE_MAX_SLAVES 2048
4040

lib/learn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct nx_action_learn;
3030

3131
/* NXAST_LEARN helper functions.
3232
*
33-
* See include/openflow/nicira-ext.h for NXAST_LEARN specification.
33+
* See lib/ofp-actions.c for NXAST_LEARN specification.
3434
*/
3535

3636
enum ofperr learn_check(const struct ofpact_learn *, const struct flow *);

lib/meta-flow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ mf_are_prereqs_ok(const struct mf_field *mf, const struct flow *flow,
416416
* all. For example, the MFF_VLAN_TCI field will never have a nonzero value
417417
* without the VLAN_CFI bit being set, but we can't reject those values because
418418
* it is still legitimate to test just for those bits (see the documentation
419-
* for NXM_OF_VLAN_TCI in nicira-ext.h). On the other hand, there is never a
419+
* for NXM_OF_VLAN_TCI in meta-flow.h). On the other hand, there is never a
420420
* reason to set the low bit of MFF_IP_DSCP to 1, so we reject that. */
421421
bool
422422
mf_is_value_valid(const struct mf_field *mf, const union mf_value *value)

tests/learn.at

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ AT_CLEANUP
4545

4646
AT_SETUP([learning action - examples])
4747
AT_DATA([flows.txt], [[
48-
# These are the examples from nicira-ext.h.
48+
# These are the examples from ofp-actions.c.
4949
actions=learn(in_port=99,NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[], load:NXM_OF_IN_PORT[]->NXM_NX_REG1[16..31])
5050
actions=learn(NXM_OF_VLAN_TCI[0..11], NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],output:NXM_OF_IN_PORT[])
5151
table=0 actions=learn(table=1,hard_timeout=10, NXM_OF_VLAN_TCI[0..11],output:NXM_OF_IN_PORT[]), resubmit(,1)

tutorial/Tutorial.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ tutorial will not help you.
2020
This tutorial does not cover every aspect of the features that it
2121
mentions. You can find the details elsewhere in the Open vSwitch
2222
documentation, especially `ovs-ofctl(8)` and the comments in the
23-
`include/openflow/nicira-ext.h` header file.
23+
`include/openflow/nicira-ext.h` and `include/openvswitch/meta-flow.h`
24+
header files.
2425

2526
> In this tutorial, paragraphs set off like this designate notes
2627
> with additional information that readers may wish to skip on a

vswitchd/vswitch.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3298,7 +3298,7 @@
32983298
<code><var>field</var>[]</code> or
32993299
<code><var>field</var>[<var>start</var>..<var>end</var>]</code>,
33003300
e.g. <code>NXM_OF_IN_PORT[]</code>. Please see
3301-
<code>nicira-ext.h</code> for a complete list of NXM field names.
3301+
<code>meta-flow.h</code> for a complete list of NXM field names.
33023302
</p>
33033303

33043304
<p>

0 commit comments

Comments
 (0)