Browse Source

[infiniband] Retrieve GID flag from cached path entries

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
076d772648
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/net/infiniband/ib_pathrec.c

+ 1
- 0
src/net/infiniband/ib_pathrec.c View File

@@ -258,6 +258,7 @@ int ib_resolve_path ( struct ib_device *ibdev, struct ib_address_vector *av ) {
258 258
 		av->lid = cached->path->av.lid;
259 259
 		av->rate = cached->path->av.rate;
260 260
 		av->sl = cached->path->av.sl;
261
+		av->gid_present = cached->path->av.gid_present;
261 262
 		DBGC2 ( ibdev, "IBDEV %s cache hit for " IB_GID_FMT "\n",
262 263
 			ibdev->name, IB_GID_ARGS ( gid ) );
263 264
 		return 0;

Loading…
Cancel
Save