]> err.no Git - linux-2.6/commit
IB/mthca: Set GRH:HopLimit when building MLX headers
authorRolf Manderscheid <rvm@obsidianresearch.com>
Thu, 17 May 2007 15:45:48 +0000 (09:45 -0600)
committerRoland Dreier <rolandd@cisco.com>
Sat, 19 May 2007 15:51:56 +0000 (08:51 -0700)
commit3f37cae6944de9d380c83f717f73d91ec6255d98
tree4d0fe79986fcffb245dc2c513f796486562cc329
parent1f8f7b7a7b885a0041a21b3d93c507269baf57c8
IB/mthca: Set GRH:HopLimit when building MLX headers

Global CM packets used by rmda_cm were being sent with a GRH:hopLimit
of zero, causing them to be dropped by the router.  The problem is a
missing initialization of the hop_limit field in mthca_read_ah(),
which was called by build_mlx_header() when sending a MAD on QP1.

Signed-off-by: Rolf Manderscheid <rvm@obsidianresearch.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_av.c