alistair23-linux/drivers/infiniband/hw
Steve Wise d08ca26cee 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>
2008-01-25 14:17:45 -08:00
..
amso1100 [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
cxgb3 RDMA/cxgb3: Fix page shift calculation in build_phys_page_list() 2008-01-25 14:17:45 -08:00
ehca IB/ehca: Prevent RDMA-related connection failures on some eHCA2 hardware 2008-01-25 14:15:44 -08:00
ipath IB/ipath: Trivial simplification of ipath_make_ud_req() 2008-01-25 14:17:44 -08:00
mlx4 IB/mlx4: Micro-optimize mlx4_ib_poll_one() 2008-01-25 14:15:34 -08:00
mthca IB/mthca: Update latest "native Arbel" firmware revision 2008-01-25 14:17:44 -08:00