]> git.proxmox.com Git - mirror_ovs.git/commit
meta-flow: Remove cmap dependency.
authorYi-Hung Wei <yihung.wei@gmail.com>
Sat, 18 Feb 2017 01:47:44 +0000 (17:47 -0800)
committerJoe Stringer <joe@ovn.org>
Tue, 21 Feb 2017 19:36:32 +0000 (11:36 -0800)
commitaafee638217b24eb165e052866a9be4e3f695ce9
treee11ffc2e294cbfbc0ef205083fcaccbe74a38bd1
parent0f8469b4c0dd0e4b2d529a6c5b1bc585e768959d
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>
build-aux/extract-ofp-fields
include/openvswitch/meta-flow.h
include/openvswitch/ofp-actions.h
include/openvswitch/ofp-util.h
lib/automake.mk
lib/meta-flow.c
lib/nx-match.c
lib/nx-match.h
lib/ofp-actions.c
lib/vl-mff-map.h [new file with mode: 0644]
ofproto/ofproto-provider.h