]> git.proxmox.com Git - mirror_ovs.git/commit - NEWS
ofproto-dpif-xlate: Add xlate cache type XC_TABLE.
authorJarno Rajahalme <jarno@ovn.org>
Wed, 14 Sep 2016 23:51:27 +0000 (16:51 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Wed, 14 Sep 2016 23:51:27 +0000 (16:51 -0700)
commita027899ee3e5a65c9253a24be8f8abdd9c47a023
tree486306b267149e9a3731fdab0427b4d6b2f9bc8b
parent901a517e5c8d253928e17a2c90573a1c545a2858
ofproto-dpif-xlate: Add xlate cache type XC_TABLE.

Xlate cache entry type XC_TABLE is required for the table stats
(number of misses and matches) to be correctly attributed.

It appears that table stats have been off ever since xlate cache was
introduced.  This was now revealed by a PACKET_OUT unit test case in a
later patch that checks for table stats explicitly.

Fixes: b256dc52 ("ofproto-dpif-xlate: Cache xlate_actions() effects.")
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
NEWS
ofproto/ofproto-dpif-xlate-cache.c
ofproto/ofproto-dpif-xlate-cache.h
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h