From: Michael Brown Date: Tue, 8 Mar 2016 17:20:28 +0000 (+0000) Subject: [infiniband] Retrieve GID flag from cached path entries X-Git-Tag: v1.20.1~552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=076d77264842d4cdefebf8cc3b19b3292608d43d;p=thirdparty%2Fipxe.git [infiniband] Retrieve GID flag from cached path entries Signed-off-by: Michael Brown --- diff --git a/src/net/infiniband/ib_pathrec.c b/src/net/infiniband/ib_pathrec.c index 4b00f3b96..f846710f2 100644 --- a/src/net/infiniband/ib_pathrec.c +++ b/src/net/infiniband/ib_pathrec.c @@ -258,6 +258,7 @@ int ib_resolve_path ( struct ib_device *ibdev, struct ib_address_vector *av ) { av->lid = cached->path->av.lid; av->rate = cached->path->av.rate; av->sl = cached->path->av.sl; + av->gid_present = cached->path->av.gid_present; DBGC2 ( ibdev, "IBDEV %s cache hit for " IB_GID_FMT "\n", ibdev->name, IB_GID_ARGS ( gid ) ); return 0;