diff options
author | Andy Zhou <azhou@ovn.org> | 2017-03-09 13:14:27 -0800 |
---|---|---|
committer | Andy Zhou <azhou@ovn.org> | 2017-03-10 17:35:49 -0800 |
commit | b52ac6592fd675b665f8a35acda664b377197ffe (patch) | |
tree | 2316c5c4a71967d5b0a61c938102ede737457a52 /lib/dpif.c | |
parent | bb71c96ef2395e29046df159c6b32c0f35014e91 (diff) | |
download | openvswitch-b52ac6592fd675b665f8a35acda664b377197ffe.tar.gz |
ofproto: Probe for sample nesting level.
Add logics to detect the max level of nesting allowed by the
sample action implemented in the datapath.
Future patch allows xlate code to generate different odp actions
based on this information.
Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'lib/dpif.c')
-rw-r--r-- | lib/dpif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dpif.c b/lib/dpif.c index dad0fcd5e..1760de8ea 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -916,7 +916,7 @@ dpif_probe_feature(struct dpif *dpif, const char *name, nl_actions, nl_actions_size, ufid, NON_PMD_CORE_ID, NULL); if (error) { - if (error != EINVAL) { + if (error != EINVAL && error != EOVERFLOW) { VLOG_WARN("%s: %s flow probe failed (%s)", dpif_name(dpif), name, ovs_strerror(error)); } |