dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/infiniband/hw
Eli Cohen 87afd448b1 IB/mthca: Clear ICM pages before handing to FW
Current memfree FW has a bug which in some cases, assumes that ICM
pages passed to it are cleared.  This patch uses __GFP_ZERO to
allocate all ICM pages passed to the FW.  Once firmware with a fix is
released, we can make the workaround conditional on firmware version.

This fixes the bug reported by Arthur Kepner <akepner@sgi.com> here:
http://lists.openfabrics.org/pipermail/general/2008-May/050026.html

Cc: <stable@kernel.org>
Signed-off-by: Eli Cohen <eli@mellanox.co.il>

[ Rewritten to be a one-liner using __GFP_ZERO instead of vmap()ing
  ICM memory and memset()ing it to 0. - Roland ]

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-06-23 09:29:58 -07:00
..
amso1100 IB/core: Remove IB_DEVICE_SEND_W_INV capability flag 2008-06-09 09:58:42 -07:00
cxgb3 RDMA/cxgb3: Fix uninitialized variable warning in iwch_post_send() 2008-05-16 14:58:40 -07:00
ehca IB/ehca: Reject send WRs only for RESET, INIT and RTR state 2008-06-06 11:21:33 -07:00
ipath IB/ipath: Fix SM trap forwarding 2008-06-06 11:23:29 -07:00
mlx4 IB/mlx4: Fix creation of kernel QP with max number of send s/g entries 2008-05-20 14:00:02 -07:00
mthca IB/mthca: Clear ICM pages before handing to FW 2008-06-23 09:29:58 -07:00
nes RDMA/nes: Fix off-by-one in nes_reg_user_mr() error path 2008-06-10 12:29:49 -07:00