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

GitHub noreply at github.com
Tue Feb 3 22:41:28 UTC 2015


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: 0d7bbefe63de42dc39551faebe1089e27d1d0589
      https://github.com/openvswitch/ovs/commit/0d7bbefe63de42dc39551faebe1089e27d1d0589
  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