Bladeren bron

[infiniband] Retrieve GID flag from cached path entries

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 jaren geleden
bovenliggende
commit
076d772648
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1
    0
      src/net/infiniband/ib_pathrec.c

+ 1
- 0
src/net/infiniband/ib_pathrec.c Bestand weergeven

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

Laden…
Annuleren
Opslaan