summaryrefslogtreecommitdiff
path: root/lib/odp-execute.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2014-04-28 14:25:06 -0700
committerJustin Pettit <jpettit@nicira.com>2014-07-25 12:05:20 -0700
commit816f3bca9f5d23a0cf3b2ec922382f72b7b1b0d6 (patch)
treed0c40aa9be6af9ab84fb2d0b93d8152787806861 /lib/odp-execute.c
parentdf0e5f55763289e37f90d1f2464423f07478f372 (diff)
downloadopenvswitch-elephant.tar.gz
Initial check-in of kernel-based elephant flow detection.elephant
Areas to work on: - Doesn't populate "elephant-flows" field. - Doesn't properly handle tunnels. - Doesn't have clean way to query elephant table. - Double-check locking. - Should use names instead of number for mechanism. - When changing detection mechanism, should clear old table. - Breaks unit tests
Diffstat (limited to 'lib/odp-execute.c')
-rw-r--r--lib/odp-execute.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/odp-execute.c b/lib/odp-execute.c
index cb89e72fa..0c5a32b08 100644
--- a/lib/odp-execute.c
+++ b/lib/odp-execute.c
@@ -314,6 +314,10 @@ odp_execute_actions__(void *dp, struct dpif_packet **packets, int cnt,
}
break;
+ case OVS_ACTION_ATTR_ELEPHANT:
+ /* xxx This isn't supported in userspace. */
+ break;
+
case OVS_ACTION_ATTR_UNSPEC:
case __OVS_ACTION_ATTR_MAX:
OVS_NOT_REACHED();