|
3 | 3 | * Copyright (c) 2014-2015 Intel, Inc. All rights reserved. |
4 | 4 | * Copyright (c) 2015 Los Alamos National Security, LLC. All rights |
5 | 5 | * reserved. |
6 | | - * Copyright (c) 2017 Amazon.com, Inc. or its affiliates. |
| 6 | + * Copyright (c) 2017-2019 Amazon.com, Inc. or its affiliates. |
7 | 7 | * All Rights reserved. |
8 | 8 | * $COPYRIGHT$ |
9 | 9 | * |
@@ -58,14 +58,24 @@ typedef int (*opal_reachable_base_module_fini_fn_t)(void); |
58 | 58 | /* Build reachability matrix between local and remote ethernet |
59 | 59 | * interfaces |
60 | 60 | * |
| 61 | + * @param local_ifs (IN) Local list of opal_if_t objects |
| 62 | + * The opal_if_t objects must be fully populated |
| 63 | + * @param remote_ifs (IN) Remote list of opal_if_t objects |
| 64 | + * The opal_if_t objects must have the following fields populated: |
| 65 | + * uint16_t af_family; |
| 66 | + * struct sockaddr_storage if_addr; |
| 67 | + * uint32_t if_mask; |
| 68 | + * uint32_t if_bandwidth; |
| 69 | + * @return opal_reachable_t The reachability matrix was successfully created |
| 70 | + * @return NULL The reachability matrix could not be constructed |
| 71 | + * |
61 | 72 | * Given a list of local interfaces and remote interfaces from a |
62 | 73 | * single peer, build a reachability matrix between the two peers. |
63 | 74 | * This function does not select the best pairing of local and remote |
64 | 75 | * interfaces, but only a (comparable) reachability between any pair |
65 | 76 | * of local/remote interfaces. |
66 | 77 | * |
67 | | - * @returns a reachable object containing the reachability matrix on |
68 | | - * success, NULL on failure. |
| 78 | + * |
69 | 79 | */ |
70 | 80 | typedef opal_reachable_t* |
71 | 81 | (*opal_reachable_base_module_reachable_fn_t)(opal_list_t *local_ifs, |
|
0 commit comments