diff options
author | Ben Pfaff <blp@nicira.com> | 2010-12-07 12:45:24 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-12-07 12:45:24 -0800 |
commit | 2e4f5fcf3f5837de6805ccad58cd852a7cca595d (patch) | |
tree | 8f225ff82e2948a6514d0cc76b326aa5a00942f1 /lib/nx-match.h | |
parent | 558d80cbfa30f50512dfba23c7bfcb01130a3de8 (diff) |
ofp-util: New abstractions for flow_mod, flow_stats_request.
These will be useful for adding Nicira Extended Match support to ovs-ofctl.
This commit makes ofproto use the new flow_mod abstraction, but not the
new flow and aggregate stats abstraction. The latter takes a bit more
infrastructure that I haven't finished yet.
Diffstat (limited to 'lib/nx-match.h')
-rw-r--r-- | lib/nx-match.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/nx-match.h b/lib/nx-match.h index e02e22b4..ba57f813 100644 --- a/lib/nx-match.h +++ b/lib/nx-match.h @@ -71,4 +71,8 @@ void nxm_execute_reg_load(const struct nx_action_reg_load *, struct flow *); */ #define NXM_MAX_LEN 192 +/* This is my guess at the length of a "typical" nx_match, for use in + * predicting space requirements. */ +#define NXM_TYPICAL_LEN 64 + #endif /* nx-match.h */ |