]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Set hop limit in ib_init_ah_from_wc correctly
authorSean Hefty <sean.hefty@intel.com>
Thu, 22 Feb 2007 00:37:31 +0000 (16:37 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 23 Feb 2007 01:54:02 +0000 (17:54 -0800)
commit4ea03cf3b99e3beeed0bcfc7de950e5ea5b167d8
tree0d5267a1401c1d2ad80d48181f9c63b43ec84c3a
parentb296118908bda97dfeeaf61e58be6e95b251252d
IB/core: Set hop limit in ib_init_ah_from_wc correctly

The hop_limit value in the ah_attr should be 0xFF, not the value read
from the received GRH (which should be 0).  See 13.5.4.4 in the 1.2 IB
spec.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/verbs.c