aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb3/iwch_qp.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2008-01-21 14:42:11 -0600
committerRoland Dreier <rolandd@cisco.com>2008-01-25 14:17:45 -0800
commitd08ca26ceec4dfbcfdbada4ad728db742ccaecd1 (patch)
tree15c79eb89ce17fcb2b96f1497e52c352d433b0ff /drivers/infiniband/hw/cxgb3/iwch_qp.c
parentRDMA/cxgb3: Flush the receive queue when closing (diff)
downloadlinux-dev-d08ca26ceec4dfbcfdbada4ad728db742ccaecd1.tar.xz
linux-dev-d08ca26ceec4dfbcfdbada4ad728db742ccaecd1.zip
RDMA/cxgb3: Fix page shift calculation in build_phys_page_list()
The existing logic incorrectly maps this buffer list: 0: addr 0x10001000, size 0x1000 1: addr 0x10002000, size 0x1000 To this bogus page list: 0: 0x10000000 1: 0x10002000 The shift calculation must also take into account the address of the first entry masked by the page_mask as well as the last address+size rounded up to the next page size. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions