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/dpif-netdev.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/dpif-netdev.c')
-rw-r--r-- | lib/dpif-netdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 8422c8975..c5b3a5120 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2343,6 +2343,7 @@ dp_execute_cb(void *aux_, struct dpif_packet **packets, int cnt, case OVS_ACTION_ATTR_POP_MPLS: case OVS_ACTION_ATTR_SET: case OVS_ACTION_ATTR_SAMPLE: + case OVS_ACTION_ATTR_ELEPHANT: case OVS_ACTION_ATTR_UNSPEC: case __OVS_ACTION_ATTR_MAX: OVS_NOT_REACHED(); |