]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[infiniband] Retrieve GID flag from cached path entries
authorMichael Brown <mcb30@ipxe.org>
Tue, 8 Mar 2016 17:20:28 +0000 (17:20 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 8 Mar 2016 17:40:52 +0000 (17:40 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/infiniband/ib_pathrec.c

index 4b00f3b96198bf1433f3df693dfa0e634b50b8e6..f846710f23c1cfe8e4ed593ece783a6009d131c2 100644 (file)
@@ -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;