summaryrefslogtreecommitdiff
path: root/xenserver
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2020-08-18 16:13:29 +0200
committerIlya Maximets <i.maximets@ovn.org>2020-08-26 11:58:13 +0200
commit79a5251a501d64b04e76c68db50274a7b8ebfc88 (patch)
tree11bfcddd8738acc7ef8ac9ae9235449a1038700b /xenserver
parent00d3374d8d54283428e9cbbf158cbe60a08531f3 (diff)
downloadopenvswitch-79a5251a501d64b04e76c68db50274a7b8ebfc88.tar.gz
test-conntrack: Fix conntrack benchmark by clearing conntrack metadata.
Packets in the benchmark must be treated as new packets, i.e. they should not have conntrack metadata set. Current code will set up 'pkt->md.conn' after the first run and all subsequent calls will hit the 'fast' processing that is intended for recirculated packets making a false impression that current conntrack implementation is lightning fast. Before the change: $ ./ovstest test-conntrack benchmark 4 33554432 32 1 conntrack: 1059 ms After (correct): $ ./ovstest test-conntrack benchmark 4 33554432 32 1 conntrack: 92785 ms Fixes: 594570ea1cde ("conntrack: Optimize recirculations.") Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Acked-by: Aaron Conole <aconole@redhat.com>
Diffstat (limited to 'xenserver')
0 files changed, 0 insertions, 0 deletions