commit | e52e6080ca10e0a8ce2a35c86965945cdfa8ed7e | [log] [tgz] |
---|---|---|
author | Tom Tucker <tom@opengridcomputing.com> | Tue Oct 03 09:46:41 2006 -0500 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Oct 10 09:51:13 2006 -0700 |
tree | c76aa076673165e66d905e5271c8deca90329f68 | |
parent | ebf7a227dd1d810203a19642655d2fa293f395dd [diff] |
RDMA/amso1100: Add spinlocks to serialize ib_post_send/ib_post_recv The AMSO driver was not thread-safe in the post WR code and had code that would sleep if the WR post FIFO was full. Since these functions can be called on interrupt level I changed the sleep to a udelay. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>