diff options
author | Yi-Hung Wei <yihung.wei@gmail.com> | 2017-02-17 17:47:44 -0800 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2017-02-21 11:36:32 -0800 |
commit | aafee638217b24eb165e052866a9be4e3f695ce9 (patch) | |
tree | e11ffc2e294cbfbc0ef205083fcaccbe74a38bd1 /ofproto/ofproto-provider.h | |
parent | 0f8469b4c0dd0e4b2d529a6c5b1bc585e768959d (diff) | |
download | openvswitch-aafee638217b24eb165e052866a9be4e3f695ce9.tar.gz |
meta-flow: Remove cmap dependency.
Previous patch 04f48a68 ("ofp-actions: Fix variable length meta-flow OXMs.")
introduced dependency of an internal library (cmap.h) to ovs public
interface (meta-flow.h) that may cause potential building problem. In this
patch, we remove cmap from struct mf_field, and provide a wrapper struct
vl_mff_map that resolve the dependency problem.
Fixes: 04f48a68c428 ("ofp-actions: Fix variable length meta-flow OXMs.")
Suggested-by: Joe Stringer <joe@ovn.org>
Suggested-by: Daniele Di Proietto <diproiettod@vmware.com>
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'ofproto/ofproto-provider.h')
-rw-r--r-- | ofproto/ofproto-provider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index 4808974b6..7d3e929f2 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -52,6 +52,7 @@ #include "timeval.h" #include "tun-metadata.h" #include "versions.h" +#include "vl-mff-map.h" struct match; struct ofputil_flow_mod; @@ -59,7 +60,6 @@ struct bfd_cfg; struct meter; struct ofoperation; struct ofproto_packet_out; -struct vl_mff_map; struct smap; extern struct ovs_mutex ofproto_mutex; |