linux/drivers/infiniband/hw/qib
Harish Chegondi 1cefc2cd20 IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead
Add calls to rcu_read_lock()/rcu_read_unlock() as rvt_lookup_qpn callers
must hold the rcu_read_lock before calling and keep the lock until the
returned qp is no longer in use.

Remove lookaside qp and some qp refcount atomics in the sdma send code
that is redundant with the s_dma_busy refcount, which will also stall
the state processing to the reset state.

Change the qpn hash function to hash_32 which is hash function used
in rvt_lookup_qpn. qpn_hash function would be eliminated in later patches.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-10 20:37:33 -05:00
..
Kconfig IB/qib: Begin to use rdmavt for verbs 2016-03-10 20:37:15 -05:00
Makefile IB/qib: Remove srq functionality 2016-03-10 20:37:33 -05:00
qib_6120_regs.h
qib_7220_regs.h
qib_7220.h IB/qib: Eliminate 64-bit jiffies use 2012-01-03 20:52:12 -08:00
qib_7322_regs.h IB/qib: Mask hardware error during link reset 2010-07-06 14:13:20 -07:00
qib_common.h IB/qib: Use rdmavt lid defines in qib 2016-03-10 20:37:17 -05:00
qib_debugfs.c IB/qib: Fix checkpatch warnings 2015-02-20 09:04:09 -08:00
qib_debugfs.h IB/qib: Convert opcode counters to per-context 2013-06-21 17:19:50 -07:00
qib_diag.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_dma.c IB/qib: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads 2014-04-01 11:16:31 -07:00
qib_driver.c IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead 2016-03-10 20:37:33 -05:00
qib_eeprom.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_file_ops.c mm: mark most vm_operations_struct const 2015-09-10 13:29:01 -07:00
qib_fs.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
qib_iba6120.c IB/qib: Remove ibport and use rdmavt version 2016-03-10 20:37:21 -05:00
qib_iba7220.c IB/qib: use arch_phys_wc_add() 2015-05-05 09:18:02 -04:00
qib_iba7322.c IB/qib: Remove create and free mad agents 2016-03-10 20:37:28 -05:00
qib_init.c IB/qib: Remove completion queue data structures and functions from qib 2016-03-10 20:37:29 -05:00
qib_intr.c IB/qib: Begin to use rdmavt for verbs 2016-03-10 20:37:15 -05:00
qib_keys.c IB/qib: Remove qp and mr functionality from qib 2016-03-10 20:37:18 -05:00
qib_mad.c IB/qib: Remove create and free mad agents 2016-03-10 20:37:28 -05:00
qib_mad.h IB/core: Add core header changes needed for OPA 2015-08-28 22:54:50 -04:00
qib_pcie.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_pio_copy.c
qib_qp.c IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead 2016-03-10 20:37:33 -05:00
qib_qsfp.c IB/qib: Minor fixes to qib per SFF 8636 2015-12-07 16:36:00 -05:00
qib_qsfp.h IB/qib: Eliminate 64-bit jiffies use 2012-01-03 20:52:12 -08:00
qib_rc.c IB/qib: Use rdmavt version of post_send 2016-03-10 20:37:29 -05:00
qib_ruc.c IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead 2016-03-10 20:37:33 -05:00
qib_sd7220.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_sdma.c IB/qib: Use rdmavt version of post_send 2016-03-10 20:37:29 -05:00
qib_sysfs.c IB/qib: Remove ibport and use rdmavt version 2016-03-10 20:37:21 -05:00
qib_twsi.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_tx.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_uc.c IB/qib: Use rdmavt version of post_send 2016-03-10 20:37:29 -05:00
qib_ud.c IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead 2016-03-10 20:37:33 -05:00
qib_user_pages.c IB/qib: Change get_user_pages() usage to always NULL vmas 2014-09-19 10:03:27 -07:00
qib_user_sdma.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_user_sdma.h
qib_verbs.c IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead 2016-03-10 20:37:33 -05:00
qib_verbs.h IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead 2016-03-10 20:37:33 -05:00
qib_wc_ppc64.c
qib_wc_x86_64.c IB/qib: fix test of unsigned variable 2015-05-12 13:55:41 -04:00
qib.h IB/qib: Remove qib_lookup_qpn and use rvt_lookup_qpn instead 2016-03-10 20:37:33 -05:00