david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[infiniband] Retrieve GID flag from cached path entries

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2016-03-08 17:20:28 +00:00
parent 299fdabe48
commit 076d772648
1 changed files with 1 additions and 0 deletions

View 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;