]> git.proxmox.com Git - ovs.git/commit
lib/dpif-netdev: Integrate megaflow classifier.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 17 Oct 2014 16:37:11 +0000 (09:37 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 17 Oct 2014 16:37:11 +0000 (09:37 -0700)
commit0de8783a9d3a339032b4213b91d66d53f1c0643f
tree79e548f04ed18a1e305315765e246a9d2afab8b3
parent965f980af65697f6eac143290f45b8cfaee3ac49
lib/dpif-netdev: Integrate megaflow classifier.

Megaflow inserts and removals are simplified:

- No need for classifier internal mutex, as dpif-netdev already has a
  'flow_mutex'.
- Number of memory allocations/frees can be halved.
- Lookup code path can rely on netdev_flow_key always having inline data.

This will also be easier to simplify further when moving to per-thread
megaflow classifiers in the future.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
lib/classifier.c
lib/classifier.h
lib/dpif-netdev.c
lib/flow.c
lib/flow.h