[ovs-git] [openvswitch/ovs] 284658: datapath: update exact match lookup hash value to ...

GitHub noreply at github.com
Tue Feb 3 22:35:19 UTC 2015

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 284658876339bc25882c00488749326baa5bf570
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-02-03 (Tue, 03 Feb 2015)

  Changed paths:
    M datapath/flow_table.c

  Log Message:
  datapath: update exact match lookup hash value to avoid hash collision

Currently, the exact match cache lookup uses 'skb->hash' as an index.
In most cases, this value will be the same for pre and post
recirculation lookup, threshing the exact match cache. This patch
avoid this hash collision by using the rehashed value, by mixing in
in the 'recirc_id', as the lookup index.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>

More information about the git mailing list