linux/drivers/infiniband/hw
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
..
amso1100 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
cxgb3 RDMA/cxgb3: Don't zero QP attrs when moving to IDLE 2009-04-20 17:00:53 -07:00
ehca IB: Remove __constant_{endian} uses 2009-01-17 17:11:57 -08:00
ipath dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
mlx4 IB/mlx4: Don't overwrite fast registration page list when posting work request 2009-05-07 21:35:13 -07:00
mthca IB/mthca: Fix timeout for INIT_HCA and a few other commands 2009-04-20 21:12:25 -07:00
nes RDMA/nes: Update iw_nes version 2009-04-27 13:46:29 -07:00