mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 00:35:33 +00:00
meta-flow: Compact struct field_array.
struct field_array is included in each ofgroup, but the current implementation is very sparse, using more than 20kb of data. Also loop over 1-bits instead of each and every MF type to make processing faster. Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -1262,6 +1262,9 @@ struct ofputil_group_desc {
|
||||
struct ofputil_group_props props; /* Group properties. */
|
||||
};
|
||||
|
||||
void ofputil_group_properties_destroy(struct ofputil_group_props *);
|
||||
void ofputil_group_properties_copy(struct ofputil_group_props *to,
|
||||
const struct ofputil_group_props *from);
|
||||
void ofputil_bucket_list_destroy(struct ovs_list *buckets);
|
||||
void ofputil_bucket_clone_list(struct ovs_list *dest,
|
||||
const struct ovs_list *src,
|
||||
|
Reference in New Issue
Block a user