this ID is, like, totally guaranteed to be absolutely unique. pinky swear. */
| 135 | |
| 136 | /* this ID is, like, totally guaranteed to be absolutely unique. pinky swear. */ |
| 137 | static uint64_t |
| 138 | get_unique_id(void) |
| 139 | { |
| 140 | uint64_t id; |
| 141 | do { |
| 142 | id = rte_rand(); |
| 143 | } while (find_request_by_id(id) != NULL); |
| 144 | return id; |
| 145 | } |
| 146 | |
| 147 | /* secondary will respond to sync requests thusly */ |
| 148 | static int |
no test coverage detected