diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2016-04-22 19:40:09 -0700 |
---|---|---|
committer | Jarno Rajahalme <jarno@ovn.org> | 2016-05-16 17:47:54 -0700 |
commit | 59936df6f45cf554ca201a08d8335af04d82a82c (patch) | |
tree | ac4a22713cccfcd47f969e48b4000155f27409be /datapath-windows/ovsext/Driver.c | |
parent | 1c4dd4246c2776a58b5c5a78db0d5581edf4205b (diff) | |
download | openvswitch-59936df6f45cf554ca201a08d8335af04d82a82c.tar.gz |
classifier: Use ccmaps for staged lookup indices.
Use the new ccmap type instead of cmap for staged lookup indices to
fix the problem with slow removal of rules with large number of
duplicates. This was problematic especially when many rules shared
the same match in packet metadata (e.g., a port number, but nothing
else), causing a large number of duplicates to be inserted into the
staged lookup index. ccmap only keeps the count of inserted (hash)
values, so duplicates do not add any performance penalty.
Reported-by: Alok Kumar Maurya <alok-kumar.maurya@hpe.com>
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Driver.c')
0 files changed, 0 insertions, 0 deletions