[ovs-git] [openvswitch/ovs] 0de878: lib/dpif-netdev: Integrate megaflow classifier.

GitHub noreply at github.com
Fri Oct 17 16:34:48 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0de8783a9d3a339032b4213b91d66d53f1c0643f
      https://github.com/openvswitch/ovs/commit/0de8783a9d3a339032b4213b91d66d53f1c0643f
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-10-17 (Fri, 17 Oct 2014)

  Changed paths:
    M lib/classifier.c
    M lib/classifier.h
    M lib/dpif-netdev.c
    M lib/flow.c
    M lib/flow.h

  Log Message:
  -----------
  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 at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>




More information about the git mailing list