2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

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: 04f48a68c4 ("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>
This commit is contained in:
Yi-Hung Wei
2017-02-17 17:47:44 -08:00
committed by Joe Stringer
parent 0f8469b4c0
commit aafee63821
11 changed files with 81 additions and 46 deletions

View File

@@ -26,6 +26,8 @@
#include "openvswitch/ofp-errors.h"
#include "openvswitch/types.h"
struct vl_mff_map;
/* List of OVS abstracted actions.
*
* This macro is used directly only internally by this header, but the list is