]> git.proxmox.com Git - ovs.git/commit
dpif-netdev: optmizing emc_processing()
authorAndy Zhou <azhou@ovn.org>
Sat, 30 Jan 2016 01:48:50 +0000 (17:48 -0800)
committerAndy Zhou <azhou@ovn.org>
Tue, 2 Feb 2016 20:01:14 +0000 (12:01 -0800)
commitb89c678b7a267ec004ae292c8f0ee0c3f0ccb6d5
tree5d31ed54c056a9d093452658de6fc637895db367
parent5a2fed48668b8547412bdbae46f28346c9e01abf
dpif-netdev: optmizing emc_processing()

Commit d262ac2c60ce1da7b477737f70e8efd38b32502d introduced a slight
performance drop for the fast path, where every packets hits the
emc cache.  This patch removes that performance drop by only reloading
the key pointer on emc cache miss.

Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/dpif-netdev.c