1. 04 1月, 2012 1 次提交
  2. 01 11月, 2011 1 次提交
  3. 22 10月, 2011 1 次提交
    • M
      IB/qib: Use RCU for qpn lookup · af061a64
      Mike Marciniszyn 提交于
      The heavy weight spinlock in qib_lookup_qpn() is replaced with RCU.
      The hash list itself is now accessed via jhash functions instead of mod.
      
      The changes should benefit multiple receive contexts in different
      processors by not contending for the lock just to read the hash
      structures.
      
      The patch also adds a lookaside_qp (pointer) and a lookaside_qpn in
      the context.  The interrupt handler will test the current packet's qpn
      against lookaside_qpn if the lookaside_qp pointer is non-NULL.  The
      pointer is NULL'ed when the interrupt handler exits.
      Signed-off-by: NMike Marciniszyn <mike.marciniszyn@qlogic.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      af061a64
  4. 04 8月, 2010 1 次提交
  5. 24 5月, 2010 1 次提交