diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2017-02-09 11:22:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 22:59:34 -0500 |
commit | 316d4d78cf9b6795b83f97c45368748741df418c (patch) | |
tree | e1a5001b3df43bc608a143fc16c6a7f2ff039807 /tools/perf/util/cache.h | |
parent | dd41d33f0b033885211a5d6f3ee19e73238aa9ee (diff) |
openvswitch: Pack struct sw_flow_key.
struct sw_flow_key has two 16-bit holes. Move the most matched
conntrack match fields there. In some typical cases this reduces the
size of the key that needs to be hashed into half and into one cache
line.
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/cache.h')
0 files changed, 0 insertions, 0 deletions