IB/ipoib: Use ib_init_ah_from_path to initialize ah_attr
authorSean Hefty <sean.hefty@intel.com>
Thu, 5 Apr 2007 18:50:11 +0000 (11:50 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 24 Apr 2007 23:31:12 +0000 (16:31 -0700)
commit46f1b3d7aff99ef4c1e729e023b9c8ee51de5973
treef627ca5c470e4092912335d2f8bb011df63293a2
parentd0e7bb141837db620f24406ca8b4667424138d42
IB/ipoib: Use ib_init_ah_from_path to initialize ah_attr

To support destinations that are not on the local IB subnet, IPoIB
should include the GRH information when constructing an address
handle.  Using the existing ib_init_ah_from_path() call will do this
for us.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c