commit | 11d8d645343efba0c975aefe7c2cf3b33c836c75 | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@mellanox.com> | Tue Mar 01 18:52:23 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Thu Mar 03 10:52:58 2016 -0500 |
tree | ee2586a426241d0f1f9e4e9a94572d6c420a0d07 | |
parent | 3d943c9d1cc5ad1825e46291ef5ce627e1b6b660 [diff] |
IB/core: Use GRH when the path hop-limit > 0 According to IBTA spec v1.3 section 12.7.19, QPs should use GRH when the path returned by the SA has hop-limit > 0. Currently, we do that only for the > 1 case, fix that. Fixes: 6d969a471ba1 ('IB/sa: Add ib_init_ah_from_path()') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Doug Ledford <dledford@redhat.com>