From: Ethan Jackson Date: Fri, 14 Jun 2013 01:10:00 +0000 (-0700) Subject: ofproto-dpif-xlate: Hide MAX_RESUBMIT_RECURSION. X-Git-Tag: sliver-openvswitch-1.10.90-3~6^2~105 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8a553e9afc412fb434f2352f27e75700ade88bd1;p=sliver-openvswitch.git ofproto-dpif-xlate: Hide MAX_RESUBMIT_RECURSION. Signed-off-by: Ethan Jackson --- diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index f506c283b..0a577b170 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -43,6 +43,10 @@ COVERAGE_DEFINE(ofproto_dpif_xlate); VLOG_DEFINE_THIS_MODULE(ofproto_dpif_xlate); +/* Maximum depth of flow table recursion (due to resubmit actions) in a + * flow translation. */ +#define MAX_RESUBMIT_RECURSION 64 + struct xlate_ctx { struct xlate_in *xin; struct xlate_out *xout; diff --git a/ofproto/ofproto-dpif-xlate.h b/ofproto/ofproto-dpif-xlate.h index 461a6aa38..9ee9b330a 100644 --- a/ofproto/ofproto-dpif-xlate.h +++ b/ofproto/ofproto-dpif-xlate.h @@ -22,10 +22,6 @@ #include "ofproto-dpif.h" #include "tag.h" -/* Maximum depth of flow table recursion (due to resubmit actions) in a - * flow translation. */ -#define MAX_RESUBMIT_RECURSION 64 - struct xlate_out { /* Wildcards relevant in translation. Any fields that were used to * calculate the action must be set for caching and kernel