This is in preparation for using this value in ofproto-dpif-xlate.c when composing recirculation actions added as a result of processing (MPLS) actions.
Signed-off-by: Simon Horman <ho...@verge.net.au> --- v3 - v6 * No change v2 * First post --- ofproto/bond.c | 1 - ofproto/ofproto-dpif.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ofproto/bond.c b/ofproto/bond.c index 803408b..962d4d6 100644 --- a/ofproto/bond.c +++ b/ofproto/bond.c @@ -56,7 +56,6 @@ static struct hmap *const all_bonds OVS_GUARDED_BY(rwlock) = &all_bonds__; /* Bit-mask for hashing a flow down to a bucket. */ #define BOND_MASK 0xff #define BOND_BUCKETS (BOND_MASK + 1) -#define RECIRC_RULE_PRIORITY 20 /* Priority level for internal rules */ /* A hash bucket for mapping a flow to a slave. * "struct bond" has an array of BOND_BUCKETS of these. */ diff --git a/ofproto/ofproto-dpif.h b/ofproto/ofproto-dpif.h index e49616e..7d16056 100644 --- a/ofproto/ofproto-dpif.h +++ b/ofproto/ofproto-dpif.h @@ -27,6 +27,9 @@ #include "util.h" #include "ovs-thread.h" +/* Priority for internal rules created to handle recirculation */ +#define RECIRC_RULE_PRIORITY 20 + union user_action_cookie; struct dpif_flow_stats; struct ofproto; -- 2.0.0.rc2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev