diff options
author | Justin Pettit <jpettit@nicira.com> | 2014-04-28 14:25:06 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2014-07-25 12:05:20 -0700 |
commit | 816f3bca9f5d23a0cf3b2ec922382f72b7b1b0d6 (patch) | |
tree | d0c40aa9be6af9ab84fb2d0b93d8152787806861 /lib/odp-execute.c | |
parent | df0e5f55763289e37f90d1f2464423f07478f372 (diff) | |
download | openvswitch-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.c | 4 |
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(); |