dpif-netdev: Reset RSS hash when recirculating.
authorDaniele Di Proietto <diproiettod@vmware.com>
Wed, 22 Apr 2015 18:22:52 +0000 (19:22 +0100)
committerEthan Jackson <ethan@nicira.com>
Thu, 21 May 2015 21:00:24 +0000 (14:00 -0700)
commit048963aa8507f3627bf3c9b4cbe4be4a46845b42
tree3125c5e552440621222f3073d5074e6394d29958
parent603f2ce04d000892cc4db841cff7b3b3fc95bb6c
dpif-netdev: Reset RSS hash when recirculating.

Having the same RSS hash after recirculation can cause unnecessary
collisions in the exact match cache.  A simple solution is to rehash it
with the recirculation depth if it is non-zero.

Suggested-by: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/dpif-netdev.c