diff options
author | Hoang-Nam Nguyen <hnguyen@linux.vnet.ibm.com> | 2006-11-20 23:54:12 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-29 15:33:08 -0800 |
commit | 2771e9ed4702e46c3f4c305eb2e047c251c2ad2b (patch) | |
tree | da6ffee90c3725fb84949cf44ea78f8e8c8965c1 /kernel/irq | |
parent | 9ab1ffa8775d9c677b1301cccce8a7d91e5163d0 (diff) | |
download | linux-2771e9ed4702e46c3f4c305eb2e047c251c2ad2b.tar.gz linux-2771e9ed4702e46c3f4c305eb2e047c251c2ad2b.tar.bz2 linux-2771e9ed4702e46c3f4c305eb2e047c251c2ad2b.zip |
IB/ehca: Use WQE offset instead of WQE addr for pending work reqs
This is a patch for ehca to fix a bug in prepare_sqe_to_rts(), which
used WQE address to iterate pending work requests. This might cause
an access violation since the queue pages can not be assumed to follow
each other consecutively. Thus, this patch introduces a few queue
functions to determine WQE offset based on its address and uses WQE
offset to iterate the pending work requests.
Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions