kernel-fxtec-pro1x/drivers/infiniband/hw/mlx4
Jack Morgenstein 2b6b7d4be4 IB/mlx4: Don't overwrite fast registration page list when posting work request
The low-level mlx4 driver modified the page-list addresses for fast
register work requests post send to big-endian, and set a "present"
bit.  This caused problems later when the consumer attempted to unmap
the pages using the page-list (using the list addresses which were
assumed to be still in CPU-endian order).  Fix the mlx4 driver to
allocate two buffers and use a private buffer for the hardware-format
bus addresses.

This patch fixes <https://bugs.openfabrics.org/show_bug.cgi?id=1571>,
an NFS/RDMA server crash.  The cause of the crash was found by Vu Pham
of Mellanox.  The fix is along the lines suggested by Steve Wise in
comment #21 in bug 1571.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-05-07 21:35:13 -07:00
..
ah.c
cq.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
doorbell.c IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
mad.c IB/mlx4: Fix dispatch of IB_EVENT_LID_CHANGE event 2009-01-28 14:54:35 -08:00
main.c IB/mlx4: Use pgprot_writecombine() for BlueFlame pages 2009-03-30 08:31:05 -07:00
Makefile
mlx4_ib.h IB/mlx4: Don't overwrite fast registration page list when posting work request 2009-05-07 21:35:13 -07:00
mr.c IB/mlx4: Don't overwrite fast registration page list when posting work request 2009-05-07 21:35:13 -07:00
qp.c IB/mlx4: Don't overwrite fast registration page list when posting work request 2009-05-07 21:35:13 -07:00
srq.c mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00
user.h mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00