Przeglądaj źródła

[infiniband] Retrieve GID flag from cached path entries

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 lat temu
rodzic
commit
076d772648
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      src/net/infiniband/ib_pathrec.c

+ 1
- 0
src/net/infiniband/ib_pathrec.c Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz