alistair23-linux/drivers/infiniband/hw/cxgb3
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
..
cxio_dbg.c RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_hal.c IB: Spelling fixes in comments 2008-01-25 14:15:29 -08:00
cxio_hal.h RDMA/cxgb3: cleanups 2007-02-23 13:10:43 -08:00
cxio_resource.c RDMA/cxgb3: cleanups 2007-02-23 13:10:43 -08:00
cxio_resource.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_wr.h RDMA/cxgb3: Endianness annotation for irs field 2008-01-25 14:15:42 -08:00
iwch.c RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
iwch.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
iwch_cm.c RDMA/cxgb3: Make the iw_cxgb3 module parameters writable 2007-10-09 19:59:04 -07:00
iwch_cm.h RDMA/cxgb3: Streaming -> RDMA mode transition fixes 2007-07-09 20:12:26 -07:00
iwch_cq.c RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
iwch_ev.c RDMA/cxgb3: Squelch logging AE errors 2007-03-06 12:50:53 -08:00
iwch_mem.c RDMA/cxgb3: Fix page shift calculation in build_phys_page_list() 2008-01-25 14:17:45 -08:00
iwch_provider.c RDMA/cxgb3: Hold rtnl_lock() around ethtool get_drvinfo call 2008-01-25 14:15:26 -08:00
iwch_provider.h IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
iwch_qp.c RDMA/cxgb3: Flush the receive queue when closing 2008-01-25 14:17:45 -08:00
iwch_user.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile RDMA/cxgb3: cleanups 2007-02-23 13:10:43 -08:00
tcb.h RDMA/cxgb3: Add driver for Chelsio T3 RNIC 2007-02-12 16:16:18 -08:00