summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2016-03-01 19:52:23 +0300
committerLuis Henriques <luis.henriques@canonical.com>2016-03-24 13:01:06 +0300
commit901a7ae3f69a42600fa6f9adfc5eb1cf68241d27 (patch)
treedfbe12ccbd86680fcc6ecf5aea5e14d124345a5c /net
parent9d313c1228dcae92c47297e7380d183662966e9b (diff)
downloadlinux-901a7ae3f69a42600fa6f9adfc5eb1cf68241d27.tar.xz
IB/core: Use GRH when the path hop-limit > 0
commit 11d8d645343efba0c975aefe7c2cf3b33c836c75 upstream. 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> [ luis: backported to 3.16: adjusted context ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions