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
 		av->lid = cached->path->av.lid;
258
 		av->lid = cached->path->av.lid;
259
 		av->rate = cached->path->av.rate;
259
 		av->rate = cached->path->av.rate;
260
 		av->sl = cached->path->av.sl;
260
 		av->sl = cached->path->av.sl;
261
+		av->gid_present = cached->path->av.gid_present;
261
 		DBGC2 ( ibdev, "IBDEV %s cache hit for " IB_GID_FMT "\n",
262
 		DBGC2 ( ibdev, "IBDEV %s cache hit for " IB_GID_FMT "\n",
262
 			ibdev->name, IB_GID_ARGS ( gid ) );
263
 			ibdev->name, IB_GID_ARGS ( gid ) );
263
 		return 0;
264
 		return 0;

Loading…
Cancel
Save