mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
meta-flow: Autogenerate mf_field data structures.
This is a first step toward improving the abstraction of OXM and NXM in the tree. As an immediate improvement, this commit removes all of the definitions of the OXM and NXM constants from the top-level header files, because they are no longer used anywhere. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -2232,7 +2232,7 @@ set_field_parse__(char *arg, struct ofpbuf *ofpacts,
|
||||
return xasprintf("%s is not a valid value for field %s", value, key);
|
||||
}
|
||||
|
||||
*usable_protocols &= mf->usable_protocols;
|
||||
*usable_protocols &= mf->usable_protocols_exact;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user