[ovs-dev] [RFC PATCH v2 0/7] Increase miniflow's capacity.
Jarno Rajahalme
jrajahalme at nicira.com
Fri Jul 10 17:35:18 UTC 2015
Upto now struct miniflow has been limited to 63 64-bit units. This
series increases this capacity to 128 64-bit units. For presimed
performance reasons the new miniflow uses one 64-bit map for tunnel
metadata and another for the rest of the metadata and the fields
extracted from packet headers.
Before making miniflow more complex, this series simplifies it a bit
by always inlining the miniflow data and cleaning up the interface a
bit.
v2 tries to address the slight performance drop in DPDK reported by
Daniele (thanks!). All changes to v1 are in patch 7/7, which will be
squashed into patch 6 before commiting.
Jarno Rajahalme (7):
tests: Check for core files before exiting.
meta-flow: Add a missing break statement.
flow: Always inline miniflows.
match: Single malloc minimatch.
flow: Eliminate miniflow_clone() and minimask_clone().
flow: Split miniflow's map.
dpif-netdev: Bug fix and performance improvement.
lib/classifier-private.h | 125 ++++++++----
lib/classifier.c | 149 ++++++++------
lib/dpif-netdev.c | 122 +++++++-----
lib/flow.c | 482 ++++++++++++++++++++++------------------------
lib/flow.h | 246 ++++++++++++-----------
lib/match.c | 39 ++--
lib/match.h | 12 +-
lib/meta-flow.c | 2 +-
lib/tnl-ports.c | 4 +-
ofproto/ofproto.c | 10 +-
tests/ofproto-macros.at | 6 +-
tests/test-classifier.c | 130 +++++++------
12 files changed, 727 insertions(+), 600 deletions(-)
--
1.7.10.4
More information about the dev
mailing list