[ovs-dev] [PATCH 0/2] Hash only the valid part of the flow key.
Andrew Evans
aevans at nicira.com
Tue Apr 26 01:11:17 UTC 2011
This patch series aims to improve datapath performance by reducing the amount
of flow key data hashed for each packet. The idea was Jesse's -- any bugs are
my own.
I've tested this on IPv4 and IPv6 flows with a WARN_ONCE() that caught some
cases of nonzero data past the presumed end of the flow key.
Andrew Evans (2):
datapath: Rearrange struct sw_flow_key to put optional information
last.
datapath: Hash only the part of struct sw_flow_key populated by
flow_extract().
datapath/datapath.c | 25 ++++--
datapath/flow.c | 233 ++++++++++++++++++++++++++++++++------------------
datapath/flow.h | 67 ++++++++++-----
datapath/tunnel.c | 7 +-
4 files changed, 215 insertions(+), 117 deletions(-)
--
1.7.4.1
More information about the dev
mailing list