1. 27 Aug, 2013 1 commit
    • Andy Zhou's avatar
      openvswitch: optimize flow compare and mask functions · 5828cd9a
      Andy Zhou authored
      Make sure the sw_flow_key structure and valid mask boundaries are always
      machine word aligned. Optimize the flow compare and mask operations
      using machine word size operations. This patch improves throughput on
      average by 15% when CPU is the bottleneck of forwarding packets.
      
      This patch is inspired by ideas and code from a patch submitted by Peter
      Klausler titled "replace memcmp() with specialized comparator".
      However, The original patch only optimizes for architectures
      support unaligned machine word access. This patch optimizes for all
      architectures.
      Signed-off-by: default avatarAndy Zhou <azhou@nicira.com>
      Signed-off-by: default avatarJesse Gross <jesse@nicira.com>
      5828cd9a
  2. 26 Aug, 2013 2 commits
  3. 23 Aug, 2013 13 commits
  4. 22 Aug, 2013 24 commits