diff options
author | Michael Brown | 2016-03-08 18:20:28 +0100 |
---|---|---|
committer | Michael Brown | 2016-03-08 18:40:52 +0100 |
commit | 076d77264842d4cdefebf8cc3b19b3292608d43d (patch) | |
tree | 814505809269b2bcb55cf00014cf5b7cd057c301 /src/net | |
parent | [infiniband] Add "ibstat" command (diff) | |
download | ipxe-076d77264842d4cdefebf8cc3b19b3292608d43d.tar.gz ipxe-076d77264842d4cdefebf8cc3b19b3292608d43d.tar.xz ipxe-076d77264842d4cdefebf8cc3b19b3292608d43d.zip |
[infiniband] Retrieve GID flag from cached path entries
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/infiniband/ib_pathrec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/infiniband/ib_pathrec.c b/src/net/infiniband/ib_pathrec.c index 4b00f3b9..f846710f 100644 --- a/src/net/infiniband/ib_pathrec.c +++ b/src/net/infiniband/ib_pathrec.c @@ -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; |