mirror of https://github.com/ipxe/ipxe.git
[infiniband] Retrieve GID flag from cached path entries
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/46/head
parent
299fdabe48
commit
076d772648
|
@ -258,6 +258,7 @@ int ib_resolve_path ( struct ib_device *ibdev, struct ib_address_vector *av ) {
|
||||||
av->lid = cached->path->av.lid;
|
av->lid = cached->path->av.lid;
|
||||||
av->rate = cached->path->av.rate;
|
av->rate = cached->path->av.rate;
|
||||||
av->sl = cached->path->av.sl;
|
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",
|
DBGC2 ( ibdev, "IBDEV %s cache hit for " IB_GID_FMT "\n",
|
||||||
ibdev->name, IB_GID_ARGS ( gid ) );
|
ibdev->name, IB_GID_ARGS ( gid ) );
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue