commit | 9fd5473deb421eb7e5575a5f9d7e43ca67c04fe9 | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | Fri Sep 23 13:17:00 2011 -0400 |
committer | Roland Dreier <roland@purestorage.com> | Fri Oct 21 09:38:57 2011 -0700 |
tree | cf4314fee9e1e4f501ac1114ed200c004ebadf91 | |
parent | d0f2faf72d51dacf5c5e8dec7dca22d0395896e2 [diff] |
IB/qib: Remove s_lock around header validation Review of qib_ruc_check_hdr() shows that the s_lock is not required in the normal case. The r_lock is held in all cases, and protects the qp fields that are read. The s_lock will be needed to around the call to qib_migrate_qp() to insure that the send engine sees a consistent set of fields. Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com> Signed-off-by: Roland Dreier <roland@purestorage.com>